บันทึกการติดตั้งโซบ
$ su -
Password:
#
# export PKG_PATH=ftp://ftp.openbsd.org/pub/OpenBSD/4.6/packages/i386
# pkg_add -r python-2.4.6p0
bzip2-1.0.5: complete
python-2.4.6p0: complete
--- python-2.4.6p0 -------------------
If you want to use this package as your default system python, as root
create symbolic links like so (overwriting any previous default):
ln -sf /usr/local/bin/python2.4 /usr/local/bin/python
ln -sf /usr/local/bin/pydoc2.4 /usr/local/bin/pydoc
# ln -sf /usr/local/bin/python2.4 /usr/local/bin/python
# ln -sf /usr/local/bin/pydoc2.4 /usr/local/bin/pydoc
# pkg_add -r wget
libiconv-1.13: complete
gettext-0.17p0: complete
wget-1.11.4: complete
#
# mount_cd9660 /dev/cd0a /mnt/cdrom
# cd /mnt/cdrom
# pkg_add -r ee
ee-1.4.6p1: complete
# ls -al Zope*
-r-xr-xr-x 1 root wheel 7155952 Feb 17 16:14 Zope-2.10.10-final.tgz
# cp Zope-2.10.10-final-tgz /home/editor
# ls zms*
zms-2.11.1.tar.gz
# su - editor
$ ls
Zope-2.10.10-final.tgz zms-2.11.1.tar.gz
$ tar -zxvf Zope-2.10.10-final.tgz
-----
$ cd Zope-2.10.10-final
Configuring Zope installation
Testing for an acceptable Python interpreter...
Python version 2.4.6 found at /usr/local/bin/python
The optimum Python version (2.4.6) was found at /usr/local/bin/python.
- Zope top-level binary directory will be /home/editor.
- Makefile written.
Next, run make.
Zope built. Next, do 'make install' (or 'make inplace',
followed by 'make instance' to run a Zope instance directly
from the build directory).
$
$ make install
Zope binaries installed successfully.
Now run '/home/editor/bin/mkzopeinstance.py'
$
$ /home/editor/bin/mkzopeinstance.py
Directory: /home/editor/instance
Please choose a username and password for the initial user.
These will be the credentials you use to initially manage
your new Zope instance.
Username: viriya
Password:
Verify password:
$
