Windows Firewall/Internet Connection Sharing (ICS) 無法啟動
11 月.08, 2008 in Windows
XP 更新 SP3 後碰到無法啟動防火牆功能的問題,可以用下列程序修復
1、執行 cmd
2、輸入 netsh winsock reset
3、重新開機
XP 更新 SP3 後碰到無法啟動防火牆功能的問題,可以用下列程序修復
1、執行 cmd
2、輸入 netsh winsock reset
3、重新開機
當 Postfix 的 Mail Log 中出現如下的錯誤訊息
1 | cannot access mailbox /var/mail/XXXX for user XXXX. error writing message: File too large |
這是因為 mailbox_size_limit 設定的容量過小或者是沒有設定而使用預設值
可以用 postconf 指令檢查目前設定
1 2 | [root@bestlong ~]# postconf | grep mailbox_size_limit mailbox_size_limit = 51200000 |
如果希望不限制大小可以在 /etc/postfix/main.cf 中設定成 mailbox_size_limit = 0 然後重新啟動 Postfix 就可以了
不過這樣可要小心有可能會把整個硬碟空間被用光喔
編輯/etc/ssh/sshd_config
尋找
#PermitRootLogin yes
修改成
PermitRootLogin no
存檔後重新啟動 sshd 就可以了
不同的 Java 專案可能會因為歷史悠久而需要用到不同版本的 JDK 來編譯。
在 Eclipse 的環境下,進入 Window > Preferences > Java > Installed JREs
然後點選 Add 選擇 Standard VM 指定 JRE home 到 JDK 安裝的位置,讓 Eclipse 知道其他 JDK 的存在。