---------软件应用服务启动案例---------
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 

Logo

权威|前沿|技术|干货|国内首个API全生命周期开发者社区

更多推荐