Golfreeze.packetlove.com: Life style of Golfreeze Canon400D Family kammtan.com Jazz Freebsd Unix Linux System Admin guitar Music

All about unix linux freebsd and FAQ for Packetlove.com Web hosting , Mail hosting , VoIP + IP PBX server => all application on unix knowledges by golfreeze => Topic started by: golfreeze on พฤศจิกายน 01, 2019, 09:58:08 PM

Title: install redis on centos7 directadmin
Post by: golfreeze on พฤศจิกายน 01, 2019, 09:58:08 PM
wget http://download.redis.io/releases/redis-5.0.6.tar.gz
tar xzf redis-5.0.6.tar.gz
cd redis-5.0.6
make
make test
make install
cd utils
chmod +x install_server.sh
./install_server.sh
Title: Re: install redis on centos7 directadmin
Post by: golfreeze on ธันวาคม 24, 2019, 10:14:57 PM
https://github.com/kbentlage/da-redis-management

==Plugin installation
cd /usr/local/directadmin/plugins
git clone https://github.com/kbentlage/da-redis-management.git redis_management
sh redis_management/scripts/install.sh
==Redis installation
cd /usr/local/directadmin/plugins/redis_management/setup
sh install.sh
Title: Re: install redis on centos7 directadmin
Post by: golfreeze on ธันวาคม 24, 2019, 10:15:11 PM
== on normal redis could install by follow command on directadmin with centos
yum -y install epel-release yum-utils
yum update
yum install redis

vi /etc/redis/redis.conf

maxmemory 256mb
maxmemory-policy allkeys-lru

service redis restart
chkconfig --level 235 redis on
Title: Re: install redis on centos7 directadmin
Post by: golfreeze on พฤษภาคม 26, 2021, 10:54:26 AM
##tunning kernel support high connection for redis
echo never > /sys/kernel/mm/transparent_hugepage/enabled
sysctl -w net.core.somaxconn=65535