Postingan

Start BIND

Start BIND 2014/08/02 [1] Start BIND to provides DNS service. [root@dlp ~]# /etc/rc.d/init.d/named start Starting named: [  OK  ] [root@dlp ~]# chkconfig named on [2] If IPTables is running , allow DNS port. DNS uses 53/TCP,UDP. For "-I INPUT 5" section below, Replace it to your own environment. [root@dlp ~]# iptables -I INPUT 5 -p tcp -m state --state NEW -m tcp --dport 53 -j ACCEPT [root@dlp ~]# iptables -I INPUT 5 -p udp -m state --state NEW -m udp --dport 53 -j ACCEPT [3] Change settings that the server refer to local DNS service. [root@dlp ~]# vi /etc/sysconfig/network-scripts/ifcfg-eth0 # change to own host DNS1= 10.0.0.30 [root@dlp ~]# /etc/rc.d/init.d/network restart [4] Make sure the server can resolve domain names or IP addresses. [root@dlp ~]# dig dlp.srv.world. ; <<>> DiG 9.7.0-P2-RedHat-9.7.0-5.P2.el6 <<>> dlp.srv.world. ;; global options: ...

Set Zones for Name Resolution

Set Zones for Name Resolution 2014/08/02 Create zone files that servers resolve IP address from domain name. [1] For internal zone This example uses internal address[10.0.0.0/24], domain name [srv.world], but please use your own one when you set config on your server. [root@dlp ~]# vi /var/named/srv.world.lan $TTL 86400 @   IN  SOA     dlp.srv.world. root.srv.world. (        2014080201  ;Serial        3600        ;Refresh        1800        ;Retry        604800      ;Expire        86400       ;Minimum TTL ) # define name serve       IN  NS      dlp.srv.wor...

Install phpMyAdmin MySQL 5.6

Gambar
Install phpMyAdmin to operate MySQL 5.6 on web browser from Clients. [1] Install and start Apache httpd, refer to here . [2] Install PHP, refer to here . [3] Install phpMyAdmin. # install from EPEL [root@www ~]# yum --enablerepo=epel -y install phpMyAdmin php-mysql php-mcrypt [root@www ~]# vi /etc/httpd/conf.d/phpMyAdmin.conf # line 25: IP address you permit to access Allow from 127.0.0.1 10.0.0.0/24 # line 42: IP address you permit to access Allow from 127.0.0.1 10.0.0.0/24 [root@www ~]# /etc/rc.d/init.d/httpd restart [4] Access to 'http://(your hostname or IP address)/phpmyadmin/' with web browser from Clients, then Login with a user in MySQL on following screen. This example uses root user to proceed. [5] Just logined. You can operate MySQL on here. [6] It's possible to change settings of MySQL on "http://(your hostname or IP address)/phpmyadmin/setup".