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 5. cd /usr/src ; make buildworld; make kernel; make installworld; reboot – 這招很好用 上面步驟如果只需要更新ports tree 只需要 cd /usr/ports && make fetchindex 就可以了
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 http://phorum.study-area.org/viewtopic.php?t=21142&highlight=public+cfgmaker 我找到的資料 ~ 照上面修改大致上ok
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 我查到的解決方式 我改完之後如下 core file size (blocks, -c) 0 data seg size (kbytes, -d) unlimited file size (blocks, -f) unlimited pending signals (-i) 16255 max locked memory (kbytes, -l) 32 max memory size (kbytes, -m) unlimited open files (-n) 819200 pipe size (512 bytes, -p) 8 POSIX message queues (bytes, [...]
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 TLSRSACertificateFile /etc/proftpd/HostCA.crt TLSRSACertificateKeyFile /etc/proftpd/HostCA.key TLSCACertificateFile /etc/proftpd/RootCA.crt TLSVerifyClient off 虛擬帳號實做 AuthUserFile /etc/proftpd/proftpd.passwd AuthGroupFile /etc/proftpd/proftpd.group SystemLog /etc/proftpd/proftpd.syslog TransferLog /var/log/xferlog LogFormat awstats "%t %h %u %m %f %s %b" ExtendedLog /var/log/xferlog read,write awstats 在linux底下如何新增帳號: ftpasswd –passwd –file=/etc/proftpd/proftpd.passwd –name=test –uid=2000 –gid=1001 –home=/home/ftp –shell=/bin/false
Read Full Post »
Posted in FreeBSD, Lighttpd on Sep 19th, 2006
http://gslin.org/2004/10/12/61/
Read Full Post »
Posted in Linux on Sep 18th, 2006
http://phorum.study-area.org/viewtopic.php?t=27276 http://linux.vbird.org/linux_basic/0410accountmanager.php#manual_amount for line in `cat account.txt` do account=`echo $line | cut -d : -f 1` passwd=`echo $line | cut -d : -f 2` useradd -m $account echo $account:$passwd | chpasswd done account.txt 格式: account:password
Read Full Post »
Posted in Network on Sep 18th, 2006
來源:http://www.pczone.com.tw/vbb3/showthread.php?t=124936 SEEDNET 學生方案開放申請 (申請至九月底止) 「18個月均一價,免綁約,目前 ADSL 市場上最優惠的方案」 「此優惠方案僅供申請至9月底,錯過就要再等明年了!!」 速率 費率 方案說明如下: ———————————————————– 1M / 64k 前18個月 $180元/月,第19個月起 $399 2M / 256k 前18個月 $240元/月,第19個月起 $440 8M / 640k 前18個月 $360元/月,第19個月起 $550 注意事項: 1、僅限「新申請」或「異動ISP (異動ISP , 沒有加送一個月免費)」才能辦理 現有 SEEDNET 用戶無法直接轉換或者退掉後立刻再申請此學生方案 2、前18個月為均一價 (累計年資,但無老客戶折扣),第19個月起恢復牌價並享老客戶折扣。 3、方案期限 :95/6/15 ~ 95/9/30 4、需提供「學生證件影本」方能申請 5、學生方案不享有好友推薦優惠 下載 SEEDNET 學生方案申請書: http://www.pczone.com.tw/seednet/student.doc 詳細申請程序: http://www.pczone.com.tw/seednet/htm…6/0616/14.html 若有不瞭解的地方,歡迎來電或 MSN 線上洽詢:
Read Full Post »