美文网首页
[M004] deploy :kylinOS ATP local

[M004] deploy :kylinOS ATP local

作者: JeffenCheung | 来源:发表于2020-03-09 21:52 被阅读0次
    1. ARM公共源
    # 阿里云公共ARM的源
    deb http://mirrors.aliyun.com/ubuntu-ports/ xenial main
    deb-src http://mirrors.aliyun.com/ubuntu-ports/ xenial main
    deb http://mirrors.aliyun.com/ubuntu-ports/ xenial-updates main
    deb-src http://mirrors.aliyun.com/ubuntu-ports/ xenial-updates main
    deb http://mirrors.aliyun.com/ubuntu-ports/ xenial universe
    deb-src http://mirrors.aliyun.com/ubuntu-ports/ xenial universe
    deb http://mirrors.aliyun.com/ubuntu-ports/ xenial-updates universe
    deb-src http://mirrors.aliyun.com/ubuntu-ports/ xenial-updates universe
    deb http://mirrors.aliyun.com/ubuntu-ports/ xenial-security main
    deb-src http://mirrors.aliyun.com/ubuntu-ports/ xenial-security main
    deb http://mirrors.aliyun.com/ubuntu-ports/ xenial-security universe
    deb [arch=armhf] https://download.docker.com/linux/ubuntu xenial stable
    # deb-src [arch=armhf] https://download.docker.com/linux/ubuntu xenial stable
    deb [arch=amd64] https://download.docker.com/linux/ubuntu xenial stable
    # deb-src [arch=amd64] https://download.docker.com/linux/ubuntu xenial stable
    deb-src http://mirrors.aliyun.com/ubuntu-ports/ xenial-security universe
    

    issue:

    • pull下载拉取安装mariadb10.0失败,需麒麟原厂提供总源

    solution1:「原厂源」

    # 4.0.2-sp2 FT2000+服务器版本:
    deb http://archive.kylinos.cn/kylin/KYLIN-ALL 4.0.2sp2-server-ft2000 main restricted universe multiverse
    

    solution2:搭建本地源

    1. 上传KYLIN-ALL源文件至环境/home目录下;
    2. 配置本地apt源:
    vim /etc/apt/sources.list
    #deb http://archive.kylinos.cn/kylin/KYLIN-ALL 4.0.2-desktop main restricted universe multiverse:
    deb file:///home/KYLIN-ALL 4.0.2-desktop main restricted universe multiverse
    
    #4.0.2桌面版本:
    deb file:///home/KYLIN-ALL  4.0.2-desktop main restricted universe multiverse
    
    #4.0.2-sp1桌面版本:
    deb file:///home/KYLIN-ALL  4.0.2sp1-desktop main restricted universe multiverse
    
    #4.0.2-sp2桌面版本:
    deb file:///home/KYLIN-ALL 4.0.2sp2-desktop main restricted universe multiverse
    
    #4.0.2服务器版本:
    deb file:///home/KYLIN-ALL 4.0.2-server main restricted universe multiverse
    
    #4.0.2-sp1服务器版本:
    deb file:///home/KYLIN-ALL 4.0.2sp1-server main restricted universe multiverse
    
    #4.0.2-sp2服务器版本:
    deb file:///home/KYLIN-ALL 4.0.2sp2-server main restricted universe multiverse
    
    #4.0.2-sp2 FT2000+服务器版本:
    deb file:///home/KYLIN-ALL 4.0.2sp2-server-ft2000 main restricted universe multiverse
    
    1. 清除历史apt源
    apt-get clean all
    
    1. 安装apache2
    apt-get install apache2
    
    1. 将apt源以软连接的方式挂载至/var/www/html/
    ln -s /home/KYLIN-ALL /var/www/html/
    
    1. 验证以http方式是否可以正常访问。
    http://172.16.146.10/KYLIN-ALL/
    
    1. 参考
      ubuntu下的apt内网本地源的正确搭建
      Ubuntu apt iso镜像 本地源配置

    相关文章

      网友评论

          本文标题:[M004] deploy :kylinOS ATP local

          本文链接:https://www.haomeiwen.com/subject/tgwmdhtx.html