Monthly Archives: May 2012

Introduction to jQuery

May 31, 2012   jQuery   Author: 
jQuery is a javscript library function and it is open source. It was released in 2006. jQuery is used to make DOM elements, animations, handle events, HTML manipulation, CSS manipulation and AJAX. Before writing jQuery code into the webpage, we have to call jQuery library file. Library file is stored in javascript file and have to be called in <head> section. [code type=html] <head> <script type="text/javascript" src="jquery.js"></script> </head> [/code] The library file jquery.js can be downloaded from jquery offical site http://jquery.com/ fre

Add Author Box Manually – Without Plugin

May 31, 2012   Wordpress   Author: 
Add Author Box Manually - Without Plugin
Author biography bio can be added through plugin or manually by php code. Adding author box manually with php code is welcomed, becausse using plugin to display author box will increase the website loading time. Read: Add author box with Plugins   Some of the plugins available to show the author biography are Advanced Author Bio WP About Author Custom About Author Author Box Reloaded Go to post_single.php .  Paste this PHP code below <?php the_content(); ?> function [code type=php] <div class="outer"> <div class="image"> <img src="

Warning: Missing required field entry title | Missing required field updated | Missing required hCard author

May 31, 2012   General   Author: 
  Some bloggers/web developers facing problem of warnings in Google rich snippet tool. The following are the warning, which are due to problem in title, date and author of the article. Warning: Missing required field “entry-title”. Warning: Missing required field “updated”. Warning: Missing required hCard “author”.   Warning message is because of the problem in the following code. you can find this coding in post-single.php [code type=php] <?php the_title(); ?> <?php echo get_the_date(); ?> <?php the_author(); ?> [/

Web Server configuration with Authentication to see webpage in Redhat Linux

May 27, 2012   Linux   Author: 
Some webpage or even websites will ask for authentication to open, you may wondered about why they are using password and some ther authentication. The reason is website's admin may want to share private message or that message have to be seen only by authenticated persons. Read:  Web Server Configuration in Redhat For every webpage we have  to set password individually. Here we are going to set password for website station1.example.com . Technically setting password for website means password will be set for the directory, where the website is hosted. #vim /etc/httpd/conf/httpd.con

What is the difference between Apache and WAMP Server

May 26, 2012   php   Author: 
Is it Need to install Apache or WAMP server in computer to use PHP? Yes, because PHP is server side scripting language and it runs only in server. By installing apache server, our client OS ( client OS means windows xp/vista/7) computer will acts as both server and client. Here client means browser and server means web server, request from browser will fetch data from web server using http protocol.   Apache Server Apache is a web server, which is used to serve the web pages. Apache is a open source software, it runs in almost all operating system like Mac OS X, UNIX, LINUX, Win

Web server Configuration with more than One Website in Redhat Linux

May 23, 2012   Linux   Author: 
Web server Configuration with more than One Website in Redhat Linux Web server with more than one website in the sense many websites are sharing the static IP of the website. Major reason for using more than one website in a server is to share the IP address. Web server contains a static IP, which are shared between many number of website. This type of hosting is also called as shared hosting. Another reason is some website's size may be in some MB and a question may arise why we have to waste static IP address for small website?,because static IP address cost is very high. we can overcome th

DUMP Configuration to Make Backup of a partition in Linux

May 23, 2012   Linux   Author: 
DUMP is the utility to make our whole partition backup in unix and Linux. Main advantage of DUMP backup is to take incremental backup and it has been used for more than a decade. Syntax  dump [options] [dump-file] [File-system or file or directories]. options -[level] The dump level any integer -f   Make the backup in a specified file -u  Updates /etc/dumpdats file for the backup made -v  Displays Verbose Information -e  Exclude inode while making backup   Creating DUMP file #dump -0uf  /dump  /dev/sda8 dump - file name of the backup file and i

RAID Level 1 Configuration in RHEL5 Linux

May 23, 2012   Linux   Author: 
RAID Level 1 Configuration in RHEL5 Linux
RAID – Redundant Array of Inexpensive disk RAID 1 creates two identical copy in two hard disks. This raid level gives reliability over single hard disk. Here we are going to see how to configure RAID Level 1 RAID 1 Mirrioing Two separate mirroring for data I am going to use three disk partition as individual hard disk #fdisk /dev/sda Command: n First cylinder: < leave it> Last cylinder : +500M Partition number: 5 Hex code: fd     // We have to make ordinary partition as RAID partition “fd – Linux raid auto” Command: w // Likewise c

How To: Add About Author box in WordPress

May 22, 2012   Wordpress   Author: 
How To: Add About Author box in Wordpress
For multiple author blog author box is welcomed, because reader can know who wrote this article. Author box in a blog is important because reader of  the blog can have a chance to call the author for any further help or make a connect with author. More over about author box is a privilege for an author. 1. There are many author biography plugins are available, i suggest you "better author bio" plugin. Some of the other Author box plugins are Advanced Author Bio WP About Author Custom About Author Author Box Reloaded 2. Crop a image of author which is square shape or just

How To: Create a partition in Redhat Linux

May 22, 2012   Linux   Author: 
To see all available partition, use the below command #fdisk -l #fdisk /dev/sda command: n   ( for new partition) we can create primary partition or extended If the hard disk is new / having 2 or 3 primary partitions , then only options of "what of disk have to be created whether primary or extended ?" available. If already extended partition is created, then newly created partition will created default as logicla drive. We don't know about cylinder size, so leave it just give enter First cylinder: Last cylinder or + size: +100M Give value in MB's followed by +,