Posts

Showing posts from July, 2013

Permanent(301) VS Temporary(302) redirect

301 vs 302 redirect: 301: Status 301 means that the resource (page) is moved permanently to a new location. The client/browser should not attempt to request the original location but use the new location from now on. It's like a Change of Address form from the Postal Service. All traffic intended for URL A is permanently routed to URL B, and all link popularity and existing SEO value for URL A should also be transferred to URL B. 302: Status 302 means that the resource is temporarily located somewhere else, and the client/browser should continue requesting the original url. There are very few instances where this type of redirect should be used, but unfortunately it is the easiest to implement. This means that many webmasters unfamiliar with search engine mechanics use the wrong type of redirect. Is it okay?

Linux- Kickstart Based Installation

KickStart provides a way for users to automate a Red Hat Enterprise Linux installation. Here are simple steps: 1.Install Apache. [root@ranjith ~]# rpm -qa |grep -i httpd [root@ranjith ~]# yum -y install httpd [root@ranjith ~]# lsof -i tcp:80 COMMAND   PID   USER   FD   TYPE DEVICE SIZE/OFF NODE NAME httpd   10787   root    4u  IPv6 223062      0t0  TCP *:http (LISTEN) httpd   10789 apache    4u  IPv6 223062      0t0  TCP *:http (LISTEN) httpd   10790 apache    4u  IPv6 223062      0t0  TCP *:http (LISTEN) 2. Create a install root where we gonna installing the contents of the cdrom to, We can use under default document root in /var/www/html. [root@ranjith ~]# cd /var/www/html/ [root@ranjith html]# mkdir centos5 [root@ranjith html]# cd centos5/ [root@ranjith centos5]# pwd /var/www/html/centos5 3. Download and mount the centos ISO file from: centos.org Here i download: CentOS-6.4-x86_64 4. Mount the iso you downloaded to a mount point. [root@ranjith mnt]# mount -