Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ubuntu 16.04环境搭建 #18

Open
Hzzz opened this issue Nov 1, 2017 · 0 comments
Open

Ubuntu 16.04环境搭建 #18

Hzzz opened this issue Nov 1, 2017 · 0 comments

Comments

@Hzzz
Copy link
Owner

Hzzz commented Nov 1, 2017

安装服务:mysql, nginx, python2.7, django, git etc.

安装mysql

sudo apt-get install mysql-server

安装nginx

tutorial nginx

sudo apt-get install nginx

//设置防火墙
sudo ufw app list

sudo ufw allow 'Nginx HTTP'

python

How To Install the Django Web Framework on Ubuntu 14.04

sudo apt-get install python-dev

sudo apt-get install libmysqlclient-dev

pip

sudo apt-get install python-pip

sudo pip install --upgrade pip 

virtualenv

sudo pip install virtualenv

errors

mysqlclient install error

git

tutorial git

Elasticsearch

How To Install and Configure Elasticsearch on Ubuntu 16.04
Django Haystack

参考

http://alfred-sun.github.io/beiyuublog/vps-config-python-vitrualenv-flask-gunicorn-supervisor-nginx/

增加Swap

内存不足
How To Add Swap Space on Ubuntu 16.04

SSL

How to Setup a SSL Certificate on Nginx for a Django Application

免费使用SSL

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant