Welcome to Centmin Mod Community
Register Now

Install Just checked my "/etc/host" file and it's empty..

Discussion in 'Centmin Mod Insights' started by RoldanLT, Jun 6, 2014.

Tags:
  1. RoldanLT

    RoldanLT Well-Known Member

    3,936
    961
    113
    May 25, 2014
    Phillipines
    Ratings:
    +1,312
    Local Time:
    6:04 AM
    1.11
    10.2
    Should be fine?
    Or I should declare my hostname on the file?
    This is a minimal install centos done via vnc.
     
  2. eva2000

    eva2000 Administrator Staff Member

    30,605
    6,862
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,297
    Local Time:
    8:04 AM
    Nginx 1.13.x
    MariaDB 5.5
    check /etc/hosts not /etc/host ?

    yeah minimum i would have is

    Code:
    127.0.0.1   localhost localhost.localdomain localhost4 localhost4.localdomain4
    ::1         localhost localhost.localdomain localhost6 localhost6.localdomain6
    serverip host.domain.com host
     
  3. RoldanLT

    RoldanLT Well-Known Member

    3,936
    961
    113
    May 25, 2014
    Phillipines
    Ratings:
    +1,312
    Local Time:
    6:04 AM
    1.11
    10.2
    /etc/host should be fine blank right?
    /etc/hosts should contain my hostname?
     
  4. eva2000

    eva2000 Administrator Staff Member

    30,605
    6,862
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,297
    Local Time:
    8:04 AM
    Nginx 1.13.x
    MariaDB 5.5
    /etc/host shouldn't exist only /etc/hosts
     
  5. RoldanLT

    RoldanLT Well-Known Member

    3,936
    961
    113
    May 25, 2014
    Phillipines
    Ratings:
    +1,312
    Local Time:
    6:04 AM
    1.11
    10.2
    Aw :D
    I tried nano /etc/host stupid me :D
     
  6. eva2000

    eva2000 Administrator Staff Member

    30,605
    6,862
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,297
    Local Time:
    8:04 AM
    Nginx 1.13.x
    MariaDB 5.5
    haha yeah you can't prevent human error :LOL:
     
    • Like Like x 1