aws Lightsail 安裝寶塔面板

登錄aws Lightsail

推薦你們經過aws Lightsail控制檯登錄this

登錄的帳號默認爲普通用戶,spa

輸入  yum install -y wget && wget -O install.sh http://download.bt.cn/install/install_6.0.sh && sh install.shorm

出現如下提示token

Loaded plugins: fastestmirrorget

You need to be root to perform this command.io

因爲安裝寶塔面板須要root權限,因此這裏咱們要切換到root用戶。ast

  1. su root

若是是首次登錄須要設置root密碼form

  1. sudo passwd

會提示你輸入密碼  你能夠輸入一個比較複雜的密碼。而且本身記錄好。test

直接鼠標複製黏貼便可,密碼是不顯示的。date

 sudo passwd

Changing password for user root.

New password:

Retype new password:

passwd: all authentication tokens updated successfully.

 以上提示,就是密碼設置成功。便可進行下一步。

 

  1. yum install -y wget && wget -O install.sh http://download.bt.cn/install/install_6.0.sh && sh install.sh

輸入以上代碼,便可自動安裝寶塔面板了。

相關文章
相關標籤/搜索