Files
order/启动线上服务器
2023-10-23 00:29:29 +08:00

33 lines
916 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
停服务
service nginx stop
killall -s INT /data/www/python3_vir/bin/uwsgi
开服务
source /data/www/python3_vir/bin/activate
cd /data/www/python3_vir
source bin/activate
cd /data/www/order
export ops_config=production&&python manager.py runserver
uwsgi --ini uwsgi.ini
cd /data/www/logs
tail -f order.log (查看服务启起来了)
ps -ef |grep uwsgi查看多进程
cd /etc/nginx/conf.d
service nginx start
ps -ef |grep nginx(查看ng启动起来了)
service nginx reload
https://python815.cn/user/login
http://python815.cn/user/login
https://www.python815.cn/user/login
http://www.python815.cn/user/login
http://106.52.204.179/user/login
账号:54php.cn 密码123456789
账号:吃货密码123456
账号54php.cn2 密码123456
账号猪猪侠2 密码123456789
卸载mysql
https://blog.csdn.net/li_wei_quan/article/details/78549891
线上测试api
http://106.52.204.179/api/food/index