首页 > 代码库 > ubuntu ~/.bash_history
ubuntu ~/.bash_history
sudo apt-get updatesudo apt-get install python-pipsudo pip install Django==1.7.1sudo apt-get install -y python-devsudo apt-get install -y libevent-devsudo apt-get install uwsgisudo apt-get install -y nginxsudo apt-get install pillowcd /etc/nginx/mkdir djangocd django/git clone dircd dirpython manage.py makemigrationspython manage.py migratespython manage.py createsuperuserwssgi --ini /etc/nginx/django/dir/uwsgi.inicd /var/logmkdir uwsgicd uwsgi/vim dir.logcd /etc/nginx/sites-enabled/ln -s /etc/nginx/django/dir/nginx.conf .rm defaultservice nginx restartnetstat -lpntkillall -9 uwsgiuwsgi --ini uwsgi.inipython manage.py collectstaticcp 静态文件过来
ubuntu ~/.bash_history
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。