阿里云
[!tip] 提示
阿里云 ecs 服务器是空系统,无图形界面
一 开放相应端口
20
21
22
8888
80
39000/40000
3306
3389
888
443
二 安装图形界面(可通过 vnc 管理)
ubuntu 为例
更新软件
apt-get update
升级软件
apt-get upgrade
安装 tasksel 桌面环境安装器
apt-get install tasksel
打开 tasksel 选择桌面环境并安装
tasksel
- 重启ECS服务器
通过vnc登陆
三 安装宝塔服务器管理面板
[!tip] 提示
也可在阿里云镜像市场选择带宝塔的 Centos 系统
安装命令
# Ubuntu/Deepin 版 wget -O install.sh http://download.bt.cn/install/install-ubuntu_6.0.sh && sudo bash install.sh
查看后台登陆页面及默认用户名/密码
/etc/init.d/bt default
登录后台
http://主机ip:8888
卸载命令
/etc/init.d/bt stop && chkconfig --del bt && rm -f /etc/init.d/bt && rm -rf /www/server/panel