-
sudo vim /etc/security/limits.conf
(append to EOF)
root soft nofile 65536 root hard nofile 65536
- soft nofile 65536
- hard nofile 65536
- `sudo vim /etc/sysctl.conf` (append to EOF)
net.ipv4.tcp_tw_recycle = 1 net.ipv4.tcp_tw_reuse = 1 net.ipv4.ip_local_port_range = 10240 65535
- `sudo reboot`
##### system dependencies
- os
sudo apt-get -y install ntpdate python2.7 mongodb-server mongodb-dev python-pip
- ruby
```sudo apt-add-repository ppa:brightbox/ruby-ng
sudo apt-get update
sudo apt-get -y install ruby2.2 ruby2.2-dev
-
python
sudo pip install -U pip
- fluentd
curl -L https://toolbelt.treasuredata.com/sh/install-ubuntu-trusty-td-agent2.sh | sh sudo td-agent-gem install fluent-plugin-parser fluent-plugin-geoip fluent-plugin-multiprocess
##### fluentd multiprocessing setup
for i in
##### application dependencies
- aggregator.py
sudo pip install -U pip sudo pip install boto
#### influxdb setup
#### grafana setup
- install grafana
echo -e "deb https://packagecloud.io/grafana/stable/debian/ wheezy main" | sudo tee -a /etc/apt/sources.list curl https://packagecloud.io/gpg.key | sudo apt-key add - sudo apt-get update sudo apt-get install grafana sudo service grafana-server restart
- log into the admin dashboard at [http://localhost:3000](http://localhost:3000) with user and password `admin`
##### configuration
- http://docs.grafana.org/installation/debian/
- [http://docs.grafana.org/installation/configuration/](http://docs.grafana.org/installation/configuration/)
- http://docs.grafana.org/datasources/influxdb/