티스토리 뷰

설치 준비

아래 링크에서 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!
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
«   2024/05   »
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31
글 보관함