[Linux] 纯净ubuntu快速搭建宝塔面板

宝塔官方建议是纯净的系统,我使用docker运行一个ubuntu容器,模拟一个纯净的系统,这样也不会影响到我的其他服务。

docker run --name baota -id -p 8888:8888 ubuntu
docker exec -it baota bash
apt-get update
apt-get install wget vim

更改以下源地址,不改速度奇慢
vim /etc/apt/sources.list
deb http://mirrors.aliyun.com/ubuntu/ bionic main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ bionic-security main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ bionic-updates main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ bionic-proposed main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ bionic-backports main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic-security main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic-updates main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic-proposed main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic-backports main restricted universe multiverse

apt-get update

宝塔官方提供的安装命令
wget -O install.sh http://download.bt.cn/install/install-ubuntu_6.0.sh && bash install.sh

安装完成后的登录地址和用户名密码
Bt-Panel: http://1.180.xxx.xxx:8888/2bdec3a8
username: ywhnrs2u
password: 0aa6b647

这个地址不对,我改成http://127.0.0.1:8888/2bdec3a8
安装个lnmp,速度特别慢,不知道在做啥操作。论灵活性肯定不如自己搭建,但是胜在小白不需要关注任何事情,并且现在的用户量很大,需求也是有不少

posted @ 2019-11-07 23:23  陶士涵  阅读(...)  评论(...编辑  收藏