【问题标题】:Installing mailutils using apt-get without user intervention使用 apt-get 安装 mailutils,无需用户干预
【发布时间】:2013-03-06 08:20:57
【问题描述】:

在 ubuntu 12.04 上使用 apt-get 安装 mailutils 时,有两种情况需要手动干预,首先选择站点配置,其次输入框的主机名。有没有办法自动安装?我需要在许多服务器上安装软件包并且作为 n00b 系统管理员,我还没有找到解决方案。我可以从源代码制作和安装,但是它还有其他问题。谢谢。

【问题讨论】:

标签: linux email apt-get


【解决方案1】:

您可能需要查看 debconf 配置细节。这是link that should help

【讨论】:

    【解决方案2】:

    您可以使用debconf-set-selections 预选答案:

    $ debconf-set-selections <<< "postfix postfix/mailname string your.hostname.com"
    $ debconf-set-selections <<< "postfix postfix/main_mailer_type string 'Internet Site'"
    $ apt-get install -y mailutils
    

    【讨论】:

      猜你喜欢
      • 2011-09-08
      • 1970-01-01
      • 1970-01-01
      • 2023-03-17
      • 2020-03-24
      • 2020-12-22
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多