This is an old revision of the document!
We installed OpenBSD 3.6, because 3.7 is not released yet, and there was a dependency problem with MySQL using the 3.7 pre-release packages.
# export PKG_PATH=ftp://ftp.openbsd.org/pub/OpenBSD/3.6/packages/i386
NOTE: The PKG_PATH export is required for all of the pkg_add calls below. It ensures that any package dependencies can be resolved automatically by downloading packages directly from the FTP site.
# pkg_add bash-3.0 # pkg_add nano-1.2.4 # pkg_add wget-1.8.2 # pkg_add curl-7.11.2p0 # pkg_add mc-4.6.1pre1p0 # /usr/local/libexec/locate.updatedb
# pkg_add mysql-server-4.0.20 # /usr/local/bin/safe_mysqld # Need to put in startup script. # mysqladmin -u root # mysqladmin -u root password 'new-password' # mysqladmin -u root -h Mail2.omnitec.net password 'new-password'
Install some prerequisites.
# pkg_add p5-Net-SSLeay-1.23
Download latest source tarball from http://www.webmin.com/.
# tar xfz webmin-1.200.tar.gz # cd webmin-1.200/ # ./setup.sh
Answer all the questions. (Lee put it on port 11111.) This will start up the program.
Send your browser to the Webmin login page, and login. Remove any modules that you're not going to use.
# pkg_add openldap-server-2.1.30 # adduser _slapd # (nologin) # addgroup _slapd # /usr/local/libexec/slapd -u _slapd -g _slapd # Need to put this in startup scripts.
# pkg_add cyrus-sasl-2.1.19-db4
# pkg_add php4-core-4.3.8 # /usr/local/sbin/phpxs -s # cp /usr/local/share/doc/php4/php.ini-recommended /var/www/conf/php.ini
To enable parsing of PHP scripts, uncomment the following in /var/www/conf/httpd.conf:
AddType application/x-httpd-php .php
And add index.php to this line:
DirectoryIndex index.php index.html
Restart Apache:
# apachectl restart
# pkg_add libtool-1.5.8 # pkg_add horde-2.2.5 # /usr/local/sbin/phpxs -a domxml # cd /var/www # mv htdocs htdocs-dist # mv horde htdocs
and proceed to complete the installation by reading: /var/www/horde/docs/INSTALL
You can ensure you have a working install by accessing: http:<localhost>/horde/test.php # pkg_add imp-3.2.5 # /usr/local/sbin/phpxs -a imap ===== Install =====