eGov ERP DevOps
Redis Server
:~$ sudo apt update
:~$ sudo apt-get install redis-server
:~$ whereis redis
redis: /etc/redis
root :/etc/redis# vi redis.conf
root:/etc/redis# systemctl restart redis
root:/etc/redis# systemctl status redis
● redis-server.service - Advanced key-value store
Loaded: loaded (/lib/systemd/system/redis-server.service; enabled; vendor preset: enabled)
Active: active (running) since Thu 2019-03-14 08:24:30 UTC; 12s ago
Docs: http://redis.io/documentation,
man:redis-server(1)
Process: 20487 ExecStopPost=/bin/run-parts --verbose /etc/redis/redis-server.post-down.d (code=exited, status=0/SUCCESS)
Process: 20483 ExecStop=/bin/kill -s TERM $MAINPID (code=exited, status=0/SUCCESS)
Process: 20477 ExecStop=/bin/run-parts --verbose /etc/redis/redis-server.pre-down.d (code=exited, status=0/SUCCESS)
Process: 20523 ExecStartPost=/bin/run-parts --verbose /etc/redis/redis-server.post-up.d (code=exited, status=0/SUCCESS)
Process: 20520 ExecStart=/usr/bin/redis-server /etc/redis/redis.conf (code=exited, status=0/SUCCESS)
Process: 20493 ExecStartPre=/bin/run-parts --verbose /etc/redis/redis-server.pre-up.d (code=exited, status=0/SUCCESS)
Main PID: 20522 (redis-server)
Tasks: 3
Memory: 6.8M
CPU: 39ms
CGroup: /system.slice/redis-server.service
└─20522 /usr/bin/redis-server 0.0.0.0:6379
Mar 14 08:24:30 bihar-impl-uat-az-lb-0 systemd[1]: Starting Advanced key-value store...
Mar 14 08:24:30 bihar-impl-uat-az-lb-0 run-parts[20493]: run-parts: executing /etc/redis/redis-server.pre-up.d/00_example
Mar 14 08:24:30 bihar-impl-uat-az-lb-0 run-parts[20523]: run-parts: executing /etc/redis/redis-server.post-up.d/00_example
Mar 14 08:24:30 bihar-impl-uat-az-lb-0 systemd[1]: Started Advanced key-value store.
DevOps as a Culture