小编ava*_*sin的帖子

默认安装的 debian wheezy 中可以删除 rpcbind 包吗?

安装新的 debian 服务器后,我对其进行了密集扫描以检查它是否没有冗余软件/开放端口。

我发现端口 111 是通过 rpcbind 守护进程使用的(debian wheezy 默认安装 rpcbind 包)。

我发现它们用于 NFS。它们会影响其他任何东西吗?我可以删除这个包吗,然后我的服务器会安全吗?

debian defaults

6
推荐指数
1
解决办法
1万
查看次数

删除 debian wheezy 上用于外发邮件的本地标头

我有干净的 debian wheezy 安装。我需要删除以下标题:

Received: from www-data by %SERVERNAME% with local (Exim 4.80)
Run Code Online (Sandbox Code Playgroud)

相关答案没有帮助,因为我找不到配置它的位置:

我尝试执行 /usr/sbin/exim4 -bP received_header_text,它显示了当前的 received_header_text 变量值。但是我可以在哪里设置呢?

我试图在 /etc/exim4 中查看,但grep -r "received_header_text"没有给出任何结果。我应该在哪里更改 received_header_text 变量值?

exim debian-wheezy

6
推荐指数
1
解决办法
3896
查看次数

从 debian wheezy backports 安装 git:无论如何我看到旧的包版本

我需要安装 git 1.8.* 版本。

  1. 我将向后移植添加到我的 sources.list 中;
  2. 通过apt-get remove git;删除当前安装的 git
  3. 执行apt-get update以更新我的包列表
  4. aptitude show git 仍然显示 Version: 1:1.7.10.4-1+wheezy1

我在做什么错?

这是我的 /etc/apt/sources.list:

deb http://ftp.de.debian.org/debian/ wheezy main
deb-src http://ftp.de.debian.org/debian/ wheezy main

deb http://security.debian.org/ wheezy/updates main
deb-src http://security.debian.org/ wheezy/updates main

# wheezy-updates, previously known as 'volatile'
deb http://ftp.de.debian.org/debian/ wheezy-updates main
deb-src http://ftp.de.debian.org/debian/ wheezy-updates main

# deb multimedia
deb http://www.deb-multimedia.org wheezy main non-free

# wheezy backpors
deb http://ftp.de.debian.org/debian wheezy-backports main
Run Code Online (Sandbox Code Playgroud)

PS我也尝试执行apt-get install git --reinstall,但没有效果-版本仍然是1.7

PPS 是的,我确定它应该是 1.8。在向后移植: …

debian aptitude git apt debian-wheezy

2
推荐指数
1
解决办法
4294
查看次数

标签 统计

debian ×2

debian-wheezy ×2

apt ×1

aptitude ×1

defaults ×1

exim ×1

git ×1