这里面简单的收集一下Linux各版本常见的源。。。方便以后查看使用,也用于帮助其他的小伙伴…
Kali换源:
#这里用的是阿里云的源(感觉就够了)
deb http://mirrors.aliyun.com/kali kali-rolling main non-free contrib
deb-src http://mirrors.aliyun.com/kali kali-rolling main non-free contrib
Ubuntu换源:
eb http://mirrors.aliyun.com/ubuntu/ bionic main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ bionic-security main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic-security main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ bionic-updates main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic-updates main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ bionic-backports main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic-backports main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ bionic-proposed main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic-proposed main restricted universe multiverse
更源方法:将/etc/apt/sources.list里面的源改为你对应的Linux源
保存后,输入命令 apt-get update(更新包)
ubuntu非root用户需要 : sudo apt-get update
完成
暂时就这些,其他的Linux版本还没接触过。。。
开机自启SSHupdate-rc.d ssh enable