1. wget http://downloads.sourceforge.net/tcl/tcl8.6.1-src.tar.gz
2. sudo tar xzvf tcl8.6.1-src.tar.gz -C /usr/local/
3. cd /usr/local/tcl8.6.1/unix/
2. sudo tar xzvf tcl8.6.1-src.tar.gz -C /usr/local/
3. cd /usr/local/tcl8.6.1/unix/
yum install gcc
4. sudo ./configure
5. sudo make
6. sudo make install
yum install tcl jemalloc-devel -y
cd /tmp
wget http://download.redis.io/releases/redis-3.2.4.tar.gz
tar zxvf redis-3.2.4.tar.gz
cd redis-3.2.4/
make
taskset -c 0 make test
make install
cp redis.conf /etc
wget http://download.redis.io/releases/redis-3.2.4.tar.gz
tar zxvf redis-3.2.4.tar.gz
cd redis-3.2.4/
make
taskset -c 0 make test
make install
cp redis.conf /etc
echo "[Unit]
Description=Redis
After=syslog.target network.target remote-fs.target nss-lookup.target
[Service]
Type=forking
PIDFile=/var/run/redis_6379.pid
ExecStart=/usr/local/bin/redis-server /etc/redis.conf
ExecStop=/usr/local/bin/redis-cli -p 6397 shutdown
[Install]
WantedBy=multi-user.target
">>/usr/lib/systemd/system/redis.service
systemctl enable redis
systemctl start redis
systemctl status redis