伺服器重啟

人在代码在發表於2024-05-22


jenkins: 進入:/mnt/data/soft/apache-tomcat-9.0.64/bin 目錄:執行./startup.sh命令
mysql:service mysqld restart


kafka啟動命令 ./bin/kafka-server-start.sh -daemon ./config/server.properties

zookeeper啟動命令 ./bin/zookeeper-server-start.sh -daemon ./config/zookeeper.properties


kafka-manage啟動命令nohup bin/kafka-manager -Dconfig.file=conf/application.conf -Dhttp.port=9102 &


redis叢集啟動:


先啟動單個節點

redis-cli -a password --cluster create 117.78.31.190:6380 117.78.31.190:6381 117.78.31.190:6382 117.78.31.190:6383 117.78.31.190:6384 117.78.31.190:6385 --cluster-replicas 1

然後建立叢集


nginx啟動:
指定配置檔案啟動:
./nginx -c /etc/nginx/nginx.conf

./nginx -s reload

相關文章