我在Debian世界里还是个新手。我刚买了一台私人虚拟服务器来托管我的网站,现在正在学习如何正确地保护Web服务器。
如果我理解正确,在执行apt-get update && apt-get upgrade时,apt将从/etc/apt/sources.list列出的存储库中检索已安装软件包的更新。我的sources.list看起来像这样:
deb http://http.debian.net/debian wheezy main
deb-src http://http.debian.net/debian wheezy main
deb http://http.debian.net/debian wheezy-updates main
deb-src http://http.debian.net/debian wheezy-updates main
deb http://security.debian.org/ wheezy/updates main
deb-src http://security.debian.org/ wheezy/updates main
以下是我的问题:
我能删除以"deb-src"开头的行吗?如果我不需要修改软件包源码(显然,我没有这个能力),那么我不需要软件包源码对吧?
有多个仓库(http://http.debian.net/debian 和 http://security.debian.org/)的意义是什么?我看了apt的文档,但是没有找到任何解释。安全.debian.org中是否存在http.debian.net/debian中不存在的软件包?反之亦然?
仓库URI之后是组件。我知道wheezy/stable/testing等之间的区别。但是wheezy和wheezy/updates之间有什么区别?
谢谢!