如何在非服务器安装上获取服务器MOTD


10

有没有办法让我的Ubuntu Alternate安装中的Ubuntu Server安装上显示出奇特的MOTD?像这样:

Welcome to Ubuntu 11.10 (GNU/Linux 3.0.0-12-server x86_64)

 * Documentation:  https://help.ubuntu.com/11.10/serverguide/C

  System information as of Sun Nov  6 00:38:01 PDT 2011

  System load:  0.0                Processes:           88
  Usage of /:   0.8% of 227.98GB   Users logged in:     0
  Memory usage: 14%                IP address for eth0: 10.13.37.147
  Swap usage:   0%

  Graph this data and manage this system at https://landscape.canonical.com/

Answers:


11

自Stefano Palazzo认为这是一个好主意以来,将此作为答案发布。

动态MOTD是“ landscape-common”程序包的一部分。因此,只需使用以下命令进行安装:

sudo apt-get install landscape-common

就像对其他人的注释:在安装了landscape-common之后,花了几分钟时间,并进行了两次SSH登录才能最终看到所需的MOTD。不知道为什么会这样,也许/etc/update-motd.d是在某种CRON上解析的。
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.