vi /etc/hosts.allow
sshd:192.168.0.100:allow
sshd:192.168.0.*:allow //允許單一IP或網段
sshd:all:deny //擋全部
centos5
service sshd restart
centos7
systemctl restart sshd
修改port
vi /etc/sshd/sshd_config
2015年12月17日 星期四
2015年6月1日 星期一
[IIS]HTTP 403.9 - 禁止存取:太多的使用者連接到這個網站
太多人連到網站時,iis就會掛掉,可以透過修改人數來暫時解決問題
cd C:\Inetpub\AdminScripts
adsutil.vbs set w3svc/Maxconnections 99
iisreset
cd C:\Inetpub\AdminScripts
adsutil.vbs set w3svc/Maxconnections 99
iisreset
[IIS]winXP 安裝IIS遇到Server Application Error
原文在此
http://www.lzgame.com/html/blogview-7-106_1.html
簡單整理原因,因為xp 的sp2和sp3 密碼機制不同,導致xp是sp3灌光碟的sp2的iis就會衝,或反過來也會,一定要3個地方密碼都要一樣。
msdtc -resetlog
net start msdtc 重啟
我的電腦→本地使用者群組→IUSR_機器名和IWAM_機器名,更新密碼一致
cd C:\Inetpub\AdminScripts
cscript.exe adsutil.vbs set w3svc/wamuserpass 新密碼
cscript.exe adsutil.vbs set w3svc/anonymoususerpass 新密碼
cscript.exe synciwam.vbs -v
iisreset
cd %windir%\system32\inetsrv
rundll32 wamreg.dll, CreateIISPackage
regsvr32 asptxn.dll
http://www.lzgame.com/html/blogview-7-106_1.html
簡單整理原因,因為xp 的sp2和sp3 密碼機制不同,導致xp是sp3灌光碟的sp2的iis就會衝,或反過來也會,一定要3個地方密碼都要一樣。
msdtc -resetlog
net start msdtc 重啟
我的電腦→本地使用者群組→IUSR_機器名和IWAM_機器名,更新密碼一致
cd C:\Inetpub\AdminScripts
cscript.exe adsutil.vbs set w3svc/wamuserpass 新密碼
cscript.exe adsutil.vbs set w3svc/anonymoususerpass 新密碼
cscript.exe synciwam.vbs -v
iisreset
cd %windir%\system32\inetsrv
rundll32 wamreg.dll, CreateIISPackage
regsvr32 asptxn.dll
訂閱:
文章 (Atom)