Linux环境下服务启动命令汇总
nginx、tomcat、jar、nacos、zookeeper、Influxdb、tomcat等常用服务在Linux环境下启动命令
---------软件应用服务启动案例---------
Nginx代理服务
[root@localhost] /usr/local/nginx/sbin/nginx -c /usr/local/nginx/conf/nginx.conf
Redis缓存启动
[root@localhost] /use/local/redis/bin/redis-server -c /use/local/redis/conf/redis.conf
Nacos服务启动
[root@localhost] sh /tools/nacos/bin/startup.sh -m standalone
Influxd数据库
[root@localhost] nohup /usr/local/influx/influxd -config /etc/influxdb/influxdb.conf &
Zookeeper注册中心
[root@localhost] sh /tools/zookeeper/zookeeper-3.4.12/bin/zkServer.sh start
微服务Jar包
[root@localhost] nohup java -jar /tools/java/jar/hengyuaniot-xxl-job-admin-1.0.0.jar &
日志模式指定
[root@localhost] nohup java -jar xxx.jar > ../logs/xxx_log.log 2>&1 &
Tomcat中间件
[root@localhost] sh /tool/tomcat-8.5/bin/startup.sh start;tail -f /tools/java/tomcat-8.5/logs/catalina.out
更多推荐
所有评论(0)