|
@@ -0,0 +1,96 @@
|
|
|
+131服务器启动实例
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+新系统的几个服务
|
|
|
+```sh
|
|
|
+ ps -ef|grep EurekaServer
|
|
|
+ ps -ef|grep GatewayServer
|
|
|
+ ps -ef|grep ConfigServer
|
|
|
+
|
|
|
+ ps -ef|grep szwlServer
|
|
|
+ ps -ef|grep payServer
|
|
|
+ ps -ef|grep orderServer
|
|
|
+ ps -ef|grep wxServer
|
|
|
+```
|
|
|
+
|
|
|
+
|
|
|
+```sh
|
|
|
+#1、先启动eureka,gateway,config
|
|
|
+ /app/appsystem/startConfigServer.sh /app/appsystem/springcloud/EurekaServer-0.0.1.jar
|
|
|
+
|
|
|
+ /app/appsystem/startConfigServer.sh /app/appsystem/springcloud/GatewayServer-0.0.1.jar
|
|
|
+
|
|
|
+ /app/appsystem/startConfigServer.sh /app/appsystem/springcloud/ConfigServer-0.0.1.jar
|
|
|
+
|
|
|
+```
|
|
|
+
|
|
|
+```sh
|
|
|
+ #2、启动其它4个微服务项目/app/appsystem/springcloud
|
|
|
+ # 要连起来用
|
|
|
+ /app/appsystem/startSpringCloud.sh /app/appsystem/springcloud/szwlServer-0.0.1.jar
|
|
|
+
|
|
|
+ /app/appsystem/startSpringCloud.sh /app/appsystem/springcloud/payServer-0.0.1.jar
|
|
|
+
|
|
|
+ /app/appsystem/startSpringCloud.sh /app/appsystem/springcloud/orderServer-0.0.1.jar
|
|
|
+
|
|
|
+ /app/appsystem/startSpringCloud.sh /app/appsystem/springcloud/wxServer-0.0.1.jar
|
|
|
+```
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+查看和启动 wxServer 售卖小程序后台
|
|
|
+
|
|
|
+```sh
|
|
|
+/app/appsystem/startSpringCloud.sh /app/appsystem/springcloud/wxServer-0.0.1.jar
|
|
|
+```
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+查看和启动tomcat8,tomcat
|
|
|
+
|
|
|
+```sh
|
|
|
+ps -ef|grep tomcat
|
|
|
+```
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+```sh
|
|
|
+cd /usr/local/tomcat8/apache-tomcat-8.5.54/bin/
|
|
|
+./startup.sh
|
|
|
+
|
|
|
+cd /usr/local/apache-tomcat/bin/
|
|
|
+./startup.sh
|
|
|
+```
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+```sh
|
|
|
+#查看rabbit, redis, nginx
|
|
|
+systemctl status redis
|
|
|
+systemctl status nginx
|
|
|
+systemctl status rabbitmq-server
|
|
|
+```
|
|
|
+
|
|
|
+```sh
|
|
|
+#启动
|
|
|
+systemctl start redis
|
|
|
+systemctl start nginx
|
|
|
+systemctl start rabbitmq-server
|
|
|
+```
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+```sh
|
|
|
+#查看corn任务
|
|
|
+crontab -l
|
|
|
+
|
|
|
+#查看防火墙
|
|
|
+firewall-cmd --list-all
|
|
|
+```
|
|
|
+
|