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
- 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 purchase a dedicated server
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 install the system on the game server host?
- linux how to change the user password (linux command to change the password)
- How to view file size in linux
- How to do if phpstudy port 80 is occupied (perfect solution)
- Expand the root directory space of the CentOS system, and expand the home directory space to the root directory
- How to modify the remote port in CentOS 7 and 8