ispCP 1.0.3 Omega with FreeBSD 8.0 - Printable Version +- ispCP - Board - Support (http://www.isp-control.net/forum) +-- Forum: ispCP Omega Support Area (/forum-30.html) +--- Forum: System Setup & Installation (/forum-32.html) +--- Thread: ispCP 1.0.3 Omega with FreeBSD 8.0 (/thread-9649.html) |
ispCP 1.0.3 Omega with FreeBSD 8.0 - sirko - 02-18-2010 12:38 AM ...seems to run fine in a test setup. No problems with SASL. I followed this HOWTO: http://www.isp-control.net/documentation/doku.php?id=start:installation:freebsd , with the following exceptions: You need to install these ports too: portmaster /usr/ports/devel/p5-Term-ReadKey /usr/ports/devel/p5-File-MimeInfo /usr/ports/mail/p5-Mail-SpamAssassin /usr/ports/security/amavisd-new /usr/ports/mail/postgrey I have build amavis without RAR, because it lacks 64 bit support. #-------------------------------------------------- When building php modules, you need to activate php5-mbstring, too. #-------------------------------------------------- In ispcp 1.0.3 source change line 19 in file lr_syntax.c to: ssize_t readlink(const char * __restrict, char * __restrict, size_t); #-------------------------------------------------- Change open_basedir in /usr/local/www/data/fcgi/master/php5/php.ini to: open_basedir = "/usr/local/www/ispcp/gui/:/usr/local/etc/ispcp/:/var/run/ispcp.lock:/var/run/dmesg.boot:/proc/:/bin/df:/bin/:/sbin/:/usr/bin/:/usr/sbin/:/usr/local/bin/:/usr/local/sbin/:/var/log/rkhunter.log:/var/log/chkrootkit.log:/usr/local/lib/php/20060613/" Because of FastCGI apache needs a restart to make the changes take effect. #-------------------------------------------------- If ispcp does not start after make install, do touch /usr/local/etc/ispcp/courier/backup/authdaemonrc.system #-------------------------------------------------- Take FastCGI and NOT mod_fcgid, because apache directives have changed and ispcp seems to use the old syntax. #-------------------------------------------------- Add the following lines to /etc/rc.conf: proftpd_enable="YES" mysql_enable="YES" apache22_http_accept_enable="YES" apache22_enable="YES" courier_authdaemond_enable="YES" courier_imap_imapd_enable="YES" courier_imap_imapd_ssl_enable="NO" courier_imap_pop3d_enable="YES" courier_imap_pop3d_ssl_enable="YES" postfix_enable="YES" policyd_weight_enable="YES" postgrey_enable="YES" spamd_enable="YES" amavisd_enable="YES" # Sendmail aus, weil Postfix. sendmail_enable="NO" sendmail_submit_enable="NO" sendmail_outbound_enable="NO" sendmail_msp_queue_enable="NO" #-------------------------------------------------- In ispcp change in "Settings"->"Server Ports" "POSTGREY Port" to 10023. #-------------------------------------------------- In /usr/local/etc/proftpd.conf comment out the following line: #AuthOrder mod_sql.c I disabled Ratios, too: #<IfModule mod_ratio.c> # Ratios on #</IfModule> #-------------------------------------------------- File /usr/local/etc/sasl2/smtpd.conf must look like: pwcheck_method: auxprop auxprop_plugin: sasldb mech_list: PLAIN LOGIN CRAM-MD5 DIGEST-MD5 If postfix runs chrooted, you'll have to set a link to /var/spool/postfix/usr/local/etc/sasldb2.db #-------------------------------------------------- Voila. Did I forget anything? Regards Sirko -- /7\ bytecamp GmbH / Senior System Administrator Geschwister-Scholl-Str. 10, 14776 Brandenburg a.d. Havel, Germany HRB15752, Amtsgericht Potsdam, Geschaeftsfuehrer: Bjoern Barnekow, Frank Rosenbaum, Sirko Zidlewitz tel +49 3381 79637-0 werktags 10-12,13-17 Uhr, fax +49 3381 79637-20 mail sz@bytecamp.net, web http://bytecamp.net/ RE: ispCP 1.0.3 Omega with FreeBSD 8.0 - kilburn - 02-18-2010 12:42 AM OMG! RatS you should ask this guy if he wants to become an ispcp on FreeBSD maintainer! LOTS of kudos for you sirko! RE: ispCP 1.0.3 Omega with FreeBSD 8.0 - RatS - 02-18-2010 07:50 PM (02-18-2010 12:42 AM)kilburn Wrote: OMG! RatS you should ask this guy if he wants to become an ispcp on FreeBSD maintainer!I send him an email. Again, thanks for the work, we will change our INSTALL files accordantly. RE: ispCP 1.0.3 Omega with FreeBSD 8.0 - BeNe - 02-19-2010 05:48 PM Good idea! I´m glad to see that one of the /7\ bytecamp guy´s are here! FreeBSD is still heavy to use with ispCP. Greez BeNe RE: ispCP 1.0.3 Omega with FreeBSD 8.0 - BeNe - 02-24-2010 11:35 PM I´ve updated the Install Docu and improved some steps with sirko´s input. --> http://www.isp-control.net/documentation/doku.php?id=start:installation:freebsd ispCP works much better now, but still needs some improvments. The BSDMakefile is patched for the missing domain_disable_page and favicon.ico. The freebsd-packages and INSTALL-File is also up-to-date now. FTP and Sysinfo works now also very fine. But it, looks like we need to patch more files during the build, like the Master PHP.ini and sasl2. My Documentation mixes Perl-Ports and cpan Modules this time which is not the best solution. But the ispcp-setup still misses some PerlModules if they are builded from the Ports directly. So i switched over to cpan. Greez BeNe |