登陆aws Lightsail
用上一篇推荐的shell连接
Centos安装命令:
yum install -y wget && wget -O install.sh http://download.bt.cn/install/install_6.0.sh && sh install.s
出现以下提示
Loaded plugins: fastestmirror
You need to be root to perform this command.
由于安装宝塔面板需要root权限,所以这里我们要切换到root用户。
su root
如果是首次登陆需要设置root密码
sudo passwd
会提示你输入密码 你必须输入>8位数的密码。
直接鼠标复制黏贴即可,密码是不显示的。
sudo passwd Changing password for user root. New password: Retype new password: passwd: all authentication tokens updated successfully.
以上提示,就是密码设置成功。即可进行下一步。 7.2.0最新
yum install -y wget && wget -O install.sh http://download.bt.cn/install/install_6.0.sh && sh install.sh
输入以上代码,即可自动安装宝塔面板了。
版权声明