Its time again to upgrade my home made nas running ubuntu server. Current machine is a core duo running five 500gb seagate hard disks. One of my pet peeves of the current nas server is when I disk dies I need to shutdown the disk, pull the case apart, take out the disk then assemble the unit back to operating normality. I have decided with the new server that the disks shall be hot swappable. In order for this to be achieved in need to have a computer case where all the disks can be accessed from the front of the computer. Hence where the thermaltake v6 comes into play. I have been shopping around for some cases and found the prices too rediculous to do anything about this. It was not today when I turned up to my regular computer store that the sales person told me they had the thermaltake cases without power supplies for $79. I thought this was a bargain, due to most cases come with a 420 watt power supply that you automatically replace anyway. With the main piece of gear found, to make the new nas a reality, I now seek a new motherboard, with as many onboard sata ports, and hot swappable bays. The thermaltake v6 specs can be seen here.
To change the hostname, the hostname is located in the following configuration file
The file contains three lines. We are only interested in changing the third linux beginning with hostname as this is the hostname. You can add whatever suits your fancy after the equals symbol.
Then you need to restart the networking process, via the following command
Now you can restart the network services that control the hostname at startup. Manually starting the above command should show you the results below.
Now your hostname should be changed. You can check your hostname with the hostname command
Under ubuntu to change the hostname as of this writing using ubuntu version 10.04.03 you need to modify the following file
There will be one line with the name of the machine. Just change the name from what exists to the new name you want the machine to be called. There is a issue I have with ubuntu 10.04.03. It seems that the init script to restart the hostname does not work, nor the hostname service. The only way I have been able to get around this is to reboot the machine. This may be fixed in versions afterwards.