1. Client link
Download Xshell4.0
Installing XFTP
2, install jdk-1.7.0--79 (64-bit. Ubuntu
Note the version number.
The installation directory is:/usr/local/java/dk-1.7.0.0_79
3. Install mysql-5.5.44 (Chinese setting is not successful!!!!! )
According to the official website tutorial installation
Modify MySQL Character set: Modify/etc/mysql/my.cnf
Under Client Add:
Default-character-set=utf8
Add under Mysqld
Default-character-set=utf8
You can restart MySQL.
4. Installing the Django Framework, version number:
Pip Install django==1.8.3
5, install the stuttering word breaker
Pip Install Jieba
6, Installation haystack
Pip Install Django-haystack
7. Install a Python module django-crontab
8, install Elasticsearch plug-in. See document Http://www.vpsee.com/2014/05/install-and-play-with-elasticsearch/
9. Install ES python client pip install elasticsearch==1.5 (plus version number)
In this context, the construction of the environment is completed, and the next step is to import the data from the MySQL database of the original experiment into the American cloud and use the Elasticsearch
Index to achieve the search function.
10. Build index: Python manage.py rebuile_index
11. Open service Python manage.py runserver 0.0.0.0:8080
The background Run command is: Python manage.py runserver 0.0.0.0:8080 &
Platform ip:http://211.155.92.229:8080/
The entire process of setting up the cloud Server Django Web platform