For more installation configuration details, see: http://blog.csdn.net/five3/article/details/7732832
WindowsDirectly download all the packages for Environment setup and install them directly:
You can download a Windows package from python2.7.
Webpy does not distinguish between Windows and Linux. After decompression, Python setup. py install
Setuptools directly downloads an installation package for python2.7 in Windows
Install mysqldb directly in the next Windows package
Download a Windows package from the pymssql package. [it seems that there is no python2.7, but it can be installed and used]
Python-flup package download a direct installation of Windows
LinuxInstallation is a little troublesome:
Python2.7
======================================
Wget http://www.python.org/ftp/python/2.7.3/Python-2.7.3.tar.bz2
Tar jxvf Python-2.7.3.tar.bz2
CD Python-2.7.3
./Configure
Make & make install
Webpy
======================================
Wget http://github.com/webpy/webpy/tarball/master
Install: Python setup. py install
Setuptools
======================================
Wget http://pypi.python.org/packages/2.7/s/setuptools/setuptools-0.6c11-py2.7.egg#md5=fe1f997bc722265116870bc7919059ea
Sh setuptools-0.6c11-py2.7.egg
Mysql-for-python2.7
======================================
Http://sourceforge.net/projects/mysql-python/files/mysql-python/1.2.3/
Yum install Python-devel
Yum install mysql-devel
Modify the site. cfg file in the mysqldb directory to ensure that the mysql_config option path is correctly configured.
Python setup. py build
Python setup. py install
If you have any questions, you can refer to the project or FAQ in the installation requirements under the download directory.
Http://mysql-python.sourceforge.net/FAQ.html
Mssql-for-python2.7
======================================
Http://sourceforge.net/projects/pymssql/files/pymssql/1.0.2/pymssql-1.0.2.tar.gz/download
Python setup. py install
Flup-for-python2.7
======================================
Flup-1.0.3flup-1.0.3 [csdn.net]
FAQs:
1. After the build is complete, can the local machine be accessed or other machines be inaccessible?
This is usually because of the firewall, the firewall is disabled, or the firewall is allowed to pass through. The Linux Firewall tool is iptables.
2. After configuring an nginx virtual host, the Error 404 is always prompted during access?
404 usually because the configuration file does not contain the page you want to request. If the configuration is correct, stop and restart nginx to avoid using the reload command. Because the reload name can be loaded only when the modified configuration file format is correct, and some configuration files are incorrect, reload does not prompt, of course, the real reload is not successful directly.