Category Archives: Linux
Google Earth For Linux RedHat 4.0 to 5.4
Google Earth is a software interface for the Google maps. t is an Extreme application for the Google maps. Thus the Google maps is available for the UNIX and LINUX operating systems. But most of the Linux versions doesn't support Google Earth application. But some developers has changed some code that will support Linux. As the version of REDHAT changes the supporting files must be updated.
Here is the software package for the Google earth which supports RedHat 4.0 to 5.4. Click the Below link to download the Google Earth setup Goo
Web Server configuration with Authentication to see webpage in Redhat Linux
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
Web server Configuration with more than One Website in Redhat Linux
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
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
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: Create a partition in Redhat Linux
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 +,
Network Information Service (NIS) Configuration in Redhat Linux
Network Information Service (NIS) is a client - server configuration for sharing files, which forms the client as a group by hostname, domain name, etc
Here we are going to see, Network Information Service configuration
Required Packages for NIS server configuration
yp server
yp tools
yp bind
Make file
Services
ypserver
yppasswd
#vim /etc/sysconfig/network
HOSTNAME = hostname.domainname
NISDOMAIN = VIGNESH
:wq!
SERVER SIDE
#mkdir /rhome
#mkdir /rhome/sysname
#useradd -d /rhome/sysname/nisusername <nisusername>
#vim /etc/passwd
nisuser:X:
IPTables Firewall Configuration in RHEL5
Firewall are two types hardware firewall and software firewall. The important work of firewall is to monitor and control the incoming and outgoing packets.
IPtables is an important firewall in linux. TCP wrapper and SELinux is also a firewall.
Package: iptables
Service: iptables
Operations
There are 3 operations iptables can do
Accept
Allow the packet
Drop
Drop the packet and don't send error message to sender.
Reject
Drop the packet and send error message to sender.
Options
i - incoming interface
O - outgoing interface
A - append (e
Web Server Configuration in Redhat
Web server is a computer, which deliver web pages. Every web server will have atleast one static IP address and one domain name. When we request a website, for example (www.abc.com), this domain stored in a web server and web server have a static IP. Static IP of web server is stored in DNS, so our browser goes to web server by help of DNS record to fetch the webpage.
Here we are going to see how to configuration of web server in RHEL5
Before going to configure web server, make sure that following are done correctly
Hostname
Domainname
IP address
DNS configuration
Package:
LVM Configuration in RHEL5
partition, which has been created is fixed in size. LVM (Logical Volume Manager) configuration is used to extend the partition.
Create partition
#fdisk -l
#fdisk /dev/sda
:n // n means new partition creation
:l // l means logical partition
+500M
:t ( toggle 't' convert one partition to another)
LVM conversion code: 8e // for linux LVM
:w // save
#partprobe | sync
creating physical volume, PV- Physical Volume
Here sda8 is the partition, which is create by above step
#pvcreate /dev/sda8
Creating volume group, VG - Volume Group
#





