728x90
반응형
For CentOS
yum groupinstall 'Development Tools'
yum install tcl wget
For Debian and Ubuntu
apt-get install build-essential
apt-get install tcl wget
Download and Compile Redis 4
You can easily download the Redis 4 source with the command below:
wget https://codeload.github.com/antirez/redis/tar.gz/4.0-rc3
Extract the file you just downloaded with the command below:
tar xvzf 4.0-rc3
Enter the Redis directory:
cd redis-4.0-rc3/
Run the command below before start compiling:
make distclean
Now we can start compiling:
make
make test
If everything was ok, run the following command:
make install
Install your Redis-server Service:
cd utils
./install_server.sh
Now you can start and test your Redis service.
systemctl start redis_6379
systemctl status redis_6379
For testing your Redis-server you can follow the below instructions:
redis-cli
> set test 'HugeServer'
> get test
You should get “HugeServer” as output, if you get it then you can be sure that your Redis is working properly.
출처 : https://www.hugeserver.com/kb/install-redis-4-centos-ubuntu-debian/
반응형
'엔지니어 > Linux' 카테고리의 다른 글
CentOS (5.x, 6.x)에서 Apache Web Server 2.4.x 설치 (0) | 2017.09.07 |
---|---|
ActiveMQ Install (0) | 2017.09.07 |
Ubuntu 14.04 LTS 에서 Ubuntu 16.04 LTS 업그레이드 (0) | 2017.08.22 |
[CentOS 6.x] bind-9.10.4-P4 설치 (0) | 2017.04.17 |
top 명령어 및 옵션 설명 (0) | 2017.03.15 |