Linux基础(Ubuntu)

Posted alin_qu

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Linux基础(Ubuntu)相关的知识,希望对你有一定的参考价值。

 更换apt源为阿里云

 1.备份 /etc/apt/sources.list
 2.vim 编辑 /etc/apt/sources.list
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://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.apt-get update 更新源

 网卡相关

#增加DNS服务器
修改 /etc/resolv.conf 添加 114.114.114.114

#
查看网卡信息 ifconfig #重启单个网卡 ifdown eth0 && ifup eth0 #重启所有网卡 /etc/init.d/network restart

 




以上是关于Linux基础(Ubuntu)的主要内容,如果未能解决你的问题,请参考以下文章

20155201 李卓雯 《网络对抗技术》实验一 逆向及Bof基础

python 一个终端代码片段,在mac上生成可启动的usb live CD,以运行类似ubuntu或debian的内容。

逆向及Bof基础实践

续:纠正:ubuntu7.04可以安装,而且完美的安装 ! for《Oracle-10.2.0.1,打补丁10.2.0.5:在 debian 版本4不含4以上,及 ubuntu 7.04不含(代码片段

20155307刘浩《网络对抗》逆向及Bof基础

Linux基础(Ubuntu)