Learn about Centmin Mod LEMP Stack today
Register Now

Install welcome message question + aliases question

Discussion in 'Install & Upgrades or Pre-Install Questions' started by hitman, Sep 15, 2016.

  1. hitman

    hitman Member

    126
    11
    18
    Jul 18, 2014
    Ratings:
    +15
    Local Time:
    9:52 AM
    hello
    i remember that in 08 version the welcome message is in /etc/motd
    in 09 beta, where is the welcome message stored?


    also where all the aliases like the centmin itself reside?
    (nginxconf,nprestart etc -> these aliases i mean)

     
  2. eva2000

    eva2000 Administrator Staff Member

    55,163
    12,249
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,825
    Local Time:
    4:52 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    123.09beta01 made motd dynamic
    It is still controlled by variable ENABLEMOTD='y' which you can set in persistent config file /etc/centminmod/custom_config.inc to enable or disable. To edit, it's a bit more difficult as it's a shell script symlinked at /usr/local/bin/dmotd to source location in Centmin Mod code at /usr/local/src/centminmod/config/motd/dmotd.sh and will get updated with centmin.sh menu option 23 related updates automatically. If you do edit it, you can break centmin.sh menu option 23 updates.

    What do you intend to do motd wise ? edit? modify it ? disable it ? Centmin Mod 123.09beta01 version also checks for latest nginx version and if any centmin mod local code updates are available.

    for command shortcuts see FAQ item 16. They're custom created files in /usr/bin i.e. /usr/bin/nprestart etc.
     
  3. eva2000

    eva2000 Administrator Staff Member

    55,163
    12,249
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,825
    Local Time:
    4:52 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+