Hot Article
- Centos7 closes and restarts the system firewall and opens firewall ports
- How IID server uses Xshell to connect to Linux (centos) server
- BT panel forgets the background login URL, and the solution to the security entrance verification failure
- What to do if a cp: omitting directory error occurs in Linux (detailed solution)
- How to confirm whether the ip is blocked or polluted?
- How to change pycharm to Chinese (pycharm set Chinese detailed tutorial)
How to restart the Redis service command
- Author:Sven
- Category:Server Maintain
- Release Time:2022-11-30
This article mainly talks about how Redis restarts the Redis service command, and presents it to you in the form of graphics and code. Let's learn it together with the IID editor!
1. Redis installed with apt get or yum install can be stopped/started/restarted through the following commands:
Stop:/etc/init d/redis-server stop
Start:/etc/init d/redis-server start
Restart:/etc/init d/redis-server restart
2. Redis installed in the source code can be restarted through the shutdown command of the Redis cli client program.
The above is all about how Redis restarts the Redis restart service command. After understanding, I believe you can find out the problem. If you want to know more about technology, please pay attention to INTERNET DATA.
related topic
- How to modify the remote port in CentOS 7 and 8
- How to block foreign IP access on Linux server?
- Several common server port numbers and corresponding services are organized
- What to do if a cp: omitting directory error occurs in Linux (detailed solution)
- CentOS uses SpeedTest to measure speed
- How to install the system on the game server host?