美文网首页
安装ubuntu后的基本配置

安装ubuntu后的基本配置

作者: 紫石南 | 来源:发表于2017-08-03 16:47 被阅读16次

    安装vim

    sudo apt-get install vim

    修改源,推荐aliyun

    文件内容

    deb http://mirrors.aliyun.com/ubuntu/ vivid main restricted universe multiverse
    deb http://mirrors.aliyun.com/ubuntu/ vivid-security main restricted universe multiverse
    deb http://mirrors.aliyun.com/ubuntu/ vivid-updates main restricted universe multiverse
    deb http://mirrors.aliyun.com/ubuntu/ vivid-proposed main restricted universe multiverse
    deb http://mirrors.aliyun.com/ubuntu/ vivid-backports main restricted universe multiverse
    deb-src http://mirrors.aliyun.com/ubuntu/ vivid main restricted universe multiverse
    deb-src http://mirrors.aliyun.com/ubuntu/ vivid-security main restricted universe multiverse
    deb-src http://mirrors.aliyun.com/ubuntu/ vivid-updates main restricted universe multiverse
    deb-src http://mirrors.aliyun.com/ubuntu/ vivid-proposed main restricted universe multiverse
    deb-src http://mirrors.aliyun.com/ubuntu/ vivid-backports main restricted universe multiverse
    

    修改步骤

    sudo cp /etc/apt/sources.list /etc/apt/sources.list.bak
    sudo vim /etc/apt/sources.list
    sudo apt-get update
    sudo apt-get upgrade
    

    相关文章

      网友评论

          本文标题:安装ubuntu后的基本配置

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