Note: The Operating System used is Centos; YUM commands will work on RedHat, Fedora. If you are using Ubuntu, please use sudo apt-get
$ vi /var/named/named.hadoop.forward.zone
Similarly, for the reverse lookup
$TTL 86400
@ IN SOA ns1.cluster1.com. root.cluster1.com. (
1997022700 ; Serial
28800 ; Refresh
14400 ; Retry
3600000 ; Expire
86400 ) ; Minimum
1.168.192.in-addr.arpa. IN NS ns1.cluster1.com.
70 IN PTR nn1.cluster1.com.
40 IN PTR kdc.cluster1.com.
41 IN PTR cm.cluster1.com.
Make sure permissions are correct for “/var/named/”, owned by named.
$ service named restart
Test the resolution:
$ nslookup
Next Install Apache Tomcat HTTPD:
$ yum install httpd -y
All the configuration files are under “/etc/httpd/conf”. By default, we do not need to change anything. Just create a simple html file under “/var/www/html”.
$ cd /var/www/html
$ echo “This is test” > index.html
$ service httpd restart
NEXT INSTALL ENGINEX:
No comments:
Post a Comment