Sunday, March 13, 2011

Changing hostname on OpenSUSE

When I installed openSUSE, the installer assigned a seemingly random name to the machine. As is the case with Linux there are many ways to do it.

It can be changed graphically in openSUSE. To do so click on kicker (), then select Computer  (), finally click on YAST (). Running YAST requires root (administrative) password, so for this screen supply your root password.
Figure 1. Enter root password.

Once root password is entered you should see this screen. 
Figure 2. YaST Control Center

Now click on Network Devices then Network Settings.From Network Settings, select Hostname/DNS tab.
Figure 3. YaST2 Network Settings

Supply new value for the hostname field, click on OK and you are done.



No comments: