Restart Nacos in Linux: Quick Guide

In Linux, you can restart the Nacos service using the following command:

  1. Navigate to the Nacos installation directory (e.g. /home/nacos):
cd /home/nacos
  1. Stop the nacos service.
sh bin/shutdown.sh
  1. 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.

bannerAds