login每天学习一点点,每天进步一点点.
当前位置:首页 >> Ubuntu/Kali/Bt5/Debian更新源

Ubuntu/Kali/Bt5/Debian更新源

2013-11-27 23:14:00  |  分类: Linux |  标签: Linux源  ubuntu  阅读(633)评论(0)

apt-get update

apt-get upgrade


SSH加入自动启动

方法一:[root@localhost ~]# vi /etc/rc.local
加入:service sshd start 或  /etc/init.d/sshd start

方法二:进入/etc/rc.d然后进入相应运行
级别如rc3.d.将K打头的ssh服务改为S开头的

sudo cp /etc/apt/sources.list /etc/apt/sources.list.backup (备份下当前的源列表)
sudo gedit /etc/apt/sources.list 修改更新源
sudo apt-get update    修改完毕后执行,更新源。

把里面的列表替换成下面的列表

    163源

deb http://mirrors.163.com/ubuntu/ precise main restricted

deb-src http://mirrors.163.com/ubuntu/ precise main restricted

deb http://mirrors.163.com/ubuntu/ precise-updates main restricted

deb-src http://mirrors.163.com/ubuntu/ precise-updates main restricted

deb http://mirrors.163.com/ubuntu/ precise universe

deb-src http://mirrors.163.com/ubuntu/ precise universe

deb http://mirrors.163.com/ubuntu/ precise-updates universe

deb-src http://mirrors.163.com/ubuntu/ precise-updates universe

deb http://mirrors.163.com/ubuntu/ precise multiverse

deb-src http://mirrors.163.com/ubuntu/ precise multiverse

deb http://mirrors.163.com/ubuntu/ precise-updates multiverse

deb-src http://mirrors.163.com/ubuntu/ precise-updates multiverse

deb http://mirrors.163.com/ubuntu/ precise-backports main restricted universe multiverse

deb-src http://mirrors.163.com/ubuntu/ precise-backports main restricted universe multiverse

deb http://mirrors.163.com/ubuntu/ precise-security main restricted

deb-src http://mirrors.163.com/ubuntu/ precise-security main restricted

deb http://mirrors.163.com/ubuntu/ precise-security universe

deb-src http://mirrors.163.com/ubuntu/ precise-security universe

deb http://mirrors.163.com/ubuntu/ precise-security multiverse

deb-src http://mirrors.163.com/ubuntu/ precise-security multiverse

deb http://extras.ubuntu.com/ubuntu precise main

deb-src http://extras.ubuntu.com/ubuntu precise main

    aliyun源

 deb http://mirrors.aliyun.com/ubuntu/ precise main restricted universe multiverse
 deb http://mirrors.aliyun.com/ubuntu/ precise-security main restricted universe multiverse
 deb http://mirrors.aliyun.com/ubuntu/ precise-updates main restricted universe multiverse
 deb http://mirrors.aliyun.com/ubuntu/ precise-proposed main restricted universe multiverse
 deb http://mirrors.aliyun.com/ubuntu/ precise-backports main restricted universe multiverse
 deb-src http://mirrors.aliyun.com/ubuntu/ precise main restricted universe multiverse
 deb-src http://mirrors.aliyun.com/ubuntu/ precise-security main restricted universe multiverse
 deb-src http://mirrors.aliyun.com/ubuntu/ precise-updates main restricted universe multiverse
 deb-src http://mirrors.aliyun.com/ubuntu/ precise-proposed main restricted universe multiverse
 deb-src http://mirrors.aliyun.com/ubuntu/ precise-backports main restricted universe multiverse

kali linux 

deb http://ftp.de.debian.org/debian wheezy main non-free

deb http://http.kali.org/kali kali main non-free contrib
deb-src http://http.kali.org/kali kali main non-free contrib
deb http://security.kali.org/kali-security kali/updates main contrib non-free
deb http://ftp.sjtu.edu.cn/debian wheezy main non-free contrib 
deb-src http://ftp.sjtu.edu.cn/debian wheezy main non-free contrib 
deb http://ftp.sjtu.edu.cn/debian wheezy-proposed-updates main non-free contrib 
deb-src http://ftp.sjtu.edu.cn/debian wheezy-proposed-updates main non-free contrib 
deb http://ftp.sjtu.edu.cn/debian-security wheezy/updates main non-free contrib 
deb-src http://ftp.sjtu.edu.cn/debian-security wheezy/updates main non-free contrib 
deb http://mirrors.163.com/debian wheezy main non-free contrib 
deb-src http://mirrors.163.com/debian wheezy main non-free contrib 
deb http://mirrors.163.com/debian wheezy-proposed-updates main non-free contrib 
deb-src http://mirrors.163.com/debian wheezy-proposed-updates main non-free contrib 
deb-src http://mirrors.163.com/debian-security wheezy/updates main non-free contrib 
deb http://mirrors.163.com/debian-security wheezy/updates main non-free contrib


BT5 R3默认源

deb http://mirrors.ustc.edu.cn/backtrack/source revolution main microverse non-free testing

deb http://mirrors.ustc.edu.cn/backtrack/all revolution main microverse non-free testing

deb http://mirrors.ustc.edu.cn/backtrack/32 revolution main microverse non-free testing

deb http://mirror.edu.backtrack-cn.org/backtrack/32 revolution main microverse non-free testing

deb http://mirror.edu.backtrack-cn.org/backtrack/all revolution main microverse non-free testing

deb http://mirror.edu.backtrack-cn.org/backtrack/source revolution main microverse non-free testing

deb http://all.repository.backtrack-linux.org revolution main microverse non-free testing

deb http://64.repository.backtrack-linux.org revolution main microverse non-free testing

deb http://source.repository.backtrack-linux.org revolution main microverse non-free testing

deb http://ubuntu.uestc.edu.cn/ubuntu/ lucid main restricted universe multiverse

deb http://ubuntu.uestc.edu.cn/ubuntu/ lucid-backports restricted universe multiverse

deb http://ubuntu.uestc.edu.cn/ubuntu/ lucid-proposed main restricted universe multiverse

deb http://ubuntu.uestc.edu.cn/ubuntu/ lucid-security main restricted universe multiverse

deb http://ubuntu.uestc.edu.cn/ubuntu/ lucid-updates main restricted universe multiverse



上一篇:ubuntu使用nmap查询端口 下一篇:ThinkPHP5 的视图$view->fetch()和$view->display()的区别

猜你喜欢

发表评论:

0.062851s