tonny-zhang / tonny-zhang.github.com

4 stars 1 forks source link

Ubuntu相关 #66

Open tonny-zhang opened 7 years ago

tonny-zhang commented 7 years ago

Debian系统删除 /lib 目录修复过程

  1. 进入resume模式
  2. 选择 /lib 所在分区
  3. 在系统盘下运行 shell 进入之后可以看到 target 即是要操作的分区的根目录
  4. 还原相应文件即可
tonny-zhang commented 7 years ago

apt 阿里源

# 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
  1. 编辑 /etc/apt/source.list 填写上面的内容
  2. sudo apt-get update
tonny-zhang commented 7 years ago

更新安装源的几种方案

https://www.youyong.top/article/1158e2a2b98f

update_source.sh

tonny-zhang commented 7 years ago

美国源

相关说明 deb http://us.archive.ubuntu.com/ubuntu trusty main restricted deb http://security.ubuntu.com/ubuntu trusty-security main restricted deb http://us.archive.ubuntu.com/ubuntu trusty-updates main restricted

tonny-zhang commented 6 years ago

内核升级

https://blog.csdn.net/csdn_duomaomao/article/details/77668946

现现空间不足时处理办法:http://alitrack.com/2016/11/07/ubuntu%E4%B8%8B%E5%A6%82%E4%BD%95%E5%88%A0%E9%99%A4%E6%97%A7%E5%86%85%E6%A0%B8/