登陸aws Lightsail
推薦大家通過aws Lightsail控制台登陸
登陸的賬號默認為普通用戶,
Centos安裝命令:
輸入 yum install -y wget && wget -O install.sh http://download.bt.cn/install/install_6.0.sh && sh install.sh
出現以下提示
Loaded plugins: fastestmirror
You need to be root to perform this command.
由於安裝寶塔面板需要root權限,所以這里我們要切換到root用戶。
- su root
如果是首次登陸需要設置root密碼
- sudo passwd
會提示你輸入密碼 你可以輸入一個比較復雜的密碼。並且自己記錄好。
直接鼠標復制黏貼即可,密碼是不顯示的。
sudo passwd
Changing password for user root.
New password:
Retype new password:
passwd: all authentication tokens updated successfully.
以上提示,就是密碼設置成功。即可進行下一步。
- yum install -y wget && wget -O install.sh http://download.bt.cn/install/install_6.0.sh && sh install.sh
輸入以上代碼,即可自動安裝寶塔面板了。
