Posted in FreeBSD on Oct 29th, 2006
系統預設是不能使用 ipfw 指令,因為系統核心不支援,要使系統支援 ipfw,則需要修改核心
cd /usr/src/sys/i386/conf vi GENERIC
#在最後面加入
options IPFIREWALL options IPFIREWALL_DEFAULT_TO_ACCEPT options IPFIREWALL_VERBOSE options IPFIREWALL_VERBOSE_LIMIT=10 options IPDIVERT #然後存檔 config GENERIC cd ../compile/GENERIC/ make cleandepend; make depend; make depend all install
…詳全文(共514字)
Read Full Post »
Posted in Linux on Oct 28th, 2006
由於 redhat enterprise server 4 伺服器版本,沒有提供線上升級套件的功能yum
所以我利用 centos的yum/apt的server來更新
設定檔如下
[base]
name=Fedora Core $releasever – $basearch – Base
…詳全文(共1207字)
Read Full Post »
Posted in Linux on Oct 22nd, 2006
因為在安裝 maple bbs 的時候 發現itoc的方式沒辦法解決開機自動執行
沒有 inetd.conf 也沒有 xinetd 的方式 ,所以利用下面方式才可以達成
我是增加一個檔案 /etc/init.d/bbsd
…詳全文(共631字)
Read Full Post »
Posted in Linux, ubuntu on Oct 21st, 2006
ProFTPD Version 1.2.10
Mysql Version 4.1.0 支援 UTF8
請確定你的proftpd有支援sql module
proftpd -l | grep mysql
…詳全文(共1937字)
Read Full Post »
Posted in FreeBSD on Oct 19th, 2006
安裝路徑
cd /usr/ports/www/awstats-devel/
安裝好之後 請在 httpd.conf 最後面加入
# Directives to allow use of AWStats as a CGI
…詳全文(共4254字)
Read Full Post »
Posted in FreeBSD on Sep 26th, 2006
1. cd /usr/ports && make fetchindex
2. portsdb -uU
3. rm -f /var/db/pkg/pkgdb.db
4. pkgdb -Fu
…詳全文(共222字)
Read Full Post »
Posted in FreeBSD, Linux on Sep 26th, 2006
其實安裝方面並不難 FreeBSD 就用ports安裝 fc系列 就用 yum 或者是 apt
FreeBSD: /usr/ports/net-mgmt/net-snmp
/usr/ports/net-mgmt/mrtg
…詳全文(共193字)
Read Full Post »
Posted in FreeBSD, Linux, www on Sep 25th, 2006
fc4作業系統 預設 有連線數目的限制 還有使用者連線的限制
不過解決方法很容易
http://www.ithome.com.tw/plog/index.php?op=ViewArticle&articleId=761&blogId=131
…詳全文(共796字)
Read Full Post »
Posted in FreeBSD on Sep 22nd, 2006
系統 ubuntu 6.06 + proftpd 1.2.10
TLSEngine on
TLSLog /var/log/proftpd-tls.log
TLSProtocol TLSv1
TLSRequired on
…詳全文(共661字)
Read Full Post »
Posted in FreeBSD, Lighttpd on Sep 19th, 2006
http://gslin.org/2004/10/12/61/
Read Full Post »