分类: BSD
2008-05-05 08:29:51
cd /usr/ports/graphics/gd make WITHOUT_X11=yes install |
cd /usr/ports/mail/imap-uw make install |
#imap4 stream tcp nowait root /usr/local/libexec/imapd imapd |
改為:
imap4 stream tcp nowait root /usr/local/libexec/imapd imapd |
kill -HUP `cat /var/run/inetd.pid` |
cd /usr/ports/mail/qpopper make install |
#pop3 stream tcp nowait root /usr/local/libexec/popper popper |
改為:
pop3 stream tcp nowait root /usr/local/libexec/qpopper qpopper -s |
kill -HUP `cat /var/run/inetd.pid` |
qpopper imapd : ALL : allow |
cd /usr/ports/databases/mysql323-server make WITH_CHARSET=big5 install |
/usr/local/etc/rc.d/mysql-server.sh start |
/var/db/mysql
/usr/local/bin/mysqladmin -u root password 'new-password' |
請將 new-password 替換為您所需要真正的密碼;否則,MySQL root 的密碼真的就會設定為 new-password 。
cd /usr/ports/www/apache13 make WITH_APACHE_SUEXEC=yes install |
/usr/local/etc/apache/httpd.conf
apache_enable="YES" |
/usr/local/etc/rc.d/apache.sh start |
/usr/local/www/data
/usr/local/www/cgi-bin
cd /usr/local/www ls -ls |
total 10 lrwxr-xr-x 1 root wheel 27 Aug 24 13:16 cgi-bin -> /usr/local/www/cgi-bin-dist drwxr-xr-x 2 root wheel 512 Aug 24 13:16 cgi-bin-dist lrwxr-xr-x 1 root wheel 24 Aug 24 13:16 data -> /usr/local/www/data-dist drwxr-xr-x 2 root wheel 1024 Aug 24 13:16 data-dist drwxr-xr-x 3 root wheel 3584 Aug 24 13:16 icons drwxr-xr-x 2 www www 512 Aug 24 13:16 proxy |
cd /usr/ports/www/mod_fastcgi make install |
cd /usr/ports/www/mod_gzip make install |
第 239 行
# LoadModule gzip_module libexec/apache/mod_gzip.so |
LoadModule gzip_module libexec/apache/mod_gzip.so |
第 280 行
# AddModule mod_gzip.c |
AddModule mod_gzip.c |
cd /usr/ports/www/mod_php4 make install |
cd /usr/ports/databases/phpmyadmin make install MYADMDIR=www/data/phpMyAdmin |
cd /usr/local/www/data/phpMyAdmin mv config.inc.php.sample config.inc.php chmod u+w config.inc.php |
第 68 行
$cfg['Servers'][$i]['auth_type'] = 'config'; |
改為:
$cfg['Servers'][$i]['auth_type'] = 'http'; |
URL:
cd /usr/ports/mail/openwebmail make install |
cd /usr/local/www/cgi-bin/openwebmail/etc vi openwebmail.conf |
第 11 行
domainnames auto |
domainnames dnes.mlc.edu.tw |
第 22 行
default_language en |
default_language zh_TW.Big5 |