The following "#" starts with the Ubuntu terminal command
1. First install ubuntu10.04
Reference http://wiki.ubuntu.org.cn/
2. Modify the root user password
3. Use root to log on to the system
4. Python 2.6.5 is installed in Ubuntu by default.
5. Download stackless
View web site http://zope.stackless.com/download/sdocument_view
# Cd/usr/src
# Wget http://www.stackless.com/binaries/stackless-265-export.tar.bz2
# Tar jxvf stackless-265-export.tar.bz2
6. Install the development libraries on which some modules depend
6.1 to install the zlib development library, you cannot run easy_install without the zip component.
# Apt-Get install zlib1g-dev
6.2 To install the Readline Development Kit, Python needs it
# Apt-Get install libreadline5-dev
6.3 OpenSSL, bdb, and Bzip2 Development Kits
# Apt-Get install libssl-Dev
# Apt-Get install libdb-Dev
# Apt-Get install libbz2-dev
6.4 install the compilation tool
# Apt-Get install build-essential
7. Compile the python-2.6.5-stackless and install it to the/OPT directory
# Cd/usr/src/python-2.6.5-stackless/
#./Configure -- prefix =/opt/stackless -- With-Readline -- With-zlib =/usr/include
# Make
# Make install
8. Modify the system path. Now you can add the stackless path before your path variable to make stackless the default Python
# Export Path =/opt/stackless/bin: "$ path"
This statement can be added to. profile or. bash_profile. stackless can be used by default every time Bash is entered.
9. Install easy_install now. It will be convenient to install Python package later.
# Cd/usr/src
# Wget http://peak.telecommunity.com/dist/ez_setup.py
# Python ez_setup.py
10. Test the high-performance network development framework
Reference Web site http://opensource.hyves.org/concurrence/
Detailed installation instructions http://opensource.hyves.org/concurrence/install.html#install