一、Ubuntu16.10体验基础配置五个操作

前端之家收集整理的这篇文章主要介绍了一、Ubuntu16.10体验基础配置五个操作前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

安装Ubuntu 为避免后期麻烦可以尽量将home设置为大容量磁盘;

  1. 修改IP地址


    输入IP地址和inet类型;

    auto enp3s0
    iface enp3s0 inet static #设置接口enp3s0网络类型为静态

    address 192.168.18.202 #配置IP地址,address约定俗成的写法

    netmask 255.255.255.0 #子网掩码配置

    修改DNS

    sudo vi /etc/resolvconf/resolv.conf/base

    nameserver 8.8.8.8

    nameserver 202.96.209.133


  2. 添加apt源

    $sudo vi /etc/apt/sources.list

    $sudo apt-get upgrade

复制以下源添加到sources.list源,注释到地方可以不用在意,主要为快速更新,不影响其他。清华源地址:deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial main restricted universe multiverse# deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial main main restricted universe multiversedeb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial-updates main restricted universe multiverse# deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial-updates main restricted universe multiversedeb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial-backports main restricted universe multiverse# deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial-backports main restricted universe multiversedeb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial-security main restricted universe multiverse# deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial-security main restricted universe multiverse

猜你在找的Ubuntu相关文章