You are not logged in.

#1 2011-01-18 13:16:06

zia.newversion
Member
Registered: 2011-01-17
Posts: 8

How do I change the hostname of my PC?

I am using only base Arch, just the command line version, nothing extra.
After fresh install, the default hostname is myhost.
I want to change it. The command

hostname V-Arch-Min

does not work...

Offline

#2 2011-01-18 13:18:02

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,392
Website

Re: How do I change the hostname of my PC?

edit /etc/rc.conf.

Offline

#3 2011-01-18 13:23:48

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,597
Website

Re: How do I change the hostname of my PC?

...and don't forget to change it in /etc/hosts


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#4 2011-01-18 14:41:06

zia.newversion
Member
Registered: 2011-01-17
Posts: 8

Re: How do I change the hostname of my PC?

Got it. Thank you.

Offline

#5 2011-01-18 15:40:50

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: How do I change the hostname of my PC?

Mark as solved please. Also please search the wiki and or forums before posting. All this information is readily available. Also take some time to go through our forum rules. (see my sig)

Welcome to the forums.


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

Board footer

Powered by FluxBB