test-server:apt-get install build-essential libssl-dev
test-server:mkdir /home/downloads
test-server:cd /home/downloads
test-server:wget https://www.isc.org/downloads/file/bind-9-9-7-p2/?version=tar-gz --no-check-certificate -O bind-9.9.7-P2.tar.gz
test-server:tar -xzvf bind-9.9.7-P2.tar.gz
test-server:cd bind-9.9.7-P2/
test-server:./configure --prefix /usr --sysconfdir /etc/bind
test-server:make
test-server:/etc/init.d/bind9 stop
test-server:apt-get remove bind9 bind9utils
test-server:apt-get install paco
test-server:paco -lp bind-9.9.7 "make install"
test-server:/etc/init.d/bind9 start
test-server:tail /var/log/syslog
test-server:cat /var/log/paco/bind-9.9.7 | sed -n 's/|\(.*\)//;/^#\(.*\)/d;p' > /home/filelist.txt
serverx:apt-get install rsync
serverx:/etc/init.d/bind9 stop
serverx:apt-get remove bind9 bind9utils
test-server:rsync -av --files-from=/home/filelist.txt / serverx:/
serverx:/etc/init.d/bind9 start
serverx: named -v
BIND 9.9.7-P2 (Extended Support Version)
test-server: ssh-keygen -t rsa
test-server: less ~/.ssh/id_rsa.pub
copy the key
serverx: nano ~/.ssh/authorized_keys
paste the key
Have a question about something in this article? You can receive help directly from the article author. Sign up for a free trial to get started.
Comments (1)
Author
Commented: