GitBucket
4.6.0
Toggle navigation
Sign in
Files
Branches
1
Tags
Issues
Pull Requests
Labels
Milestones
Wiki
08335
/
hivui-platform-template
hivui平台项目模板
Browse code
add
master
1 parent
be2f963
commit
3407f9ddbe80c77e7edadf2741f45f2f28c19f91
caibinghong
authored
on 13 Apr 2022
Showing
1 changed file
doc/服务器操作.txt
Ignore Space
Show notes
View
doc/服务器操作.txt
# nginx 目录 /usr/local/nginx/sbin # 4.110 进入docker docker exec -it eap-hirun-dev /bin/bash docker restart a72f0329661c # 启动配置好的pm2 pm2 resurrect 查看docker列表 docker ps -a # 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、 --------------------------- 跨服务拷贝 rsync -auvz --exclude "backups" --exclude "history" /eap5.0/desktop/preview/0000221/cms/deploy/dist/0000221/cms root@192.168.4.193:/opt/eap5/cms/hiruntime/static/render/0000221/ ----------------------------- 杀死所有node 进程 ps -ef|grep node|grep -v grep|cut -c 9-15|xargs kill -9 http://git.hieap.cn/ http://192.168.4.105:9090/gitbucket/ docker日志目录 /var/lib/docker/containers
# nginx 目录 /usr/local/nginx/sbin # 4.110 进入docker docker exec -it eap-hirun-dev /bin/bash docker restart a72f0329661c # 启动配置好的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、 --------------------------- 跨服务拷贝 rsync -auvz --exclude "backups" --exclude "history" /eap5.0/desktop/preview/0000221/cms/deploy/dist/0000221/cms root@192.168.4.193:/opt/eap5/cms/hiruntime/static/render/0000221/ ----------------------------- 杀死所有node 进程 ps -ef|grep node|grep -v grep|cut -c 9-15|xargs kill -9 http://git.hieap.cn/ http://192.168.4.105:9090/gitbucket/ docker日志目录 /var/lib/docker/containers
Show line notes below