安装新的 debian 服务器后,我对其进行了密集扫描以检查它是否没有冗余软件/开放端口。
我发现端口 111 是通过 rpcbind 守护进程使用的(debian wheezy 默认安装 rpcbind 包)。
我发现它们用于 NFS。它们会影响其他任何东西吗?我可以删除这个包吗,然后我的服务器会安全吗?
我有干净的 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 变量值?
我需要安装 git 1.8.* 版本。
apt-get remove git
;删除当前安装的 gitapt-get update
以更新我的包列表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。在向后移植: …