-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathINSTALL
65 lines (49 loc) · 1.69 KB
/
INSTALL
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
Installation Instructions for Enterprise Linux 6
================================================
.. WARNING::
These are **very** quick and **very** dirty installation instructions.
#. cat > /etc/yum.repos.d/elasticsearch-1.1.repo<<EOF
[elasticsearch-1.1]
name=Elasticsearch repository for 1.1.x packages
baseurl=http://packages.elasticsearch.org/elasticsearch/1.1/centos
gpgcheck=1
gpgkey=http://packages.elasticsearch.org/GPG-KEY-elasticsearch
enabled=1
EOF
#. cat > /etc/yum.repos.d/home:vanmeeuwen:lesb.repo<<EOF
[home_vanmeeuwen_lesb]
name=Logstash, Elastic Search and Bonnie packages (CentOS_6)
type=rpm-md
baseurl=http://obs.kolabsys.com:82//home:/vanmeeuwen:/lesb/CentOS_6/
gpgcheck=1
gpgkey=http://obs.kolabsys.com:82//home:/vanmeeuwen:/lesb/CentOS_6/repodata/repomd.xml.key
enabled=1
EOF
#. yum install \
elasticsearch \
python-elasticsearch \
python-nosetests \
python-zmq \
python-twisted-core
#. chmod 755 /root/
#. ln -s $(pwd)/conf /etc/bonnie
#. cat>>/etc/imapd.conf<<EOF
debug: 1
iolog: 1
auditlog: 1
chatty: 1
event_content_inclusion_mode: standard
event_content_size: 0
event_extra_params: bodyStructure clientAddress diskUsed flagNames messageSize messages modseq service timestamp uidnext vnd.cmu.midset vnd.cmu.unseenMessages vnd.cmu.envelope vnd.fastmail.clientId vnd.fastmail.sessionId vnd.fastmail.cid vnd.cmu.mbtype
event_groups: message quota flags access mailbox
event_notifier: external
sievenotifier: external
notify_external: /root/bonnie.git/dealer.py
EOF
#. service cyrus-imapd restart
#. chkconfig --add elasticsearch
#. service elasticsearch start
#. cd /root/bonnie.git
#. ./broker.py &
#. ./worker.py &
#. ./collector.py &