WEIGEL FORUM
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Login

    Debian Change Hostname

    Linux
    1
    1
    27
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • DerMeldosD
      DerMeldos
      last edited by

      1. To set the hostname to server1, run:
      hostnamectl set-hostname server1
      
      1. Edit the file /etc/hosts and update entries:
      nano /etc/hosts
      
      1. Verify it by running the hostnamectl command again.
      hostnamectl
      
      1 Reply Last reply Reply Quote 0
      • First post
        Last post
      Powered by NodeBB | Contributors