Redis Server Installation
To install Redis Server standalone (separately from Control Panel box) with the installer:
Install OnApp's YUM repository:
# rpm -Uvh http://rpm.repo.onapp.com/repo/onapp-repo.noarch.rpm
Install the
onapp-redis
package:# yum -y install onapp-redis
Run the installer:
# /onapp/onapp-redis/onapp-redis.sh
The following example will install Redis Server, configure access to it from any (including external boxes) and set random password:
# /onapp/onapp-redis/onapp-redis.sh --host=REDIS_HOST --passwd
where, REDIS_HOST - IP address of the interface for Redis to bind. Default is 127.0.0.1.
The ready to use credentials.yml could be used to configure OnApp's Control Panel access.
# cat /onapp/onapp-redis/credentials.yml --- host: 'REDIS_HOST' port: 6379 path: '/var/run/redis/redis.sock' password: 'PASSWORD'
Just run the CP's installer with the following options (REDIS_HOST - remote Redis Server standalone IP address):
# /onapp/onapp-cp-install/onapp-cp-install.sh --redis-host=REDIS_HOST --redis-passwd='PASSWORD'