Programming & Solution/Linux
[Linux] Redis 오프라인 설치
GOD동하
2019. 9. 10. 16:26
설치 준비
아래 링크에서 redis stable 버전 다운
https://redis.io/download
ftp로 서버에 다운받은 파일 전송
설치
압축 해제 후 make 파일 실행
tar xzf redis-5.0.5.tar.gz
cd redis-5.0.5
make
install_server.sh 실행
cd utils
./install_server.sh
[계정@host:/work/redis/utils] sudo ./install_server.sh
Welcome to the redis service installer
This script will help you easily set up a running redis server
Please select the redis port for this instance: [6379]
Selecting default: 6379
Please select the redis config file name [/etc/redis/6379.conf] /work/redis/redis.conf
Please select the redis log file name [/var/log/redis_6379.log] /work/redis/log/redis_6379.log
Please select the data directory for this instance [/var/lib/redis/6379] /work/redis/6379
Please select the redis executable path [] /work/redis/src/redis-server
Selected config:
Port : 6379
Config file : /work/redis/redis.conf
Log file : /work/redis/log/redis_6379.log
Data dir : /work/redis/6379
Executable : /work/redis/src/redis-server
Cli Executable : /work/redis/src/redis-cli
Is this ok? Then press ENTER to go on or Ctrl-C to abort.
Copied /tmp/6379.conf => /etc/init.d/redis_6379
Installing service...
Successfully added to chkconfig!
Successfully added to runlevels 345!
Starting Redis server...
Installation successful!