第一步:在Xsheel上连接服务器
![在这里插入图片描述](https://i-blog.csdnimg.cn/blog_migrate/99c1262ee9eb764b134f24c90cfd24e6.png#pic_center)
此处hostname为ip地址
然后设置登录主机,一般为root
密码需要你在阿里云里面重置一下密码
第二步安装宝塔
1.将以下代码复制到Xsheel页面里回车
yum install -y wget && wget -O install.sh http://download.bt.cn/install/install_6.0.sh && bash install.sh
2.你会遇到一个是否安装的提示,输入 y
然后等待安装完成
3.使用外网面板地址打开(记得打开8888端口)
填写账号密码即可进入