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
- How to purchase a dedicated server
- 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
- CentOS uses SpeedTest to measure speed
- What is the meaning of servererror500 (there is servererror500 solution)
- IID.HK shares some commonly used IT network online detection websites
- How to view file size in linux
- How to change the password of Windows server 2008 server?
- Centos7 closes and restarts the system firewall and opens firewall ports