It all depends on why you want it named.
If you want your command prompt to show up as user1@mycomputername instead of user1@localhost, you can edit your own /etc/hosts file. Mine looks like this:
Code:
127.0.0.1 localhost
192.168.1.100 darcy
That way my command prompt shows up as user1@darcy (because darcy is the last entry). This way I can still access my http server via
http://localhost (as well as
http://darcy).
You can edit the /etc/hosts file to relate an IP address of another computer on the network. This was you can, for example, type "ping ted" instead of "ping 192.168.1.123" or whatever. These modifications have to be made on each computer for which you want them to take effect.
If you're using SAMBA, you can edit the config file with a name for your computer so that other computers will see it as having that name.
If you don't have any reason to name your computer, don't worry about it. If you have another reason, just ask. These are the only ones I can think of.