Setup Server Environment
NOTE: # denotes that the command is typed by the root user
Python 2.4
# python2.4 -su: python2.4 command not found # which python2.4 # ls /usr/local/bin/python2.4 ls: /usr/local/bin/python2.4: No such file or directory # cd /usr/ports/lang/python24 # make install clean # export PATH=$PATH:/usr/local/bin # echo "export PATH=\$PATH:/usr/local/bin" >> /root/.bash_profile
Python Imaging Library
# cd /usr/ports/graphics/py-imaging # make install clean
LibXSLT
# cd /usr/ports/textproc/libxslt # make install clean
LibXML2
# cd /usr/ports/textproc/libxml2 # make install clean # cd ../py-libxml2 # make install clean # cd ../py-xml # make install clean
Apache 2.2
Add any additional modules that you may need
# cd /usr/ports/www/apache22 # make config --accept the defaults and make sure the following are checked-- X ALIAS X Threads X PROXY X PROXY_CONNECT X PROXY_FTP X PROXY_HTTP X PROXY_AJP X PROXY_BALANCER X SSL X SUEXEC X VHOST_ALIAS X REWRITE X MIME X MIME_MAGIC X INCLUDE X EXPIRES X HEADERS X SSL # make install clean
Setuptools and ZopeSkel
# mkdir /usr/local/plone # cd /usr/local/plone # wget http://peak.telecommunity.com/dist/ez_setup.py # python2.4 ez_setup.py # easy_install -U ZopeSkel
Create group and users for Web services to run under
# groupadd www # pw useradd www -c "Apache Server" -d /dev/null -g www -s /sbin/nologin # pw useradd zadmin "Zope Admin" -d /dev/null -g www -s /sbin/nologin

Author: