編輯 /etc/sysctl.conf 加入以下敘述:
# Disable IPv6 net.ipv6.conf.all.disable_ipv6 = 1
關閉不必要的IPv6服務如ip6tables:
service ip6tables stop
chkconfig ip6tables off
重新開機:
reboot
參考資料:
wiki.centos.org
編輯 /etc/sysctl.conf 加入以下敘述:
# Disable IPv6 net.ipv6.conf.all.disable_ipv6 = 1
關閉不必要的IPv6服務如ip6tables:
service ip6tables stop
chkconfig ip6tables off
重新開機:
reboot
參考資料:
wiki.centos.org
先前在CentOS 6測試環境中用tarball編譯安裝安裝PHP時出現以下的錯誤訊息:
/usr/bin/ld: cannot find -lltdl collect2: ld returned 1 exit status make: *** [libphp5.la] Error 1
補行安裝libtool-ltdl-devel即可:
yum install libtool-ltdl-devel
可利用/dev/null把檔案文件清空
cat /dev/null > filename
因為之前安裝CentOS 6時是用最小化安裝,
所以少了這個套件,
再補安裝並啟動就可以了。
yum install crontabs
service crond start
以yum安裝crontabs時會一併安裝sendmail,
因為用不到它所就乾脆停用別讓它開機時執行:
chkconfig sendmail off
不知從哪一個版本開始表情符號有幾個顯示不出來,
後來發現是檔名的問題,
像困惑的表情符號其圖片檔名為icon_e_confused.gif ,
但phpBB3裡的連結是用icon_confused.gif ,
所以把這些GIF檔名中間有 _e_ 的改掉就可以了。