美文网首页
ubuntu14.04 安装和升级到16.04

ubuntu14.04 安装和升级到16.04

作者: 王象 | 来源:发表于2018-03-20 17:22 被阅读0次

    一 ,win7下安装ubuntu14.04
    1.下载wubi版14.04
    2.从iso文件解压出wubi文件;iso文件和wubi在同一目录即可;
    3.点击wubi开始安装;
    4.安装完成后,进入win7设计启动双菜单;
    5.进入grub引导时,按e进入,然后修改ro为rw,按F10进入ubuntu系统;(解决进入系统界面 | 错误)
    6.ctrl+alt+t 调出终端;sudo gedit /etc/grub.d/grub_10lupin 文件修改ro为rw;(解决下次进入系统报错问题)
    7.重启进入系统;

    二,ubuntu14.04升级16.04
    使用系统自带升级提示升级;之前使用命令升级出现莫名错误.

    三,部分软件安装记录
    chrome安装
    1.下载https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
    2.sudo dpkg -i google-chrome-stable_current_amd64.deb
    若:错误发生google-chrome-stable ,先执行sudo apt-get -f install
    3.使用“搜索您的计算机”启动google chrome;可以右键锁定到菜单
    4.导入hosts:
    https://github.com/googlehosts/hosts/tree/master/hosts-files,导入hosts

    源更新:
    1.cp /etc/apt/sources.list /etc/apt/sources.list.bak
    2.sudo gedit /etc/apt/sources.list 替换内容:

    deb cdrom:[Ubuntu 16.04 LTS Xenial Xerus - Release amd64 (20160420.1)]/ xenial main restricted

    deb-src http://archive.ubuntu.com/ubuntu xenial main restricted #Added by software-properties
    deb http://mirrors.aliyun.com/ubuntu/ xenial main restricted
    deb-src http://mirrors.aliyun.com/ubuntu/ xenial main restricted multiverse universe #Added by software-properties
    deb http://mirrors.aliyun.com/ubuntu/ xenial-updates main restricted
    deb-src http://mirrors.aliyun.com/ubuntu/ xenial-updates main restricted multiverse universe #Added by software-properties
    deb http://mirrors.aliyun.com/ubuntu/ xenial universe
    deb http://mirrors.aliyun.com/ubuntu/ xenial-updates universe
    deb http://mirrors.aliyun.com/ubuntu/ xenial multiverse
    deb http://mirrors.aliyun.com/ubuntu/ xenial-updates multiverse
    deb http://mirrors.aliyun.com/ubuntu/ xenial-backports main restricted universe multiverse
    deb-src http://mirrors.aliyun.com/ubuntu/ xenial-backports main restricted universe multiverse #Added by software-properties
    deb http://archive.canonical.com/ubuntu xenial partner
    deb-src http://archive.canonical.com/ubuntu xenial partner
    deb http://mirrors.aliyun.com/ubuntu/ xenial-security main restricted
    deb-src http://mirrors.aliyun.com/ubuntu/ xenial-security main restricted multiverse universe #Added by software-properties
    deb http://mirrors.aliyun.com/ubuntu/ xenial-security universe
    deb http://mirrors.aliyun.com/ubuntu/ xenial-security multiverse
    3.sudo apt-get update

    相关文章

      网友评论

          本文标题:ubuntu14.04 安装和升级到16.04

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