## mobdna线上环境配置 >所有下载的安装包路径:`/usr/develop` >jdk安装路径:`/usr/local/jdk1.8/` >jdk版本:`1.8.0_201` Redis,RDS均为云服务 ####前端使用Nginx部署 >nginx安装路径:`/usr/local/nginx` >nginx配置文件路径:`/usr/local/nginx/conf/nginx.conf` >前端HTML路径:`/data/application/mobdna-h5` >后端jar路径:`/data/application/mobdna` ``` 启动:/usr/local/nginx/sbin 进入sbin,启动Nginx ./nginx 查看是否启动成功 ps -ef | grep nginx # Nginx重载配置 ./nginx -s reload # 测试配置文件是否正确 ./nginx -t -c /usr/local/nginx/conf/nginx.conf # Nginx快速停止服务 ./nginx -s stop # 其他停止方式 # 查询主进程 ps -ef | grep nginx # 找到master进程 # 从容停止 kill -QUIT id # 快速停止 kill -TERM id # 强制停止 kill -9 id ```