You’ll need to edit your /etc/hostname file, which is where Ubuntu and other Debian-based distributions store the hostname. In Ubuntu’s Unity desktop, click the Ubuntu button to pull up the dash, search for Terminal, and press Enter. Letters are also case-insensitive, so “COMPUTER” is equivalent to “computer.” The hostname must be between 2 and 63 characters long, although you’ll probably find shorter hostnames more convenient. A hostname must begin and end with a letter or number - not a hyphen or period. Host names can only contain letters (a through z), digits (0 through 9), and the hyphen character ( – ), and the period character (. ![]() ![]() The hostname is supposed to uniquely identify a computer on a network.ĭon’t get too fancy with your hostname. However, you shouldn’t use the same hostname on two different computers on a network, as this can cause problems. You can change the hostname to anything that you want. It’s also shown very visibly in the terminal. ![]() It’s used to identify your computer on the network. The hostname is basically just your computer’s name. A hostname is a name assigned to a “host” - a computer on a network.
0 Comments
Leave a Reply. |