-
Notifications
You must be signed in to change notification settings - Fork 2
Installation Guide
shangrz edited this page May 18, 2012
·
13 revisions
-
Python
-
easy_install
wget http://peak.telecommunity.com/dist/ez_setup.py
python ez_setup.py
- modules
easy_install thrift
easy_install pymongo
easy_install django
easy_install mongokit
easy_install feedparser
- install uWSGI
wget http://projects.unbit.it/downloads/uwsgi-0.9.9.2.tar.gz
sudo apt-get install python-dev libxml2-dev
tar zxvf uwsgi-0.9.9.2.tar.gz
cd uwsgi-0.9.9.2
make -f Makefile.Py26
cp uwsgi /usr/sbin/uwsgi
- change django.xml
<socket>ip:port<socket>
-
change config.py and callwebui/model
-
change nginx.conf server add
-
location /console/ { -
uwsgi_pass ip:port; -
include uwsgi_params; -
}
*run webui
uwsgi -x callweibui/django.xml
sudo apt-get install libssl-dev sudo apt-get install libpcre3 libpcre3-dev ./configure --prefix=/usr/local/nginx make && make install /usr/local/nginx/sbin/nginx