上一篇文章,已经说明了虚拟机的网络配置,此篇文章,就讲讲考拉自己在新系统安装好后的一些初始化配置。
声明:
考拉实验环境,virtualbox 5.2.0,宿主机 win10 企业版,网络连接 LAN ,客户机 debian-9.2.1,客户机只安装了基本系统,没有安装图形化界面。
1.Change the source(更换源)
在终端中,输入命令: lsb_release -a ,获取当前系统的版本及开发代号,考拉的版本及代号为:debian GNU\Linux 9.1(stretch)。
使用 vi 打开" /etc/apt/sources.list " 文件,把原文删除 || 注释,添加新的内容:
deb http://mirrors.aliyun.com/debian stretch main contrib non-free
deb-src http://mirrors.aliyun.com/debian stretch main contrib non-free
deb http://mirrors.aliyun.com/debian stretch-updates main contrib non-free
deb-src http://mirrors.aliyun.com/debian