首页 > 代码库 > 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