Last active
July 31, 2018 08:50
-
-
Save 5470x3/c7b5833a2a91c0bfde0c88c79f46653c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# zypper in redis | |
# systemctl enable redis@default | |
# vim /etc/systemd/system/redis.target.wants/[email protected] | |
19- WantedBy=multi-user.target redis.target | |
19+ WantedBy=graphical.target multi-user.target redis.target | |
# systemctl daemon-reload | |
# systemctl start redis@default | |
# netstat -tln # <- check that redis is runnning. | |
Active Internet connections (only servers) | |
Proto Recv-Q Send-Q Local Address Foreign Address State | |
tcp 0 0 127.0.0.1:6379 0.0.0.0:* LISTEN | |
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN | |
tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN | |
tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN | |
tcp 0 0 :::1716 :::* LISTEN | |
tcp 0 0 :::22 :::* LISTEN | |
tcp 0 0 ::1:631 :::* LISTEN | |
tcp 0 0 ::1:25 :::* LISTEN | |
# redis-cli | |
127.0.0.1:6379> info | |
# Server | |
redis_version:3.0.4 | |
(snip) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment