Restart Nacos in Linux: Quick Guide
In Linux, you can restart the Nacos service using the following command:
- Navigate to the Nacos installation directory (e.g. /home/nacos):
cd /home/nacos
- Stop the nacos service.
sh bin/shutdown.sh
- Start the nacos service:
sh bin/startup.sh -m standalone
This will allow you to restart the Nacos service. If it is in cluster mode, you can execute the same operation on other nodes one by one.