Python Server Installation configuration process logging

Source: Internet
Author: User

* New Server installation steps

1. Download python2.7.6 wget http://www.python.org/ftp/python/2.7.6/Python-2.7.6.tgz2. Unzip the TAR-XF Python2.7.63. Install 1. CD Python2.7.6;./configure; Make Make INSTALL4. The replacement system comes with Python mv/usr/local/bin/python/usr/local/bin/python_bak; Ln-s/usr/local/bin/python2.7/usr/local/bin/python

2. Installing django1.5.4

0. wget https://www.djangoproject.com/m/releases/1.5/Django-1.5.4.tar.gz1. Unzip the tar zxvf django-1.5.4.tar.gz2. Installation CD django-1.5.4/; Python setup.py install3. Test python; Import Django; Django. VERSION3. Installing MongoDB
0.wget HTTP://FASTDL.MONGODB.ORG/LINUX/MONGODB-LINUX-X86_64-2.4.8.TGZ1. Unzip the tar zxvf mongodb-linux-x86_64-2.4.8.tgz 2. Install Mkdir-p/opt/soft/mongo; Cp-r-n mongodb-linux-x86_64-2.4.8//opt/soft/mongo; Ln-s/opt/soft/mongo/mongodb-linux-x86_64-2.4.8/bin/mongo  /usr/local/bin/3. Configuration: sudo chown $USER/data/dbvim ~/. Bash_profileadd:export path= $PATH:/opt/mongodb-linux-i686-2.4.5/binsource ~/.bash_profile

4. Installing Nginx

1. Before installing Nginx, you need to ensure that the system has g++, GCC, Openssl-devel, Pcre-devel, and Zlib-devel software installed. Installation must be software yum install gcc-c++; Yum-y install zlib zlib-devel OpenSSL openssl--devel pcre pcre-devel 2. Download Install ngxin--ver:1.5.6wget Http://nginx.org/download/nginx-1.5.6.tar.gztar zxvf nginx-1.5.6.tar.gz./configure; make; make install; 3. Location after installation:/USR/LOCAL/NGINX/SBIN/NGINX/USR/LOCAL/NGINX/CONF/NGINX.CONF/USR/LOCAL/NGINX/LOGS4. Source:export path= $PATH:/opt/mongodb-linux-i686-2.4.5/bin:/usr/local/nginx/sbin

5. Installing Easy_install

wget Https://pypi.python.org/packages/source/d/distribute/distribute-0.6.49.tar.gztar XF DISTRIBUTE-0.6.49.TAR.GZCD Distribute-0.6.49python setup.py Installeasy_install--version

6. Install Pip

1. Download PIP2. Easy_install pip

7. Installing python-memcached

$ wget https://pypi.python.org/packages/source/p/python-memcached/python-memcached-1.53.tar.gz-- no-check-certificate$ tar zxvf python-memcached-1.53.tar.gz$ cd python-memcached-1.53/$ python setup.py install

8. Installing UWSGI

1.pip install UWSGI2. Test Uwsgi--version

9. Installing Mysql-python

0. Get http://softlayer-ams.dl.sourceforge.net/project/mysql-python/mysql-python-test/1.2.4b4/ Mysql-python-1.2.4b4.tar.gz1. Tar zxvf mysql-python-1.2.4b4.tar.gz2. CD mysql-python-1.2.4b4.tar.gz; Python setup.py Install

10.

Installing DJANGO-CAS2
0. Https://github.com/KTHse/django-cas2/archive/master.zip1. Unzip DJANGO-CAS2-MASTER.ZIP2. CD django-cas2-master; Python setup.py Install

[Email protected]lhost mongodb]#/bin/mongod-f mongodb.conf all output going to:log/mongodb.log

====================================================================================================

Welcome to my blog, I am the Internet industry a small screw-the non-typical programmer sister.

Leave the address, convenient for everyone to contact me

Python Server Installation configuration process logging

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.