公司最近裝了幾台 linux
把裝好後該做的事列一下:p

/etc/sysconfig/iptables

阿貴貴 發表在 痞客邦 留言(0) 人氣()

改時區
http://www.neo.com.tw/archives/139

測試 LPT port 上的印表機有沒有回應
echo "Hello printer" > /dev/lp0

修改設定檔
vi /etc/cups/cupsd.conf

<Location />
#  Order allow,deny

Order Deny,Allow

阿貴貴 發表在 痞客邦 留言(0) 人氣()

大部份步驟都參考好友廖大文章
http://www.l-penguin.idv.tw/article/ldap-1.htm

yum install openldap-servers*

阿貴貴 發表在 痞客邦 留言(0) 人氣()

wget http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-3.noarch.rpm
wget http://rpms.famillecollet.com/el5.i386/remi-release-5-6.el5.remi.noarch.rpm

rpm -Uvh remi-release-5*.rpm epel-release-5*.rpm

阿貴貴 發表在 痞客邦 留言(0) 人氣()

trace了好久, 終於在 log 檔找到

[Fri Mar 19 00:00:38 2010] [error] [client 114.36.16.57] PHP Notice:  Undefined index:  content in /var/www/html/5krun/plugins/system/rokcandy_system.php on line 161, referer: http://www.5krun.net/index.php?option=com_comprofiler&task=registers
[Fri Mar 19 00:00:38 2010] [error] [client 114.36.16.57] PHP Warning:  Invalid argument supplied for foreach() in /var/www/html/5krun/plugins/system/rokcandy_system.php on line 161, referer: http://www.5krun.net/index.php?option=com_comprofiler&task=registers

這幾句話...
老樣子硬幹 code
只要是註冊的程式就把這幾段mark掉 = =

希望之後新版本把它patch掉吧~

阿貴貴 發表在 痞客邦 留言(0) 人氣()