<commit_before># Meza1
A repo to collect all our CentOS/RedHat setup info

## Setting up the VirtualBox
Add steps for how to configure the VM. Add info about 32-bit requirement for James' laptop.

Make sure your networks are setup so Adapter 1 is NAT and Adapter 2 is Host-Only. These will correspond to eth0 and eth1, respectively.


## Installing CentOS
Add steps

## Configuring CentOS

See this [running list of notes(CentOS_Notes.md)

### Using yum
Adding a -y option with yum keeps you from having to say "yes" to each install

### Setup networking
vi /etc/sysconfig/network-scripts/ifcfg-eth0

Make sure onboot = yes and ...

### Install wget and Apache
```bash
yum install wget
yum install httpd
```

<commit_msg>added some more while at traclabs<commit_after># Meza1
A repo to collect all our CentOS/RedHat setup info

## Setting up the VirtualBox
Add steps for how to configure the VM. Add info about 32-bit requirement for James' laptop.

Make sure your networks are setup so Adapter 1 is NAT and Adapter 2 is Host-Only. These will correspond to eth0 and eth1, respectively.


## Installing CentOS
Add steps

## Configuring CentOS

See this [running list of notes](CentOS_Notes.md)

### Using yum
Adding a -y option with yum keeps you from having to say "yes" to each install

### Setup networking
Setup your eth0 networking adapter-thing:

```
vi /etc/sysconfig/network-scripts/ifcfg-eth0
```

And make it look like this:

```
DEVICE=eth0
HWADDR=<DEPENDENT ON YOUR SYSTEM>
TYPE=Ethernet
UUID=<DEPENDENT ON YOUR SYSTEM>
ONBOOT=yes
NM_CONTROLLED=no
BOOTPROTO=dhcp
```

Then check your eth1 (the "cat" command will display the contents of your eth1 file)

```
cat /etc/sysconfig/network-scripts/ifcfg-eth1
```

This should be blank. Before adding it, run:

```
ifconfig eth1
```

The text that prints should include a first line including something like:

```
HWaddr 08:00:27:39:12:6C
```

Copy this address somewhere for later. Then create your eth1 config:

```
vi /etc/sysconfig/network-scripts/ifcfg-eth1
```

Add add to it the following, pasting in the hardware address you copied above.

```
DEVICE=eth1
HWADDR=<PASTE YOUR HWADDR HERE>
IPADDR=192.168.56.56
NETMASK=255.255.255.0
TYPE=Ethernet
ONBOOT=yes
NM_CONTROLLED=no
BOOTPROTO=static
```

### Install wget and Apache
```bash
yum install wget
yum install httpd
```


{'fraction_non_alphanumeric': 0.0856898029134533, 'fraction_numerical': 0.023993144815766924, 'mean_word_length': 4.392609699769053, 'pattern_counts': {'":': 0, '<': 6, '<?xml version=': 0, '>': 6, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5053001', 'n_tokens_mistral': 791, 'n_tokens_neox': 737, 'n_words': 313}