zoukankan      html  css  js  c++  java
  • [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,速度特别慢,不知道在做啥操作。论灵活性肯定不如自己搭建,但是胜在小白不需要关注任何事情,并且现在的用户量很大,需求也是有不少

  • 相关阅读:
    js sort方法根据数组中对象的某一个属性值进行排序
    ES6之Array.from()方法
    windows安装gnvm安装教程,node多版本解决方案
    Singleton模式的两种实现形式
    java 一组数随机组合求和等于目标数
    与公式相关的代码片段
    项目总结【Excel中附件导出和导入】
    Hook钩子C#实例
    网上以讹传讹的逻辑推理题:电影票问题
    原创:仿AspNetPager写的JS分页控件,适合ajax调用
  • 原文地址:https://www.cnblogs.com/taoshihan/p/11817007.html
Copyright © 2011-2022 走看看