Skip to main content


Showing posts from 2014

Replace VI with VIM on Debian 7

Make sure you can access internet before attempting this.
Open the terminalapt-get install vimsudo vi /etc/vim/vimrc Uncomment the "syntax on" line to enable color coding that vim comes with. This will replace vi with vim, if you edit a file with say "vi .bashrc" it should show you color coded text instead of just black and white.

Configuring and Deploying DNS servers (primary, secondary, root and cache on centos 6.5) - Part 3 - Root and Cache

Configuration on Root DNS Server: The root zone maintains information regarding top-level domains. Root-zone servers for internet top-level domains are already deployed. With this you can create your own internet naming scheme, which is usually done in intranets who have their own top-level domains
Install bind packagesyum install bind bind-utils bind-chroot bind-libs Edit named.confvi /etc/named.conflisten-on port 53 {; }; //change this to your ip address
*remove the allow-query line
*optional remove recursion line

 zone "." IN {
        type master;
        file "";

Create and edit root.netvi /var/named/$TTL 86400
@    IN    SOA (
            535 ; serial
            3H ; refresh
            15M ; retry
            1W ; expiry
            1D ) ; minimum
@                IN    NS    999999        IN    A //root servers ip and fqdn            IN  …

How to install Avidemux on Centos6

Create and edit /etc/yum.repos.d/naulinux-school.repo add these lines

name=NauLinux School

Run this command and it will install ityum --enablerepo=naulinux-school install avidemuxENJOY! 


Configuring and Deploying DNS servers (primary, secondary, root and cache on centos 6.5) - Part 2 - Secondary DNS

This walk-through assumes that you have initial deployment of Primary DNS server. Look at my previous post for that.

Configuration on Primary DNS server:edit /etc/named.conf add the allow transfer statement in your zone declaration(both forward and reverse)

 zone "" {
        type master;
        file "";
allow-transfer {; };

zone "" {
        type master;
        file "";
allow-transfer {; };
 Allow firewall to communicate on tcp/udp port 53iptables -I INPUT -p tcp --dport 53 -j ACCEPTiptables -I INPUT -p udp --dport 53 -j ACCEPTRestart the named deamonservice named restart Configuration on Secondary DNS server: Make sure you have internet access.
Install Bind packagesyum install bind bind-utils bind-chroot bind-libs edit /etc/named.conf listen-on port 53 {; }; //Ip address of the machine
*Remove the allow-query line
*Optional: remove recursion statement a…

Configuring and Deploying DNS servers (primary, secondary, root and cache on centos 6.5) - Part 1 - Primary DNS

Make sure you have connection to the internet before you attempt this.

Install BIND packages that provides DNS service yum install bind bind-utils bind-chroot bind-libsEdit the main file /etc/named.conf
listen-on port 53 {; }; //change this to your ip address
*Remove the allow-query line
zone "" IN { //chnage to your zone
        type master;
        file ""; //you can name it anything

zone "" IN { //this is for reverse lookup the zone will be                                                       //different for different ip address
        type master;
        file "";

*Optional: remove the "." zone to disable caching.

Now create the "" file in /var/named and edit it (forward lookup)vi ''$TTL 86400
@       IN   SOA (
                        535 ; serial
                        3H ; refr…

Create isolated network on Virtual Machine Manager - Centos 6.5

Since most of the Linux administration practice is done in a virtual environment, I thought I should create a video about it, as I am aware that some students at my college struggle with it in their labs. Please let me know if I missed anything or did not explain anything clearly.


ASUS RT N16 + OpenWRT + nodogsplash = WiFi Hotspot (For beginners)

1.Make sure you are directly connected to the router through a cable ·Take an ethernet cable from your ASUS modem and plug it into your pc/laptop
2.Now access your modem by going into the browser and typing: ·Go to administration tab and click on Firmware upgrade/update NOTE: Please use internet explorer for all of these configurations. There are some issues reported in other browsers. 3.You will have to load a DD-WRT basic image first to load the openWRT image. You cannot directly load openWRT image for some reason I dont know of ·Download the image by clicking on the link:
4.Once the image is downloaded just click on browse on the ASUS firmware upgrade page and browse to the DDWRT image and upload it