python3之Django基础篇
安装 python3.6
pip3 install Django
pip3 show django
django-admin startproject pyxiao
cd pyxiao
python manage.py startapp xiaoxiao
python manage.py runserver 0.0.0.0:8000
进入 python 环境
python
查看端口
netstat -anp | grep portno
守护进程启动
nohup python -u /opt/admin/admin.py > nohup.out 2>&1 &
网友评论