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)
- The php domain name points to ip, how to use the specified ip address to access a server in the url request domain name in curl mode
- Error connecting to MySQL: Cant connect to MySQL server (10060)
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
- centos7 open and close 80 port tutorial
- How to do if phpstudy port 80 is occupied (perfect solution)
- IDGlobal teaches you to disable ICMP protocol on CentOS
- What to do if a cp: omitting directory error occurs in Linux (detailed solution)
- What should I do if the proxy server link fails to respond?
- What to do if the server is compromised (2023 detailed solution)