Skip navigation.
Home
Now Shipping Version 7.0

setting up a server


Posts: 158

Hi All
I am trying to set up my pc as a server.
I am following the instructions laid out at

http://www.howtoforge.com/perfect_setup_ubuntu_6.06_p4

When instructed to change /etc/hosts, I did

GNU nano 1.3.10 File: /etc/hosts

127.0.0.1 localhost.localdomain localhost
192.168.0.4 george.fergus.com george
# The following lines are desirable for IPv6 capable hosts
# (added automatically by netbase upgrade)

::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts

My computer name is "george" and my domain is "fergus". Have I entered the correct details?

root@1[george]# hostname
george
root@1[george]# hostname -f
george.fergus.com

Having reached the point where I have to stop bind9, I get

root@1[george]# /etc/init.d/bind9 stop
Stopping domain name service...:rndc: connect failed: connection refused

At an earlier stage I declined to update to the Ubuntu 6.06 sources as I am using Mepis 6.0.4b4.
Should I have done so?

Or is there an easier way to do this?

Regards, George