백지부터 시작하는 이세계 코딩 생활
sudo apt install redis-server 본문
redis-server 설치
$ sudo apt install redis-server
redis-server 재시작
$ sudo systemctl restart redis-server
버전확인
$ redis-server --version
Redis server v=4.0.9 sha=00000000:0 malloc=jemalloc-3.6.0 bits=64 build=9435c3c2879311f3
시작 명령어 결과
root@ada-vm-account:/# sudo systemctl status redis-server
● redis-server.service - Advanced key-value store
Loaded: loaded (/lib/systemd/system/redis-server.service; enabled; vendor preset: enabled)
Active: 'active (running)' since Thu 2021-07-22 12:34:10 KST; 1h 31min ago
Docs: http://redis.io/documentation,
man:redis-server(1)
Process: 62974 ExecStop=/bin/kill -s TERM $MAINPID (code=exited, status=0/SUCCESS)
Process: 62978 ExecStart=/usr/bin/redis-server /etc/redis/redis.conf (code=exited, status=0/SUCCESS)
Main PID: 63005 (redis-server)
Tasks: 4 (limit: 4619)
CGroup: /system.slice/redis-server.service
└─63005 /usr/bin/redis-server 0.0.0.0:6379
Jul 22 12:34:10 ada-vm-account systemd[1]: Starting Advanced key-value store...
Jul 22 12:34:10 ada-vm-account systemd[1]: redis-server.service: Can not open PID file /var/run/redis/redis-server.pid (yet?) after start: No such file or directory
Jul 22 12:34:10 ada-vm-account systemd[1]: Started Advanced key-value store.
Error ) Ref. 참조
dpkg: warning: files list file for package 'sudo' missing; assuming package has no files currently installed
Ref.
> redis-server install 에러 해결방법
https://www.programmersought.com/article/56805244827/
> redis-server install 안내
https://ko.joecomp.com/how-install-configure-redis-ubuntu-18
'Service || Server > Redis' 카테고리의 다른 글
Redis 특징 (0) | 2021.05.24 |
---|
Comments