登陆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
输入以上代码,即可自动安装宝塔面板了。