<commit_before># Installation

### Clone Repository
```
git clone https://github.com/certtools/intelmq.git /opt/intelmq
```

## Install Dependencies

### Debian-based
```
apt-get install redis-server rabbitmq-server
pip install -r /opt/intelmq/requirements.txt
```

### RedHat-based

**Note:** Install EPEL Repository
```
yum install centos-release-SCL
yum install rabbitmq-server python27
scl enable python27 bash
easy_install pip
pip2.7 install -r /opt/intelmq/requirements.txt
echo "scl enable python27 bash" >> /opt/intelmq/.bashrc

rpm -Uvh http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-6.rpm
yum --enablerepo=remi,remi-test install redis

sudo nano /etc/sysctl.conf
     vm.overcommit_memory=1
 
sysctl -w fs.file-max=100000

chkconfig --add redis
chkconfig --level 345 redis on
service redis start/stop/restart

```
<commit_msg>Update UserGuide.md<commit_after># Installation

### Clone Repository
```
git clone https://github.com/certtools/intelmq.git /opt/intelmq
mv /opt/intelmq/src/conf/bots.conf.default /opt/intelmq/src/conf/bots.conf
mv /opt/intelmq/src/conf/pipeline.conf.default /opt/intelmq/src/conf/pipeline.conf
mv /opt/intelmq/src/conf/system.conf.default /opt/intelmq/src/conf/system.conf
```

## Install Dependencies

### Debian-based
```
apt-get install redis-server rabbitmq-server
pip install -r /opt/intelmq/requirements.txt
```

### RedHat-based

**Note:** Install EPEL Repository
```
yum install centos-release-SCL
yum install rabbitmq-server python27
scl enable python27 bash
easy_install pip
pip2.7 install -r /opt/intelmq/requirements.txt
echo "scl enable python27 bash" >> /opt/intelmq/.bashrc

rpm -Uvh http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-6.rpm
yum --enablerepo=remi,remi-test install redis

sudo nano /etc/sysctl.conf
     vm.overcommit_memory=1
 
sysctl -w fs.file-max=100000

chkconfig --add redis
chkconfig --level 345 redis on
service redis start/stop/restart

```


### Change Configuration

{'fraction_non_alphanumeric': 0.13355201499531397, 'fraction_numerical': 0.02436738519212746, 'mean_word_length': 4.284653465346534, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '461422', 'n_tokens_mistral': 864, 'n_tokens_neox': 771, 'n_words': 162}