配置ssh 允许 root直接远程登录 修改配置文件目录 nano /etc/ssh/sshd_config 修改如下 PermitRootLogin yes 重启服务 /etc/init.d/ssh restart
把其他的全部注释掉(#),用163的镜像,速度嗖嗖的。
CODE: deb [url]http://mirrors.163.com/debian/[/url] stretch main non-free contrib deb [url]http://mirrors.163.com/debian/[/url] stretch-updates main non-free contrib deb [url]http://mirrors.163.com/debian/[/url] stretch-backports main non-free contrib
deb-src [url]http://mirrors.163.com/debian/[/url] stretch main non-free contrib deb-src [url]http://mirrors.163.com/debian/[/url] stretch-updates main non-free contrib deb-src [url]http://mirrors.163.com/debian/[/url] stretch-backports main non-free contrib
deb [url]http://mirrors.163.com/debian-security/[/url] stretch/updates main non-free contrib deb-src [url]http://mirrors.163.com/debian-security/[/url] stretch/updates main non-free contrib |