zoukankan      html  css  js  c++  java
  • ubuntu 环境安装

    更新国内软件源

    • 首先备份现有source.list
    sudo mv /etc/apt/source.list /etc/apt/source.list.original
    
    • 编辑新的source.list
    sudo vim source.list
    
    • 添加国内源。
    deb http://cn.archive.ubuntu.com/ubuntu bionic main multiverse restricted universe
    deb http://cn.archive.ubuntu.com/ubuntu bionic-updates main multiverse restricted universe
    deb http://cn.archive.ubuntu.com/ubuntu bionic-security main multiverse restricted universe
    deb http://cn.archive.ubuntu.com/ubuntu bionic-proposed main multiverse restricted universe
    
    • 或者添加阿里云源
    deb http://mirrors.aliyun.com/ubuntu/ bionic main restricted universe multiverse
    deb-src http://mirrors.aliyun.com/ubuntu/ bionic main restricted universe multiverse
    deb http://mirrors.aliyun.com/ubuntu/ bionic-security main restricted universe multiverse
    deb-src http://mirrors.aliyun.com/ubuntu/ bionic-security main restricted universe multiverse
    deb http://mirrors.aliyun.com/ubuntu/ bionic-updates main restricted universe multiverse
    deb-src http://mirrors.aliyun.com/ubuntu/ bionic-updates main restricted universe multiverse
    deb http://mirrors.aliyun.com/ubuntu/ bionic-backports main restricted universe multiverse
    deb-src http://mirrors.aliyun.com/ubuntu/ bionic-backports main restricted universe multiverse
    deb http://mirrors.aliyun.com/ubuntu/ bionic-proposed main restricted universe multiverse
    deb-src http://mirrors.aliyun.com/ubuntu/ bionic-proposed main restricted universe multiverse
    
    • 更新apt
    sudo apt update
    联系方式:emhhbmdfbGlhbmcxOTkxQDEyNi5jb20=
  • 相关阅读:
    Linux 内核中的 Device Mapper 机制
    阿里云 Angular 2 UI框架 NG-ZORRO介绍
    Docker容器 暴露多个端口
    修改docker容器的端口映射
    Ubuntu Docker安装
    Docker容器技术的PaaS云平台架构设计***
    scala 学习笔记三 闭包
    scala 学习笔记二 方法与函数
    scala 学习笔记一 列表List
    Python3 写Windows Service服务程序
  • 原文地址:https://www.cnblogs.com/zl1991/p/15175826.html
Copyright © 2011-2022 走看看