zoukankan      html  css  js  c++  java
  • ubuntu 国内源

    a.修改国外官方源为国内源头(如果你的网速很快,可以忽略本步骤)

    sudo cp /etc/apt/sources.list /etc/apt/sources.list_backup 备份
    gksu gedit /etc/apt/sources.list                           编辑源列表
    删除sources.list文件里面的任何内容修改为:
    deb http://ubuntu.cn99.com/ubuntu/ gutsy main restricted universe multiverse
    deb http://ubuntu.cn99.com/ubuntu/ gutsy-security main restricted universe multiverse
    deb http://ubuntu.cn99.com/ubuntu/ gutsy-updates main restricted universe multiverse
    deb http://ubuntu.cn99.com/ubuntu/ gutsy-proposed main restricted universe multiverse
    deb http://ubuntu.cn99.com/ubuntu/ gutsy-backports main restricted universe multiverse
    deb-src http://ubuntu.cn99.com/ubuntu/ gutsy main restricted universe multiverse
    deb-src http://ubuntu.cn99.com/ubuntu/ gutsy-security main restricted universe multiverse
    deb-src http://ubuntu.cn99.com/ubuntu/ gutsy-updates main restricted universe multiverse
    deb-src http://ubuntu.cn99.com/ubuntu/ gutsy-proposed main restricted universe multiverse
    deb-src http://ubuntu.cn99.com/ubuntu/ gutsy-backports main restricted universe multiverse
    deb http://ubuntu.cn99.com/ubuntu-cn/ gutsy main restricted universe multiverse

    这个源速度比较快,跟官方同步的频率也很高。你还可以在网络上面找到更多的源服务器,不过我使用的是cn99.com.

    接下来:

    sudo apt-get update         更新源列表,必须执行.
    sudo apt-get dist-upgrade        更新软件,我感觉没有必要,这很耗费时间.

    b.中文化.你可能已经注意到,尽管安装的时候语言选择的是中文,但是实际上并不是完全中文.你还需要在找到:"系统->系统管理 -> 语言支持",在列表中勾选"chinese",应用,确定。等待下载安装完成。 

  • 相关阅读:
    获取华为OID
    win10 mongodb的安装
    第一次使用plotly画图遇到的问题
    Java Serialable序列化
    yield(),sleep(),join()
    线程的启动的两种方法,Runnable接口,run()的调用
    Thread的中断机制
    Oracle VM VirtualBox 修改备份位置
    潜在因子算法
    Linux--常用命令
  • 原文地址:https://www.cnblogs.com/webu/p/2820750.html
Copyright © 2011-2022 走看看