aws Lightsail 安装宝塔面板


登陆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用户。

  1. su root

如果是首次登陆需要设置root密码

  1. sudo passwd

会提示你输入密码  你可以输入一个比较复杂的密码。并且自己记录好。

直接鼠标复制黏贴即可,密码是不显示的。

 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

输入以上代码,即可自动安装宝塔面板了。


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM