root/tags/omega-1.0.0-rc3/docs/OpenBSD/old_openbsd_install_notes.txt

Revision 621, 3.3 KB (checked in by DominoTree, 20 months ago)

First test!

Line 
1If you really want to install ISPCP on OpenBSD you should be familar with the manual installation
2process from the linux platform, it's only recommended for people with BSD knowledge!
3
4This is a short list of notes i have written while setting up and porting ispcp to OpenBSD,
5it may be incomplete/outdated in some places.
6
71. install all packages from packagelist (openbsd-packages-install.sh will help you)
8
92. download proftpd source & compile with configure command:
10   wget ftp://ftp.proftpd.org/distrib/source/proftpd-1.3.0a.tar.bz2
11   bunzip2 proftpd-1.3.0a.tar.bz2
12   tar -xvf proftpd-1.3.0a.tar
13   cd proftpd-1.3.0a
14   ./configure --sysconfdir=/etc \
15        --enable-ctrls \
16        --enable-ipv6 \
17        --enable-sendfile \
18        --enable-facl \
19        --with-modules=mod_sql:mod_sql_mysql:mod_tls:mod_rewrite:mod_ratio:mod_readme:mod_ifsession:mod_ctrls_admin:mod_quotatab:mod_quotatab_file:mod_quotatab_sql \
20        --with-includes=/usr/local/include/mysql \
21        --with-libraries=/usr/local/lib \
22        --localstatedir=/var/run
23   make
24   make install
25
263. install required perl modules
27   perl -MCPAN -e shell
28   cpan> install Crypt::PasswdMD5
29   cpan> install Term::ReadPassword
30   if package p5-MIME-tools can't be installed, install it with cpan
31   cpan> install MIME::Tools
32
334. extract ispcp source package and run make
34
355. execute these commands:
36
37        groupadd -o -g 0 root
38        ln -s /usr/local/libexec/makedatprog /usr/local/bin/makedatprog
39
406. /usr/local/share/mysql/mysql.server start
41   set mysql root password with mysqladmin: mysqladmin password 'your-new-password'
42
43   run make in ispcp directory , change to /tmp/ispcp-<version>, execute: cp -R * /
44   change to /var/www/ispcp/engine/setup and run ispcp-setup
45
467. edit /etc/rc.local and add the following lines:
47
48mkdir -p /var/run/courier-imap
49/usr/local/libexec/authlib/authdaemond start
50/usr/local/libexec/imapd.rc start
51/usr/local/libexec/imapd-ssl.rc start
52/usr/local/libexec/pop3d.rc start
53/usr/local/libexec/pop3d-ssl.rc start
54/usr/local/share/mysql/mysql.server start
55mkdir -p /var/run/proftpd
56/etc/proftpd.rc start
57/etc/ispcp_daemon.rc start
58
598. edit /etc/rc.conf.local and add the following lines:
60
61ntpd_flags=             # enabled during install
62httpd_flags=-u         # enabled / -DSSL
63inetd=NO
64syslogd_flags=          # "-a /var/spool/postfix/dev/log"
65sendmail_flags="-bd -q30m"
66named_flags=
67
689. edit /var/www/conf/httpd.conf and insert
69
70AddType application/x-httpd-php .php
71Include /var/www/conf/ispcp.conf to the last line
72
7310. create initial php.ini
74cp /usr/local/share/examples/php4/php.ini-recommended /var/www/conf/php.ini
75
7611. run following commands to activate php module extensions
77/usr/local/sbin/phpxs -s
78/usr/local/sbin/phpxs -a curl
79/usr/local/sbin/phpxs -a dbx
80/usr/local/sbin/phpxs -a domxml
81/usr/local/sbin/phpxs -a filepro
82/usr/local/sbin/phpxs -a gmp
83/usr/local/sbin/phpxs -a imap
84/usr/local/sbin/phpxs -a mcrypt
85/usr/local/sbin/phpxs -a mhash
86/usr/local/sbin/phpxs -a mysql
87/usr/local/sbin/phpxs -a pdf
88/usr/local/sbin/phpxs -a shmop
89/usr/local/sbin/phpxs -a xmlrpc
90/usr/local/sbin/phpxs -a xslt
91
92run following command to enable postfix
93/usr/local/sbin/postfix-enable
94
95and restart apache: apachectl restart
96
97   optional create imap&pop3 ssl certificates:
98      mkimapdcert
99      mkpop3dcert
100
10112. not working "features" (list may be incomplete)
102        - all iptables based traffic accounting
Note: See TracBrowser for help on using the browser.