码迷,mamicode.com
首页 > 系统相关 > 详细

ubuntu ~/.bash_history

时间:2014-12-24 22:45:58      阅读:317      评论:0      收藏:0      [点我收藏+]

标签:

sudo apt-get update
sudo apt-get install python-pip
sudo pip install Django==1.7.1
sudo apt-get install -y python-dev
sudo apt-get install -y libevent-dev
sudo apt-get install uwsgi
sudo apt-get install -y nginx
sudo apt-get install pillow
cd /etc/nginx/
mkdir django
cd django/
git clone dir
cd dir
python manage.py makemigrations
python manage.py migrates
python manage.py createsuperuser
wssgi --ini /etc/nginx/django/dir/uwsgi.ini
cd /var/log
mkdir uwsgi
cd uwsgi/
vim dir.log
cd /etc/nginx/sites-enabled/
ln -s /etc/nginx/django/dir/nginx.conf .
rm default
service nginx restart
netstat -lpnt
killall -9 uwsgi
uwsgi --ini uwsgi.ini
python manage.py collectstatic
cp 静态文件过来

 

ubuntu ~/.bash_history

标签:

原文地址:http://www.cnblogs.com/tuifeideyouran/p/4183566.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!