我想在单个用户的 crontab 中使用 UTC 来安排时间,而不管服务器的当前时区如何。如何在 Debian Etch 上执行此操作?
我有一台运行 Etch 的 debian 服务器。我似乎无法再正确运行apt-get update:
root@charm osqa ] apt-get update
Ign http://ftp.uk.debian.org etch Release.gpg
Ign http://ftp.uk.debian.org etch Release
Err http://ftp.uk.debian.org etch/main Packages
404 Not Found
Err http://ftp.uk.debian.org etch/contrib Packages
404 Not Found
Err http://ftp.uk.debian.org etch/non-free Packages
404 Not Found
Failed to fetch http://ftp.uk.debian.org/debian/dists/etch/main/binary-i386/Packages.gz 404 Not Found
Failed to fetch http://ftp.uk.debian.org/debian/dists/etch/contrib/binary-i386/Packages.gz 404 Not Found
Failed to fetch http://ftp.uk.debian.org/debian/dists/etch/non-free/binary-i386/Packages.gz 404 Not Found
Reading package lists... Done
W: Couldn't stat source package list http://ftp.uk.debian.org etch/main Packages (/var/lib/apt/lists/ftp.uk.debian.org_debian_dists_etch_main_binary-i386_Packages) - stat (2 …
Run Code Online (Sandbox Code Playgroud) 我正在尝试更新/etc/apt/sources.list
我的 VPS。当我运行时,apt-get update
我找不到各种 404,例如:
Failed to fetch http://debian.newdream.net/dists/etch/main/binary-amd64/Packages.gz 404 Not Found
Failed to fetch http://security.debian.org/dists/etch/updates/main/binary-amd64/Packages.gz 404 Not Found [IP: 149.20.20.6 80]
Failed to fetch http://www.ksplice.com/apt/dists/etch/ksplice/binary-amd64/Packages.gz 404 Not Found
Run Code Online (Sandbox Code Playgroud)
当我查看http://www.debian.org/releases/etch/ 时,我没有看到任何关于档案的信息。我在archive.debian.org 中,但我对如何遵循它的说明/修改源列表感到有些困惑。以下是当前列表的内容:
deb http://debian.di.newdream.net/ etch ndn
deb http://www.ksplice.com/apt etch ksplice
deb http://debian.newdream.net etch main non-free contrib
deb http://www.backports.org/debian/ etch-backports main
deb http://archive.debian.org/debian-volatile etch/volatile main contrib non-free
deb http://security.debian.org/ etch/updates main
deb http://debian.dc-uoit.net/debian-multimedia/ etch main
Run Code Online (Sandbox Code Playgroud)
从我在存档 README 上阅读的内容来看,我认为格式应该是这样的:
deb http://archive.debian.org/debian-security dists/etch/updates/ main
Run Code Online (Sandbox Code Playgroud)
此外,在注释掉源文件中的大部分(如果不是所有行)之后,我仍然遇到相同的错误。是否有需要运行的命令来清除缓存?
我需要一个安全的电子邮件服务器安装在 debian-lenny 中,用户在 mysql 表中。
用户也来自多个域。
配额应该在 mysql 或所有用户的全局变量中。
我有哪些选择?
在此先感谢您的帮助。
前几天,朋友的服务器被入侵了。攻击安装了一个新的 SSH 守护进程,允许任何有效帐户进入,而无需提供有效密码。登录后,每个账号自动获得root权限,服务器打招呼如下:
该攻击还删除了显示入侵的 syslog 条目(我们通过 syslog 的日志发现了这一点)并更改了/etc/apt/sources.list
.
服务器在 Debian Etch 下运行并且在攻击期间不是最新的:Apache/PHP 没有安装所有安全更新。我们认为入侵可能是由于这些缺少更新而发生的,但我们实际上并不确定。在攻击前一天,我们安装了 Wordpress 3.0.1;但我们不知道安装 Wordpress 是否是开门器。
有没有办法找出服务器上的哪个安全漏洞允许入侵?
我是 Linux 领域的新手。我有一个 linux 盒子,上面写着内核版本是 2.6.18-4-amd64。它已经工作了很长时间。我需要在盒子上安装 subversion,因此我尝试了 apt-get。但收到以下内容:
The following extra packages will be installed:
libneon26 libsvn1
Suggested packages:
subversion-tools db4.4-util
The following NEW packages will be installed:
libneon26 libsvn1 subversion
0 upgraded, 3 newly installed, 0 to remove and 88 not upgraded.
Need to get 1802kB of archives.
After unpacking 5263kB of additional disk space will be used.
Do you want to continue [Y/n]? Y
Fetched 1802kB in 1s (1001kB/s)
W: Couldn't stat source package list http://archive.debian.org etch/main Packages …
Run Code Online (Sandbox Code Playgroud) 我想安装 debian 4 etch(由于兼容性原因,我无法使用 debian 5 lenny)但我找不到它。
我查看了debian archive,但它只列出了 1.1 到 3.1,并且获取 debian页面只列出了安装 debian 5 的方法...
我确定我只是忽略了它,但有人可以指出我可以找到 debian 4 的 ISO 的地方吗?谢谢