source.list的编辑,先备份好,才对。 vim /etc/apt/source.list 然后加入 # 国内主要的源 debhttp://ftp2.cn.debian.org/debian/stretch main contrib non-free deb-srchttp://ftp2.cn.debian.org/debian/stretch main contrib non-free 到使用的时候只要变更上的网址就好了。20171008feng...
source.list文件位于"/etc/apt"或者目录下,可以使用"vi"编辑去编辑此文件。 查看和编辑 使用命令 AI检测代码解析 cat /etc/apt/sources.list vi /etc/apt/sources.list 1. 2. 格式说明 格式如下: AI检测代码解析 deb http://ftp.cn.debian.org/debian stretch main deb http://ftp.jp.debian.org/debian...
一、源source list /etc/apt下的sources.list,是apt-get命令取得软件包信息和实体的在线源。 使用网易的源,列举如下: deb http://mirrors.163.com/debian/ stretch main non-free contribdeb http://mirrors.163.com/debian/ stretch-updates main non-free contribdeb http://mirrors.163.com/debian/ stretch...
DistributorID: DebianDescription: Debian GNU/Linux9.4(stretch)Release:9.4Codename: stretch kyeup@kyeup-nas:~$ cat /etc/apt/source-list # debcdrom:[Debian GNU/Linux9.4.0_Stretch_ - Official amd64 xfce-CD Binary-120180310-11:21]/ stretch main#debcdrom:[Debian GNU/Linux9.4.0_Stretch_ - O...
我们也可以使用阿里云的 Debian Stretch 源,具体的配置如下: cat>/etc/apt/source.list<<ENDdeb http://mirrors.aliyun.com/debian stretch main contrib non-freedeb http://mirrors.aliyun.com/debian stretch-proposed-updates main contrib non-freedeb http://mirrors.aliyun.com/debian stretch-updates main...
怎样设置Debian Stretch的软件源? 采用最小化方式安装的 Debian,在没有接入网络的情况下,默认是没有配置 apt 安装源,也没有安装远程管理用的 SSH 服务的,这个时候就无法使用 apt-get install 在线安装软件的,为使用带来不便。以下为大家提供几个 Debian Stretch 的 apt-get 源配置,详细有不好爱好者在使用 Stretc...
示例sources.list 下面是Debian 9 / Stretch 的sources.list示例。 AI检测代码解析 deb http://deb.debian.org/debian stretch main deb-src http://deb.debian.org/debian stretch main deb http://deb.debian.org/debian-security/ stretch/updates main ...
Debian 9(代号为 Stretch),镜像源已由原来的jessie更新为了stretch,为了安全起见需要先备份,再进行配置新的镜像源。修改debian9镜像源方法如下: 1、备份原有镜像源配置文件: cp /etc/apt/sources.list /etc/apt/sources.list.bak 2、打开sources.list文件,注释原有CD源代码,更新镜像源地址为163镜像源,代码如下:...
deb-src http://deb.debian.org/debian stretch main 到这里,小鸡的开通及连接教程已全部完成。 3.配置外网端口转发,在母鸡中执行,代码如下: iptables-tnat-APREROUTING-ivmbr0-ptcp--dport10022-jDNAT--to-destination10.10.10.100:22 iptables-tnat-APREROUTING-ivmbr0-pudp--dport10022-jDNAT--to-desti...