linux 服务相关
pg_dump -h 127.0.0.1 -U postgres diqiusuo > C:\Users\Administrator\Desktop\diqiusuo\diqiusuo.bak
psql -h localhost -U postgres -d diqiusuo2 < D:\zhanghaifeng20190520\xiangmu\156影像推送系统\文档\数据迁移到linux\推送系统\数据库\diqiusuo.bak
psql -h 103.31.53.234 -p 15432 -U ship -d diqiusuo < D:\zhanghaifeng20190520\xiangmu\156影像推送系统\文档\数据迁移到linux\推送系统\数据库\diqiusuo.bak
sudo psql -h 103.31.53.234 -p 15432 -U postgres -d diqiusuo < /data/thrc_zhf/sanwei/Tianhetuisong156/文件备份/数据迁移到linux/推送系统/数据库/diqiusuo.bak
psql -h 103.31.53.234 -p 15432 -U postgres -d tianheairdata < D:\zhanghaifeng20190520\xiangmu\156影像推送系统\文档\数据迁移到linux\推送系统\数据库\tianheairdata.bak
su postgres
psql
drop database diqiusuo
create database diqiusuo with encoding='UTF8' limit = 100
\q
java -Dconfig=config.json -jar gis3dserver-0.0.1-SNAPSHOT-shaded.jar
http://103.31.53.234
ln -s /data/thrc_zhf/sanwei/node/node-v10.16.0-linux-x64/bin/npm /usr/local/bin/
ln -s /data/thrc_zhf/sanwei/node/node-v10.16.0-linux-x64/bin/node /usr/local/bin/
chmod 755 /usr/local/bin/node
chmod 755 /usr/local/bin/npm
cd /data/thrc_zhf/sanwei/Tianhetuisong156/backups/backupslinux/air/gis3dserver/AIS3dserver
nohup node /data/thrc_zhf/sanwei/Tianhetuisong156/backups/backupslinux/air/gis3dserver/AIS3dserver/app.js &
nohup command & node app &
java -jar /data/thrc_zhf/sanwei/Tianhetuisong156/backups/backupslinux/air/gis3dserver/gis3dserver-0.0.1-SNAPSHOT.jar
cd /data/thrc_zhf/sanwei/Tianhetuisong156/backups/backupslinux/air/gis3dserver
nohup java -jar /data/thrc_zhf/sanwei/Tianhetuisong156/backups/backupslinux/air/gis3dserver/gis3dserver-0.0.1-SNAPSHOT.jar &
cd /data/thrc_zhf/release/156tuisong/server
nohup java -jar /data/thrc_zhf/release/156tuisong/server/gis3dserver-0.0.1-SNAPSHOT.jar &
cd /data/thrc_zhf/sanwei/Tianhetuisong156/backups/backupslinux/air/gis3dserver/AIS3dserver
nohup node app &
ps -ef|grep nginx ==查看进程号
kill -QUIT 12845 ==杀死进程
kill -s 9 12845 ==杀死进程
查看服务器所有端口
netstat -ntlp
=========================================
移动版本推送系统
cd /data/thrc_zhf/sanwei/Tianhetuisong156/backups/backupslinux/air/gis3dserver_mobile
nohup java -jar gis3dserver-0.0.1-SNAPSHOT.jar &
============================================================
两违
nohup python /data/thrc_zhf/lw/shiyouserver/server.py &