We got to change our platform... from VMware server, We got to actually migrate our work to Vmware infrastructure.
But unfortunately, its not possible or we couldnt figure out how to migrate our current work which is on VMware Server to VMware Infrastructure.
But nevertheless, we re-install a new virtual machine in the VMware Infrastructure; called FirdausServer and TerenceServer. After creating these two virtual server, both of us split jobs.
FirdausServer will be installing with DNS, Apache (webserver), Postfix (mailServer) and Squid (Proxy Server).
And TerenceServer will be installing Nagios, Cacti, Pound, NTP.
DNS Server:
# apt-get install bind9
#/etc/init.d/bind9 stop
#vi /etc/default/bind9 (configure the file)
and make the necessary changes :
"OPTIONS="-u bind -t /var/lib/named"
# Set RESOLVCONF=no to not run resolvconf
RESOLVCONF=yes "
Create the necessary directories under /var/lib:
#mkdir -p /var/lib/named/etc
#mkdir /var/lib/named/dev
#mkdir -p /var/lib/named/var/cache/bind
#mkdir -p /var/lib/named/var/run/bind/run
Then move the config directory from /etc to /var/lib/named/etc:
#mv /etc/bind /var/lib/named/etc
Create a symlink to the new config directory from the old location (to avoid problems when bind gets updated in the future):
#ln -s /var/lib/named/etc/bind /etc/bind
Make null and random devices, and fix permissions of the directories:
#mknod /var/lib/named/dev/null c 1 3
#mknod /var/lib/named/dev/random c 1 8
#chmod 666 /var/lib/named/dev/null /var/lib/named/dev/random
#chown -R bind:bind /var/lib/named/var/*
#chown -R bind:bind /var/lib/named/etc/bind
We need to modify /etc/default/syslogd so that we can still get important messages logged to the system logs. Modify the line: SYSLOGD="" so that it reads: SYSLOGD="-a /var/lib/named/dev/log":
#vi /etc/default/syslogd
SYSLOGD="-a /var/lib/named/dev/log"
Restart
#/etc/init.d/sysklogd restart
Start bind
#/etc/init.d/bind9 start
reference: http://howtoforge.org/perfect_setup_debian_etch_p4
singing out!
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment