- authoritative
- Authoritative nameservers answer to resource records that are part of their zones only. This category includes both primary (master) and secondary (slave) nameservers.
- recursive
- Recursive nameservers offer resolution services, but they are not authoritative for any zone. Answers for all resolutions are cached in a memory for a fixed period of time, which is specified by the retrieved resource record.
Monday, September 19, 2011
Nameserver Types
Posted by PNA Prasanna at 5:03 AM 0 comments
Labels: Linux Articles
Wednesday, September 7, 2011
EXT4 features
Posted by PNA Prasanna at 2:13 AM 0 comments
Labels: Linux Articles, RHEL6, RHEL6.1
Thursday, July 21, 2011
New in Red Hat Enterprise Linux 6
- OpenOffice 3 suite
- Email - (openchange MAPI client capability)
- NetworkManager - mobile network connection management
- Cisco IPSEC client compatibility
- Smart Card support
- Encrypted disk (luks)
Posted by PNA Prasanna at 10:13 PM 0 comments
Labels: RHEL6
High Availability Add-On
High Availability Add-On
High Availability Add-On Features and Benefits
Features | Benefits |
---|---|
Clustering |
Red Hat's High Availability Add-On enables applications to be highly available by reducing downtime and ensuring that there is no single point of failure in a cluster. It also isolates unresponsive applications and nodes so they can't corrupt critical enterprise data
|
Conga |
The Conga application of Red Hat Enterprise Linux provides centralized configuration and management for the High Availability Add-On
|
Corosync |
Corosync is a cluster executive within the High Availability Add-On that implements the Totem Single Ring Ordering and Membership Protocol, delivering an extremely mature, secure, high-performing, and lightweight high-availability solution
|
Integrated virtualization | Virtualization is pervasive throughout today's enterprise datacenters. Not only is Red Hat Enterprise Linux designed to be a superior guest on any of the major hypervisors, but it can also be a virtualization host. Virtualization is integrated directly into the Red Hat Enterprise Linux kernel using kernel-based virtual machine (KVM) technology. As part of the kernel, your administrators get the complete breadth of Red Hat Enterprise Linux system management and security tools and certifications |
Fencing & unfencing |
Fencing is removing access to resources from a cluster node that has lost contact with the cluster, thereby protecting resources such as shared storage from uncoordinated modification.
Red Hat has made extensive improvements in the SCSI-3 PR reservations-based fencing. By enabling manual specification of keys and devices for registration and reservation, cluster administrators can bypass clvm and improve configuration and system flexibility.
After fencing, the unconnected cluster node would ordinarily need to be rebooted to safely rejoin the cluster. However, unfencing allows a node to re-enable access when starting up without administrative intervention.
|
Improved cluster configuration system |
The cluster configuration system now supports load options other than XML, including the Lightweight Directory Access Protocol (LDAP). Configuration reload is validated and easily synchronized across the cluster for better usability and manageability.
|
Virtualization integration |
You can now run virtualized KVM guests as managed services
|
Rich graphical user interface (GUI)-based cluster management and administration |
In Red Hat Enterprise Linux 6, the Web interface to luci has been redesigned and runs on TurboGears2
|
Unified logging and debugging |
System administrators can now enable, capture, and read cluster system logs via a single cluster configuration command
|
courtesy: Redhat.com
Posted by PNA Prasanna at 10:11 PM 0 comments
Labels: RHEL6
Friday, May 20, 2011
Stable. Secure. Scalable. And, Innovative! Redhat Enterprise Linux 6.1 released
- Moving to IPv6 is easier with optimized networking, firewall and DHCP/DNS services.
- Intelligent application consolidation using Control Groups functionality for resource control of applications and virtual machines.
- Managing application uptime using transparent proxy or High-availability Add-Ons, that can fail-over applications, services or virtual machines.
- Tracking Red Hat Enterprise Linux deployments and subscriptions by using the new Subscription Manager, currently only available with 6.1 and for use with RHN
- Planning user authentication and authorization with LDAP, kerberos, AD integration or Red Hat Enterprise Identity (IPA) services, now in Tech Preview
Posted by PNA Prasanna at 7:23 AM 0 comments
Labels: RHEL6.1
Friday, May 13, 2011
Ubuntu 11.04 is available in its official site.
Posted by PNA Prasanna at 9:33 PM 0 comments
Labels: Linux Articles, Ubuntu 11.04
Wednesday, April 20, 2011
User Quota Creation
add usrquota in the /home partition after defaults,usrquota
Step2: #mount -o remount /home
Step3: #quotacheck -cf /home
Step4: #quotaon /home
Step5: #repquota /home
Step6: #edquota pna - edit the quota for the user pna ( give the soft and hard limitations)
Step7: #repquota /home (It will show the quota for the user pna)
Posted by PNA Prasanna at 7:29 AM 0 comments
Labels: Linux Articles
Friday, April 15, 2011
Adding kickstart file in the remote boot screen itself
#vim /tftpboot/pxelinux.cfg/default
Add the follwoing line in the file:
label ks
kernel vmlinuz
append initrd=initrd.img ks=nfs:192.168.0.254:/var/ftp/pub/ks.cfg
Adding another OS in this file (example: rhel6):
label 6
kernel rhel6/vmlinuz
append initrd=rhel6/initrd.img ks=nfs:192.168.0.254:/var/ftp/pub/rhel6/ks.cfg
Posted by PNA Prasanna at 10:09 PM 0 comments
Labels: Linux Articles, PXE, RHEL5 R/D
Monday, April 11, 2011
Compression & Backup
gzip:
1.#seq 100000 > 1lakh.txt (creating a file with the content 100000)
2.#gzip -c 1lakh.txt > 1lakh.txt.gz (compressing the file)
3.#gzip -l 1lakh.txt.gz (showing the compression rate)
4.#gunzip 1lakh.txt.gz (uncompress the file)
5.#zcat 1lakh.txt.gz (view the content without decompressing)
or
#zcat 1lakh.txt.gz | less
bzip2: (best compression)
6.#bzip2 -c 1lakh.txt > 1lakh.txt.bz2 (compressing using algorithm bzip2)
7.#bzcat 1lakh.txt.bz2 (view the content without decompressing)
or
#bzcat 1lakh.txt.bz2 |less
8.#bunzip2 1lakh.txt.bz2 (decompressing using bzip2)
Zip:
9.#zip 1lakh.txt.zip 1lakh.txt (compressing using zip)
10.#unzip 1lakh.txt.zip (uncompress the file)
Posted by PNA Prasanna at 5:17 AM 0 comments
Labels: ClassRoom, Linux Articles
Tuesday, April 5, 2011
Google Chrome 10.0.648.204 works good in RHEL6
Steps to install Google Chrome to RHEL 6.
Step1:
Goto http://www.google.com/chrome/eula.html?platform=linux_fedora_i386 location
Step2: download the 32 bit .rpm (For Fedora/openSUSE) or 64 bit .rpm (For Fedora/openSUSE) with respect to your Operating System.
Step3: install the rpm by right clicking it.
Step4: Select the menu option as follows
Applications-> Internet -> Google Chorme.
Note: the rpm that is designed for Fedora and openSUSE works good for RHEL6 also.
Posted by PNA Prasanna at 10:21 PM 0 comments
Labels: RHEL6
Thursday, March 31, 2011
RAID 5 Configuration in RHEL5.3
Step 2: #partprobe or #reboot -f
Step 3: #mdadm -C /dev/md0 -l 5 -n 3 /dev/sda6 /dev/sda7 /dev/sda8
#mkfs.ext3 /dev/md0
Step 4: #mkdir /raid5
mount in /etc/fstab (/dev/md0 /raid5 ext3 defaults 0 0) (add an entry in /etc/fstab)
#mount -a
Step 5: #mdadm --detail /dev/md0 (viewing the raid device)
#cat /proc/mdstat (viewing the raid device configuration)
Step 6: #mdadm -f /dev/md0 /dev/sda8 (disabling device from the existing RAID)
#mdadm -a /dev/md0 /dev/sda9 (adding a new device in the existing RAID)
#mdadm -r /dev/md0 /dev/sda8 (for removing a device from the existing RAID)
Posted by PNA Prasanna at 5:04 AM 0 comments
Labels: ClassRoom, Linux Articles, RHEL5 Configuration
Thursday, March 24, 2011
HTTP or Apache Server with Authentication
#rpm -ivh http*
or
#yum install http*
Step2: Setting up the configuration file
#vim /etc/httpd/conf/httpd.conf
ESC+shift+g
AuthType Basic
AuthName "password protected"
AuthUserFile /etc/httpd/testpass
Require user pna
<Directory>
Step3:
#htpasswd -c /etc/httpd/testpass pna
give the password two times
#service httpd restart
#chkconfig httpd on
Step4:
#elinks http://192.168.0.254/test (it will ask for username and password for accessing the website.)
Posted by PNA Prasanna at 2:34 AM 0 comments
Labels: Linux Articles, RHEL5.4
Wednesday, March 16, 2011
Swap file creation & Swap partition creation
Step:1 Adding virtual memory (adding swap file)
#dd if=/dev/zero of=/var/local/swapfile bs=1k count=1M (creating a file)
#mkswap /var/local/swapfile
Step:2 add an entry to /etc/fstab
/var/local/swapfile swap swap defaults 0 0
Step:3 enabling the swap partitions
#swapon -a (enabling all swap partitions)
#swapon -s (showing all swap partitions)
Creating swap partition
1.create a partition (eg:/dev/sda6)
2.#mkswap -L swap2 /dev/sda6 (creating a partition and label as swap2)
add an entry to /etc/fstab
LABEL=swap2 swap swap defaults 0 0
save and quit /etc/fstab
#swapon -a (enabling all swap partitions.)
#swapon -s (showing all swap partitions)
Posted by PNA Prasanna at 4:19 AM 1 comments
Labels: Linux Articles, RHEL6
Friday, March 11, 2011
DHCP is working good in RHEL6
Step1: install the following rpm
Step 3: change the range of ip address as per your wish.
Step 4: service dhcpd restart
Step 5: chkconfig dhcpd on
Client Configuration:
Step 1: dhclient
Step 2: check the following file
/etc/resolv.conf
Sample file: Copy and paste the specified location /etc/dhcp/dhcpd.conf and get the dhcp service
# dhcpd.conf
#
# Sample configuration file for ISC dhcpd
#
# option definitions common to all supported networks...
option domain-name "jetking.com";
option domain-name-servers ns1.example.org, ns2.example.org;
default-lease-time 600;
max-lease-time 7200;
# Use this to enble / disable dynamic dns updates globally.
#ddns-update-style none;
# If this DHCP server is the official DHCP server for the local
# network, the authoritative directive should be uncommented.
#authoritative;
# Use this to send dhcp log messages to a different log file (you also
# have to hack syslog.conf to complete the redirection).
log-facility local7;
# No service will be given on this subnet, but declaring it helps the
# DHCP server to understand the network topology.
subnet 192.168.0.0 netmask 255.255.255.0 {
range 192.168.0.1 192.168.0.10;
}
# This is a very basic subnet declaration.
subnet 10.254.239.0 netmask 255.255.255.224 {
range 10.254.239.10 10.254.239.20;
option routers rtr-239-0-1.example.org, rtr-239-0-2.example.org;
}
# This declaration allows BOOTP clients to get dynamic addresses,
# which we don't really recommend.
subnet 10.254.239.32 netmask 255.255.255.224 {
range dynamic-bootp 10.254.239.40 10.254.239.60;
option broadcast-address 10.254.239.31;
option routers rtr-239-32-1.example.org;
}
# A slightly different configuration for an internal subnet.
subnet 10.5.5.0 netmask 255.255.255.224 {
range 10.5.5.26 10.5.5.30;
option domain-name-servers ns1.internal.example.org;
option domain-name "internal.example.org";
option routers 10.5.5.1;
option broadcast-address 10.5.5.31;
default-lease-time 600;
max-lease-time 7200;
}
# Hosts which require special configuration options can be listed in
# host statements. If no address is specified, the address will be
# allocated dynamically (if possible), but the host-specific information
# will still come from the host declaration.
host passacaglia {
hardware ethernet 0:0:c0:5d:bd:95;
filename "vmunix.passacaglia";
server-name "toccata.fugue.com";
}
# Fixed IP addresses can also be specified for hosts. These addresses
# should not also be listed as being available for dynamic assignment.
# Hosts for which fixed IP addresses have been specified can boot using
# BOOTP or DHCP. Hosts for which no fixed address is specified can only
# be booted with DHCP, unless there is an address range on the subnet
# to which a BOOTP client is connected which has the dynamic-bootp flag
# set.
host fantasia {
hardware ethernet 08:00:07:26:c0:a5;
fixed-address fantasia.fugue.com;
}
# You can declare a class of clients and then do address allocation
# based on that. The example below shows a case where all clients
# in a certain class get addresses on the 10.17.224/24 subnet, and all
# other clients get addresses on the 10.0.29/24 subnet.
class "foo" {
match if substring (option vendor-class-identifier, 0, 4) = "SUNW";
}
shared-network 224-29 {
subnet 10.17.224.0 netmask 255.255.255.0 {
option routers rtr-224.example.org;
}
subnet 10.0.29.0 netmask 255.255.255.0 {
option routers rtr-29.example.org;
}
pool {
allow members of "foo";
range 10.17.224.10 10.17.224.250;
}
pool {
deny members of "foo";
range 10.0.29.10 10.0.29.230;
}
}
Posted by PNA Prasanna at 9:57 PM 0 comments
Labels: Linux Articles, RHEL6
Sunday, February 27, 2011
Call kickstart file from client machine
Call kickstart file from client machine, if the server is running nfs
linux ks=nfs:192.168.0.254:/var/ftp/pub/ks.cfg
Posted by PNA Prasanna at 10:32 PM 0 comments
Labels: Linux Articles
Wednesday, February 23, 2011
Installing fonts in Ubuntu 9.04
Step 2: Run the command sudo fc-cache -fv
Step 3: Check the font in any of the Open Office Packages.
Posted by PNA Prasanna at 4:20 AM 0 comments
Labels: Linux Articles, Ubuntu 9.04
Wednesday, February 16, 2011
PXE Server Configuration
step2: vim /etc/exports
/var/ftp/pub *(ro,sync)
/tftpboot *(ro,sync)
step3: configure dhcp server
vim /etc/dhcpd.conf
insert the below two lines after
#ignore-client updates
allow booting;
allow bootp;
insert the below two lines after
range
filename "pxelinux.0";
next-server 192.168.0.254;
step4: install tftp rpm
vim /etc/xinetd.d/tftp
disable=no
step5: disable iptables and tcp wrappers
step6: cp /usr/lib/syslinux/pxelinux.0 /tftpboot
step7: cd /tftpboot
mkdir pxelinux.cfg
cd /var/ftp/pub/isolinux
cp * /tftpboot
cd /tftpboot
mv isolinux.cfg /tftpboot/pxelinux.cfg/default
step8: service portmap restart
service nfs restart
service vsftpd restart
service network restart
service dhcpd restart
chkconfig tftp on
chkconfig portmap on
chkconfig nfs on
chkconfig vsftpd on
chkconfig network on
chkconfig dhcpd on
Posted by PNA Prasanna at 12:14 AM 0 comments
Labels: Linux Articles, PXE, RHEL5 R/D
Saturday, February 12, 2011
User Permissions
eg: useradd bharat
2.syntax:ls -ld dirname
eg:ls -ld success
File permissions:
10 different attributes;
1-directory/file/link
2,3&4 - root permissions
5,6&7 - group permissions
8,9&10 - other permissions
permissions in terms of numbers:
4-read
2-write
1-execute
Example:
#chmod 766 success/
#chmod 777 success/
#chgrp -R bharat success
drwxrwxrwx 3 root bharat 4096 Feb 12 22:02 success/
#chown -R bharat success/
drwxrwxrwx 3 bharat bharat 4096 Feb 12 22:02 success/
#chmod u+x success/ - change mode as executable
Posted by PNA Prasanna at 4:57 AM 0 comments
Labels: ClassRoom
Browsing File system
syntax:cp sourcefile destinationfile
2.rename -rename/move the files
i)syntax:mv sourcefile destinationfile (if the destination available it will be moved. Otherwise it will be renamed.)
3.create new files and manage nautilus
Applications-->system tools-->File browser
4.touch filename - command for creating dummy files / updating time stamp
5.cat filename - viewing the contents of a particular file
6.vim filname - editing the file.(saving esc+shift+:wq)
7.mkdir dir - creating a directory
8.cd dir -change directory
9.pwd :present working directory
10.cd - :previous working directory
11.cd :goto the home directory of the current user
12.Removing the file/directoy:
rmdir dirname - remove directory (if directory is empty)
rm -rf dirname - remove directory recursively (directory has some contents)
13.cd .. - going back the parent directory
14.syntax: file filename -for checking what type file the given is
Posted by PNA Prasanna at 4:51 AM 0 comments
Labels: ClassRoom
Thursday, February 10, 2011
Hardware configuration & Installation:I & II
New hardware:
1. cdrom - automount/manual mount
2. pendrive ""
3. printer
4. scanner
verification:
/dev/hdd on /media type iso9660 (ro)
#mount /dev/cdrom /media/ - linking/attaching
#umount /media/ - for unmounting/detaching.
mounting pendrive
#mount /dev/sdb1 /mnt/
unmounting pendrive:
#umount /mnt/
Harddisk categories
1.sata & scsi sda,sdb,sdc,& sdd Primary master, primary slave, secondary master & secondary slave
2.IDE harddisk
hda,hdb,hdc & hdd - primary master, primary slave, secondary master & secondary slave
3.Virtual harddisk
vda,vdb,vdc,vdd - primary master, primary slave, secondary master & secondary slave
Kudzu
Kudzu is a service that is used to check and mount new hardware.(camera,scanner)
#whereis kudzu - location of the command kudzu
files for checking new hardware
/etc/sysconfig/hwconf
/etc/modprobe.conf
/etc/sysconfig/network-scripts/
/etc/X11/xorg.conf
kudzu
service kudzu status
service kudzu start
service kudzu stop
chkconfig kudzu on
Hardware configuration & Installation:II
1.mount the file system
2.mount ntfs file system
i) read only mount
11) read write mount
3.syntax of mount
#mount sourcepath mountpoint
eg: mount /dev/cdrom/ /mnt/
mount 192.168.0.254:/var/ftp/pub/ on /mnt type nfs (rw,addr=192.168.0.254
#fdisk -l |grep NTFS - for viewing ntfs file system only.
Posted by PNA Prasanna at 4:54 AM 0 comments
Labels: ClassRoom
Wednesday, February 9, 2011
New Features in RHEL6
2. xen is removed and kernel virtualization machine (KVM) is introduced.
3. neat command is removed.
4. portmap service is removed.
5. iscsi is introduced, which supports for SAN.
6. rpmbuild is available, which is used to create our own rpms.
7. File encyption is added.
8. palimpsest is available for disk management.
9. Virtual machine will run only on 64bit processors.
10. postfix service is recommended instead of sendmail service.
Posted by PNA Prasanna at 1:42 AM 0 comments
Labels: Linux Articles, RHEL6
Thursday, January 20, 2011
Wine works good in RHEL 5.3
Search the below rpm and install it .(i.e., wine).
Step1: rpm -ivh wine-core-1.1.9-1.el5.test.i386.rpm
Step2: open the vlc-1.1.5-win32.exe via Wine Loader.
Step3: Play the desireable video or audio file.
Posted by PNA Prasanna at 3:22 AM 1 comments
Labels: Linux Articles
Wednesday, January 19, 2011
Transmission Bit Torrent Client works good in RHEL 5.3
Google the below rpm and download it carefully. Then install the rpm as shows below.
Step 1: rpm -ivh transmission-1.34-1.el5.i386.rpm
Step 2: Applications-->Internet-->Transmission BitTorrent Client
Posted by PNA Prasanna at 4:35 AM 0 comments
Labels: Linux Articles
Red Hat Enterprise Linux 5.6 Now Available
- Hardware enablement The release continues to enable new hardware from Red Hat partners, encompassing processors and chipsets launching in 2011, I/O (iSCSI & iSNS) and multimedia, combined with numerous driver updates. Red Hat Enterprise Linux 5.6 provides updated installation media to allow easier installation on new OEM platforms using the newly enabled hardware.
- Virtualization improvements Several virtualization feature updates are provided in Red Hat Enterprise Linux 5.6. These include support for sVirt (SELinux virtualization), which enables Mandatory Access Control (MAC) profiles to be applied to virtual guests, enhancing overall system security. Additionally, new I/O fencing capabilities enable Red Hat Enterprise Linux virtual guests configured with the High Availability (HA) Add-On to be supported when layered on a Red Hat Enterprise Virtualization infrastructure. This provides customers with greater flexibility when deploying highly available virtualized and cloud computing environments.
- Updated Domain Name Service (DNS) packages With updated DNS packages, Red Hat Enterprise Linux 5.6 improves the cryptographic signatures that are valuable for high-security installations, such as in the government sector and environments where signed DNS domains are expanding in importance.
- Expanded PHP web application stack support By incorporating the new PHP 5.3 release, Red Hat Enterprise Linux 5.6 provides customers with the ability to utilize the latest PHP technology prior to upgrading to Red Hat Enterprise Linux 6.
- New printing capabilities Red Hat Enterprise Linux 5.6 provides support for new printing capabilities by supporting the OpenVector Printer driver and by including support for the latest models of printers from HP.
- Red Hat Enterprise Linux 6 backports Red Hat Enterprise Linux 5.6 includes a number of features that bring some improvements introduced with the release of Red Hat Enterprise Linux 6 to 5.6. These include support for the Ext4 file system and incorporation of features, such as the System Security Services Daemon and gcc 4.4 compiler, that are compatible with the respective versions in Red Hat Enterprise Linux 6. Courtesy: http://www.redhat.com
Posted by PNA Prasanna at 12:50 AM 0 comments
Labels: Linux Articles