Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Linux 101: Set hostname and domain name
#1
Information 
Set hostname:

sudo nano /etc/hostname

Insert hostname of your PC, example:

mylinuxdesktop


Set domain name:

sudo nano /etc/hosts

Insert name after IP address of your network adapter, example for local network in Ubuntu:

    127.0.1.1       mylinuxdesktop.linuxfornoobs.com mylinuxdesktop
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)