安裝好LLsmp環(huán)境后,輸入http://ip:7080 進入服務(wù)器登錄界面,輸入賬號密碼
進入管理頁面
1、Home -> Configuration -> General 選項下保持默認(rèn)配置
2、Home -> Configuration -> Log 選項下保持默認(rèn)即可
3、Home -> Configuration ->Tuning 因為免費版150線程的硬性規(guī)定,所以調(diào)整Max Connections為2000,Smart Keep-Alive默認(rèn)為No 更改為Yes(Smart Keep-Alive可以減少資源請求,節(jié)省服務(wù)器資源),然后點擊右上角Sav
4、Home -> Configuration ->Security 在服務(wù)器級別一般不做修改,可在虛擬主機級別單獨設(shè)置。
5、Home -> Configuration ->Request Filter 可以設(shè)置請求過濾,防止SQL注入及XSS攻擊。
6、Home -> Configuration ->External App 一般使用默認(rèn)值即可。
7、Home -> Configuration ->Ruby Rails ->Max Connections 512M內(nèi)存的VPS設(shè)置10;256設(shè)置為5;128最多設(shè)置為3。
8、Home -> Configuration ->Ruby Rails ->Environment 設(shè)置為LSAPI_MAX_REQS=1000 LSAPI_MAX_IDLE=60
9、Home -> Configuration ->Ruby Rails ->Run On Start Up 設(shè)置為Yes
10、Home -> Web Console ->AdminListeners (1) ->View/Edit 增強安全性—在Admin Listener Address Settings中更改adminListener的默認(rèn)監(jiān)聽端口Port為你想要的(注意別和其他端口沖突)一般設(shè)置到10000以上的端口,小于50000
設(shè)置完成后:點擊右上角Save;然后在頂部Configuration has been modified. To apply changes, please visit Control Panel and execute a Graceful Restart. Apply Changes這句末尾點擊Apply Changes 然后點擊Apply Changes / Graceful Restart 后面的重啟圖標(biāo)
轉(zhuǎn)載請注明:本文來自中國站長資訊 www.cnzz.info Powered By 老牛
-
廣告合作
-
QQ群號:4114653