材料:阿里雲服務器遠程ip地址和購買服務的帳號和密碼 版本Centos 6.9版本
用Xshell遠程登陸安裝寶塔
Xshell的界面是這樣的,如圖
![](http://static.javashuo.com/static/loading.gif)
點擊左上角新建回話能夠建立一個新的SSH鏈接,如圖
![](http://static.javashuo.com/static/loading.gif)
輸入Linux鏈接信息
![](http://static.javashuo.com/static/loading.gif)
能夠配置用戶身份驗證碼(建議不要把密碼輸入)
shell
安裝寶塔面板只須要一句話命令:
yum install -y wget && wget -O install.sh http://download.bt.cn/install/install.sh && sh install.shcentos
回車開始自動安裝,安裝大概須要5-15分鐘。
安裝成功後,會顯示出你的寶塔登陸信息,賬號和密碼,如圖
![](http://static.javashuo.com/static/loading.gif)
![](http://static.javashuo.com/static/loading.gif)
上面是我安裝了LAMP界面,關於登陸後臺後,LAMP和LNMP的選擇,你就配置成功了
若是出現沒法訪問
![](http://static.javashuo.com/static/loading.gif)
進入阿里雲 ——》安全組配置
![](http://static.javashuo.com/static/loading.gif)
點擊快速建立規則
![](http://static.javashuo.com/static/loading.gif)
選擇以下配置
![](http://static.javashuo.com/static/loading.gif)
![](http://static.javashuo.com/static/loading.gif)