InfluxDB Installation on CentOS 6
InfluxDB is an open-source, distributed, time series database with no external dependencies. In this documentation, I will show how to install InfluxDB on CentOS 6.
Download InfluxDB
wget https://s3.amazonaws.com/influxdb/influxdb-latest-1.x86_64.rpm
Install InfluxDB
sudo rpm -ivh influxdb-latest-1.x86_64.rpm
Enable and start InfluxDB service
sudo chkconfig influxdb on
sudo service influxdb start
Reference: http://influxdb.com/download/
Fluent Treasure Data (TD) Agent Installation on CentOS 6
Fluentd is an open source data collector, which lets you unify the data collection and consumption for a better use and understanding of data. In this documentation, I will show how to install fluentd (td-agent) on CentOS 6.
Pre-installation: increase number of maximum file descriptors
ulimit -n
sudo vi /etc/security/limits.conf
* soft nofile 65535
* hard nofile 65535
root soft nofile unlimited
root hard nofile unlimited
sudo reboot
Pre-installation: network kernel optimization
Elasticsearch on CentOS 6
Elasticsearch is a distributed restful search and analytics. In this documentation, I will show how to install Elasticsearch on CentOS 6.
Install Oracle Java
wget --header "Cookie: oraclelicense=accept-securebackup-cookie" http://download.oracle.com/otn-pub/java/jdk/8u31-b13/server-jre-8u31-linux-x64.tar.gz
sudo mkdir /opt/jre
sudo tar zxf server-jre-8u31-linux-x64.tar.gz -C /opt/jre
sudo update-alternatives --install /usr/bin/java java /opt/jre/jdk1.8.0_31/bin/java 2000
sudo update-alternatives --install /usr/bin/javac javac /opt/jre/jdk1.8.0_31/bin/javac 2000
sudo update-alternatives --display java
sudo update-alternatives --display javac
Import Elasticsearch GPG key
sudo rpm --import https://packages.elasticsearch.org/GPG-KEY-elasticsearch
Add Elasticsearch repository
Varnish 4 on CentOS 6
Varnish Cache is a web application accelerator also known as a caching HTTP reverse proxy. You install it in front of any server that speaks HTTP and configure it to cache the contents. Varnish Cache is really, really fast. It typically speeds up delivery with a factor of 300 - 1000x, depending on your architecture. In this documentation, I will show how to install Varnish 4 on CentOS 6.
For first installation install Varnish repository
RVM for Managing Ruby Version on CentOS 6
RVM is a command-line tool which allows you to easily install, manage, and work with multiple ruby environments from interpreters to sets of gems. In this documentation I will show how to install RVM on CentOS 6.6.
Install Development Tools
sudo yum groupinstall "Development Tools"
Install mpapis public key
sudo gpg2 --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3
or if failed
curl -sSL https://rvm.io/mpapis.asc | sudo gpg2 --import -
Install RVM for multiuser installation
Redis on CentOS 6
Redis is an open source, BSD licensed, advanced key-value cache and store. It is often referred to as a data structure server since keys can contain strings, hashes, lists, sets, sorted sets, bitmaps and hyperloglogs. In this documentation, I will show how to install Redis on CentOS 6.
Install Development Tools
sudo yum groupinstall "Development Tools"
Download and extract latest Redis package from http://redis.io/
wget http://download.redis.io/releases/redis-2.8.19.tar.gz
tar zxf redis-2.8.19.tar.gz
Go to redis directory and run make