08335 / hivui-platform-template
hivui平台项目模板
Newer
Older
hivui-platform-template / 文档 / 服务器操作.txt
caibinghong on 11 Mar 2022 add
# nginx 目录
/usr/local/nginx/sbin

# 4.110 进入docker
docker exec -it eap-hirun-dev /bin/bash

# 启动配置好的pm2
pm2 resurrect



# pm2 路径 dump.pm2
cd /root/.pm2/



-----------------------------------------------------
方法一:查看进程列表(条件过滤)
ps -ef | grep nginx

方法二:直接查看进程pid
ps -C nginx -o pid

方法三:通过端口判断
netstat -anp | grep :80

方法四:使用lsof命令来查看80端口是否有程序在运行
lsof -i:80



1、查看nginx 是否启动
ps -ef | grep nginx

2、主程序的 nginx 配指定端口启动  8001
查看 ip 映射情况

3、