<?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>yum &#8211; lifeLinux: Linux Tips, Hacks, Tutorials, Ebooks</title>
	<atom:link href="https://lifelinux.com/tag/yum/feed/" rel="self" type="application/rss+xml" />
	<link>https://lifelinux.com</link>
	<description>All About Linux !</description>
	<lastBuildDate>Mon, 30 May 2011 03:31:12 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.5.3</generator>
	<item>
		<title>How To Extract RAR Files Under Linux</title>
		<link>https://lifelinux.com/how-to-extract-rar-files-under-linux/</link>
					<comments>https://lifelinux.com/how-to-extract-rar-files-under-linux/#comments</comments>
		
		<dc:creator><![CDATA[lifeLinux]]></dc:creator>
		<pubDate>Mon, 30 May 2011 03:06:37 +0000</pubDate>
				<category><![CDATA[Sys Admin]]></category>
		<category><![CDATA[archive files]]></category>
		<category><![CDATA[archiving]]></category>
		<category><![CDATA[data compression]]></category>
		<category><![CDATA[extract rar files]]></category>
		<category><![CDATA[extract rar linux]]></category>
		<category><![CDATA[files rar]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[linux freebsd]]></category>
		<category><![CDATA[linux rar]]></category>
		<category><![CDATA[linux rar files]]></category>
		<category><![CDATA[linux unrar]]></category>
		<category><![CDATA[rar]]></category>
		<category><![CDATA[rar command]]></category>
		<category><![CDATA[rar file]]></category>
		<category><![CDATA[rar file linux]]></category>
		<category><![CDATA[rar files]]></category>
		<category><![CDATA[rar files linux]]></category>
		<category><![CDATA[rar linux]]></category>
		<category><![CDATA[UNIX]]></category>
		<category><![CDATA[unix oses]]></category>
		<category><![CDATA[unrar]]></category>
		<category><![CDATA[unrar command]]></category>
		<category><![CDATA[unrar linux]]></category>
		<category><![CDATA[yum]]></category>
		<guid isPermaLink="false">http://www.lifelinux.com/?p=879</guid>

					<description><![CDATA[<p>RAR stands for Roshal ARchive. It is a proprietary archive file format that supports data compression, error recovery, and file spanning. It was developed by a Russian software engineer, Eugene Roshal (the first letter of his surname contributing to the name of the archive format), and is currently licensed by win.rar GmbH. The filename extension [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://lifelinux.com/how-to-extract-rar-files-under-linux/">How To Extract RAR Files Under Linux</a> appeared first on <a rel="nofollow" href="https://lifelinux.com">lifeLinux: Linux Tips, Hacks, Tutorials, Ebooks</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p></p><p><strong>RAR</strong> stands for Roshal ARchive. It is a proprietary archive file format that supports data compression, error recovery, and file spanning. It was developed by a Russian software engineer, Eugene Roshal (the first letter of his surname contributing to the name of the archive format), and is currently licensed by win.rar GmbH.<span id="more-879"></span></p>
<p>The filename extension used by RAR is .rar for the data volume set and .rev for the recovery volume set. In previous versions, if a RAR-archive was broken into many smaller files (a &#8220;multi-volume archive&#8221;), then the smaller files used the extensions .rar, .r00, .r01, .r02 etc.</p>
<h3>Install unrar command</h3>
<p>To extract RAR files under Linux system, you need to install unrar command. There are some ways to install unrar command. Under Ubuntu/Debian Linux, type the following command</p>
<pre># apt-get install unrar</pre>
<p>If you are using Fedora core Linux then type the following command</p>
<pre># yum install unrar</pre>
<p>If any of above, methods is not working, download binary package from <a href="http://www.rarlab.com/download.htm">official rarlab site</a>, enter</p>
<pre># wget http://www.rarlab.com/rar/rarlinux-4.0.1b1.tar.gz</pre>
<p>To Extract rarlinux-4.0.1b1.tar.gz, type the following command</p>
<pre># tar zxvf rarlinux-4.0.1b1.tar.gz</pre>
<p>Sample output</p>
<pre>rar/
rar/readme.txt
rar/default.sfx
rar/whatsnew.txt
rar/license.txt
rar/order.htm
rar/rar
rar/unrar
rar/rar_static
rar/technote.txt
rar/rarfiles.lst
rar/makefile
rar/rar.txt</pre>
<p>Now copy rar and unrar commands to /bin directory, type the following command</p>
<pre># cd rar
# cp rar unrar /bin</pre>
<h3>How to use unrar</h3>
<p>To extract rar file in current directory, type the following command</p>
<pre>$ unrar e file.rar</pre>
<p>To list file inside rar archive, type the following command</p>
<pre>$ unrar l file.rar</pre>
<p>To extract file with full path, type the following command</p>
<pre>$ unrar x file.rar</pre>
<p>To test integrity of archive file, type the following command</p>
<pre>$ unrar t file.rar</pre>
<g:plusone href="https://lifelinux.com/how-to-extract-rar-files-under-linux/" size="standard"  annotation="none"   ></g:plusone><p>The post <a rel="nofollow" href="https://lifelinux.com/how-to-extract-rar-files-under-linux/">How To Extract RAR Files Under Linux</a> appeared first on <a rel="nofollow" href="https://lifelinux.com">lifeLinux: Linux Tips, Hacks, Tutorials, Ebooks</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://lifelinux.com/how-to-extract-rar-files-under-linux/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
		<item>
		<title>How To Install Ksplice on CentOS / RedHat</title>
		<link>https://lifelinux.com/how-to-install-ksplice-on-centos-redhat/</link>
					<comments>https://lifelinux.com/how-to-install-ksplice-on-centos-redhat/#respond</comments>
		
		<dc:creator><![CDATA[lifeLinux]]></dc:creator>
		<pubDate>Thu, 12 May 2011 01:34:39 +0000</pubDate>
				<category><![CDATA[Security]]></category>
		<category><![CDATA[Sys Admin]]></category>
		<category><![CDATA[CentOS kernel hot patching]]></category>
		<category><![CDATA[Debian kernel hot patching]]></category>
		<category><![CDATA[Fedora kernel hot patching]]></category>
		<category><![CDATA[hack]]></category>
		<category><![CDATA[kernel hot patching]]></category>
		<category><![CDATA[kernel updates]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Linux kernel hot patching]]></category>
		<category><![CDATA[linux-distributions]]></category>
		<category><![CDATA[network proxy]]></category>
		<category><![CDATA[OpenSuse kernel hot patching]]></category>
		<category><![CDATA[patching]]></category>
		<category><![CDATA[proxy setting]]></category>
		<category><![CDATA[reboot]]></category>
		<category><![CDATA[Redhat kernel hot patching]]></category>
		<category><![CDATA[RHEL kernel hot patching]]></category>
		<category><![CDATA[rpm]]></category>
		<category><![CDATA[security updates]]></category>
		<category><![CDATA[servers]]></category>
		<category><![CDATA[Slackware kernel hot patching]]></category>
		<category><![CDATA[Suse kernel hot patching]]></category>
		<category><![CDATA[Ubuntu kernel hot patching]]></category>
		<category><![CDATA[upgrades]]></category>
		<category><![CDATA[uptime]]></category>
		<category><![CDATA[yum]]></category>
		<guid isPermaLink="false">http://www.lifelinux.com/?p=446</guid>

					<description><![CDATA[<p>You can apply kernel updates using &#8220;yum&#8221; command or &#8220;apt-get&#8221; command line options. After each upgrade you need to reboot the server. How to skip reboot step and apply hotfixes to kernel without rebooting the server ? What is Ksplice Uptrack? Ksplice Uptrack is a subscription service that lets you apply 100% of the important [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://lifelinux.com/how-to-install-ksplice-on-centos-redhat/">How To Install Ksplice on CentOS / RedHat</a> appeared first on <a rel="nofollow" href="https://lifelinux.com">lifeLinux: Linux Tips, Hacks, Tutorials, Ebooks</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p></p><p>You can apply <strong>kernel updates</strong> using &#8220;yum&#8221; command or &#8220;apt-get&#8221; command line options. After each upgrade you need to reboot the server. How to skip reboot step and apply hotfixes to kernel without rebooting the server ?</p>
<h3>What is Ksplice Uptrack?</h3>
<p><strong>Ksplice Uptrack</strong> is a subscription service that lets you apply 100% of the important kernel security updates released by your Linux vendor without rebooting.<span id="more-446"></span></p>
<h3>Install Ksplice</h3>
<p>First, you&#8217;ll need an access key. If you don’t have one, <a href="https://www.ksplice.com/signup">request a free trial</a>.<br />
Download the Ksplice Uptrack repository installation RPM package</p>
<pre>
[root@lifelinux ~]# wget https://www.ksplice.com/yum/uptrack/centos/ksplice-uptrack-release.noarch.rpm
</pre>
<p>To install, type the following command as root</p>
<pre>
[root@lifelinux ~]# rpm -ivh ksplice-uptrack-release.noarch.rpm
[root@lifelinux ~]# yum -y install uptrack
</pre>
<p>Edit /etc/uptrack/uptrack.conf, enter </p>
<pre>
[root@lifelinux ~]# vi /etc/uptrack/uptrack.conf
</pre>
<p>Sample outputs</p>
<pre>
[Auth]
accesskey = [ACCESS KEY HERE]

[Network]
# Proxy to use when accessing the Uptrack server, of the form
# [protocol://][:port]

# The proxy must support making HTTPS connections. If this is unset,
# Uptrack will look for the https_proxy, HTTPS_PROXY, and http_proxy
# environment variables in that order, and then finally look for a
# proxy setting in the system-wide GConf database, if available.
https_proxy =

[Settings]
# Automatically install updates at boot time. If this is set, on
# reboot into the same kernel, Uptrack will re-install the same set of
# updates that were present before the reboot.
install_on_reboot = yes

# Options configuring the Uptrack cron job.
#
# GUI users will get all notices via the GUI and likely want to set
# the following cron options to "no".

# Cron job will install updates automatically
autoinstall = no

# Cron job will print a message when new updates are installed.
# This option is only relevant if autoinstall = yes
cron_output_install = no

# Cron job will print a message when new updates are available
cron_output_available = no

# Cron job will print a message when it encounters errors
cron_output_error = no
</pre>
<p>Insert your access key. Please use the same access key for all of your systems. If you would like Uptrack to automatically install rebootless kernel updates as they become available, set autoinstall = yes.</p>
<p>When you are done with your Uptrack configuration, please run the following command as root to bring your kernel up to date:</p>
<pre>
uptrack-upgrade -y
</pre>
<g:plusone href="https://lifelinux.com/how-to-install-ksplice-on-centos-redhat/" size="standard"  annotation="none"   ></g:plusone><p>The post <a rel="nofollow" href="https://lifelinux.com/how-to-install-ksplice-on-centos-redhat/">How To Install Ksplice on CentOS / RedHat</a> appeared first on <a rel="nofollow" href="https://lifelinux.com">lifeLinux: Linux Tips, Hacks, Tutorials, Ebooks</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://lifelinux.com/how-to-install-ksplice-on-centos-redhat/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How To Update Linux Kernel With Ksplice Uptrack</title>
		<link>https://lifelinux.com/how-to-update-linux-kernel-with-ksplice-uptrack/</link>
					<comments>https://lifelinux.com/how-to-update-linux-kernel-with-ksplice-uptrack/#respond</comments>
		
		<dc:creator><![CDATA[lifeLinux]]></dc:creator>
		<pubDate>Thu, 12 May 2011 01:21:43 +0000</pubDate>
				<category><![CDATA[Security]]></category>
		<category><![CDATA[Sys Admin]]></category>
		<category><![CDATA[Fedora kernel hot patching]]></category>
		<category><![CDATA[hack]]></category>
		<category><![CDATA[kernel hot patching]]></category>
		<category><![CDATA[kernel updates]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Linux kernel hot patching]]></category>
		<category><![CDATA[linux-distributions]]></category>
		<category><![CDATA[network proxy]]></category>
		<category><![CDATA[OpenSuse kernel hot patching]]></category>
		<category><![CDATA[patching]]></category>
		<category><![CDATA[proxy setting]]></category>
		<category><![CDATA[reboot]]></category>
		<category><![CDATA[Redhat kernel hot patching]]></category>
		<category><![CDATA[RHEL kernel hot patching]]></category>
		<category><![CDATA[rpm]]></category>
		<category><![CDATA[security updates]]></category>
		<category><![CDATA[servers]]></category>
		<category><![CDATA[Slackware kernel hot patching]]></category>
		<category><![CDATA[Suse kernel hot patching]]></category>
		<category><![CDATA[Ubuntu kernel hot patching]]></category>
		<category><![CDATA[upgrades]]></category>
		<category><![CDATA[uptime]]></category>
		<category><![CDATA[yum]]></category>
		<guid isPermaLink="false">http://www.lifelinux.com/?p=442</guid>

					<description><![CDATA[<p>What is Ksplice Uptrack? Ksplice Uptrack is a subscription service that lets you apply 100% of the important kernel security updates released by your Linux vendor without rebooting. Update Linux Kernel With Ksplice Uptrack Ksplice updates are the same security and bugfix updates you would get from your Linux vendor, packaged in a special rebootless [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://lifelinux.com/how-to-update-linux-kernel-with-ksplice-uptrack/">How To Update Linux Kernel With Ksplice Uptrack</a> appeared first on <a rel="nofollow" href="https://lifelinux.com">lifeLinux: Linux Tips, Hacks, Tutorials, Ebooks</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p></p><h3>What is Ksplice Uptrack?</h3>
<p><strong>Ksplice Uptrack</strong> is a subscription service that lets you apply 100% of the important kernel security updates released by your Linux vendor without rebooting.<span id="more-442"></span></p>
<h3>Update Linux Kernel With Ksplice Uptrack</h3>
<p><strong>Ksplice</strong> updates are the same security and bugfix updates you would get from your Linux vendor, packaged in a special rebootless form. Type the following to apply updates (note it may take a few hours to get ksplice update as they upgrade their system after RHN releases kernel upgrades):</p>
<pre>
[root@lifelinux ~]# uptrack-upgrade
</pre>
<g:plusone href="https://lifelinux.com/how-to-update-linux-kernel-with-ksplice-uptrack/" size="standard"  annotation="none"   ></g:plusone><p>The post <a rel="nofollow" href="https://lifelinux.com/how-to-update-linux-kernel-with-ksplice-uptrack/">How To Update Linux Kernel With Ksplice Uptrack</a> appeared first on <a rel="nofollow" href="https://lifelinux.com">lifeLinux: Linux Tips, Hacks, Tutorials, Ebooks</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://lifelinux.com/how-to-update-linux-kernel-with-ksplice-uptrack/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Install RPM File On CentOS / RedHat</title>
		<link>https://lifelinux.com/install-rpm-file-on-centos-redhat/</link>
					<comments>https://lifelinux.com/install-rpm-file-on-centos-redhat/#respond</comments>
		
		<dc:creator><![CDATA[lifeLinux]]></dc:creator>
		<pubDate>Sun, 08 May 2011 10:53:15 +0000</pubDate>
				<category><![CDATA[Sys Admin]]></category>
		<category><![CDATA[Fedora]]></category>
		<category><![CDATA[grep command]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[linux system administrator]]></category>
		<category><![CDATA[linux yum commands]]></category>
		<category><![CDATA[package management system]]></category>
		<category><![CDATA[rhn]]></category>
		<category><![CDATA[rpm -ev]]></category>
		<category><![CDATA[rpm -ivh]]></category>
		<category><![CDATA[rpm -qa]]></category>
		<category><![CDATA[rpm -ql]]></category>
		<category><![CDATA[rpm command]]></category>
		<category><![CDATA[rpm uvh]]></category>
		<category><![CDATA[system updates]]></category>
		<category><![CDATA[yum]]></category>
		<category><![CDATA[yum command]]></category>
		<guid isPermaLink="false">http://www.lifelinux.com/?p=339</guid>

					<description><![CDATA[<p>rpm is a powerful Package Manager, which can be used to build, install, query, verify, update, and erase individual software packages. A package consists of an archive of files and meta-data used to install and erase the archive files. The meta-data includes helper scripts, file attributes, and descriptive information about the package. Packages come in [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://lifelinux.com/install-rpm-file-on-centos-redhat/">Install RPM File On CentOS / RedHat</a> appeared first on <a rel="nofollow" href="https://lifelinux.com">lifeLinux: Linux Tips, Hacks, Tutorials, Ebooks</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p></p><p><strong>rpm</strong> is a powerful <strong>Package Manager</strong>, which can be used to build, install, query, verify, update, and erase individual software packages. A package consists of an archive of files and meta-data used to install and erase the archive files. The meta-data includes helper scripts, file attributes, and descriptive information about the package. Packages come in two varieties: binary packages, used to encapsulate software to be installed, and source packages, containing the source code and recipe necessary to produce binary packages.<br />
<span id="more-339"></span></p>
<h3>Install RPM File</h3>
<p>To install an rpm file, open a terminal and then type the following command:</p>
<pre>
[root@server2 ~]# rpm -ivh file.rpm
</pre>
<p><strong>Note:</strong><br />
-i: Installs a new package<br />
-v: Print verbose information &#8211; normally routine progress messages will be displayed.<br />
-h: Print 50 hash marks as the package archive is unpacked. Use with -v|&#8211;verbose for a nicer display.</p>
<h3>Upgrade RPM File</h3>
<pre>
[root@server2 ~]# rpm -Uvh file.rpm
</pre>
<p><strong>Note:</strong><br />
-U: Upgrades or installs the package currently installed to a newer version. This is the same as install, except all other version(s) of the package are removed after the new package is installed.</p>
<h3>Erase RPM File</h3>
<pre>
[root@server2 ~]# rpm -ev ile.rpm
</pre>
<p><strong>Note:</strong><br />
-e: Erase command<br />
The following options may also be used:</p>
<pre>
--nodeps
</pre>
<p>Don&#8217;t check dependencies before uninstalling the packages.</p>
<h3>List of all install packages</h3>
<p>Type the following command:</p>
<pre>
[root@server2 ~]# rpm -qa 
</pre>
<p>Sample outputs:</p>
<pre>
...
libxslt-devel-1.1.17-2.el5_2.2
perl-libwww-perl-5.805-1.1.1
libc-client-devel-2004g-2.2.1
libidn-devel-0.6.5-1.1
libjpeg-devel-6b-37
gmp-devel-4.1.4-10.el5
libmcrypt-devel-2.5.8-4.el5.centos
libtidy-0.99.0-12.20070228.el5.centos
libtool-ltdl-1.5.22-7.el5_4
gpg-pubkey-1aa78495-3eb24301
openssl-0.9.8e-12.el5_5.7
NetworkManager-glib-0.7.0-10.el5_5.2
perl-XML-NamespaceSupport-1.09-1.2.1
perl-XML-Filter-BufferText-1.01-1.2.el5.rf
perl-XML-Simple-2.14-4.fc6
rsnapshot-1.3.1-1.el5.rf
</pre>
<p>List the files and state the installed version of the package called package. Example</p>
<pre>
[root@server2 ~]# rpm -ql mysql-5.0.77-4.el5_5.5
</pre>
<p>Sample outputs:</p>
<pre>
/etc/ld.so.conf.d/mysql-i386.conf
/etc/my.cnf
/usr/bin/msql2mysql
/usr/bin/my_print_defaults
/usr/bin/mysql
/usr/bin/mysql_config
/usr/bin/mysql_find_rows
/usr/bin/mysql_tableinfo
/usr/bin/mysql_waitpid
/usr/bin/mysqlaccess
/usr/bin/mysqladmin
/usr/bin/mysqlbinlog
/usr/bin/mysqlcheck
/usr/bin/mysqldump
/usr/bin/mysqlimport
/usr/bin/mysqlshow
/usr/lib/mysql
</pre>
<p><strong>Read the man page</strong></p>
<pre>
[root@server2 ~]# man rpm
</pre>
<g:plusone href="https://lifelinux.com/install-rpm-file-on-centos-redhat/" size="standard"  annotation="none"   ></g:plusone><p>The post <a rel="nofollow" href="https://lifelinux.com/install-rpm-file-on-centos-redhat/">Install RPM File On CentOS / RedHat</a> appeared first on <a rel="nofollow" href="https://lifelinux.com">lifeLinux: Linux Tips, Hacks, Tutorials, Ebooks</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://lifelinux.com/install-rpm-file-on-centos-redhat/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Using yum command on CentOS / RedHat</title>
		<link>https://lifelinux.com/using-yum-command-on-centos-redhat/</link>
					<comments>https://lifelinux.com/using-yum-command-on-centos-redhat/#respond</comments>
		
		<dc:creator><![CDATA[lifeLinux]]></dc:creator>
		<pubDate>Sat, 30 Apr 2011 07:27:48 +0000</pubDate>
				<category><![CDATA[Bash Shell]]></category>
		<category><![CDATA[Sys Admin]]></category>
		<category><![CDATA[rhel 5]]></category>
		<category><![CDATA[rpm]]></category>
		<category><![CDATA[yum]]></category>
		<category><![CDATA[yum check]]></category>
		<category><![CDATA[yum command]]></category>
		<category><![CDATA[yum install]]></category>
		<category><![CDATA[yum list]]></category>
		<category><![CDATA[yum update]]></category>
		<guid isPermaLink="false">http://www.lifelinux.com/?p=307</guid>

					<description><![CDATA[<p>yum is an interactive, automated update program which can be used for maintaining systems using rpm. Synopsis yum [options] [command] [package ...] The following is a list of the most commonly used yum commands: Install a package yum install [package name] Used to install the latest version of a package or group of packages. If [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://lifelinux.com/using-yum-command-on-centos-redhat/">Using yum command on CentOS / RedHat</a> appeared first on <a rel="nofollow" href="https://lifelinux.com">lifeLinux: Linux Tips, Hacks, Tutorials, Ebooks</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p></p><p>yum is an interactive, automated update program which can be used for maintaining systems using rpm.</p>
<h3>Synopsis</h3>
<pre>
yum [options] [command] [package ...]
</pre>
<p><span id="more-307"></span><br />
The following is a list of the most commonly used yum commands:</p>
<p><strong>Install a package</strong></p>
<pre>
yum install [package name]
</pre>
<p>Used to install the latest version of a package or group of packages. If no package matches the specified package name(s), they are assumed to be a shell glob, and any matches are then installed.</p>
<p><strong>Update the specified packages</strong></p>
<pre>
yum update [package name]
</pre>
<p>Used to update the specified packages to the latest available version. If no package name/s are specified, then yum will attempt to update all installed packages.</p>
<p><strong>Check update</strong></p>
<pre>
yum check-update
</pre>
<p>This command allows you to determine whether any updates are available for your installed packages. yum returns a list of all package updates from all repositories if any are available.</p>
<p><strong>Remove a package</strong></p>
<pre>
yum remove [package name]
</pre>
<p>Used to remove specified packages, along with any other packages dependent on the packages being removed.</p>
<p><strong>Determine which packages provide a specific file or feature</strong></p>
<pre>
yum provides [file name]
</pre>
<p><strong>Find any packages containing the specified keyword</strong></p>
<pre>
yum search [keyword]
</pre>
<p>This command is used to find any packages containing the specified keyword in the description, summary, packager and package name fields of RPMs in all repositories.</p>
<p><strong>For a complete list of available yum commands, refer to man yum.</strong></p>
<pre>
man yum
</pre>
<p>Sample outputs:</p>
<pre>
NAME
       yum - Yellowdog Updater Modified

SYNOPSIS
       yum [options] [command] [package ...]

DESCRIPTION
       yum  is an interactive, rpm based, package manager. It can automatically perform system updates, including dependency analysis and obsolete pro-
       cessing based on "repository" metadata. It can also perform installation of new packages, removal of old packages and  perform  queries  on  the
       installed  and/or  available  packages  among many other commands/services (see below). yum is similar to other high level package managers like
       apt-get and smart.

       While there are some graphical interfaces directly to the yum code, more recent graphical interface development is happening with PackageKit and
       the gnome-packagekit application.

       command is one of:
        * install package1 [package2] [...]
        * update [package1] [package2] [...]
        * check-update
        * upgrade [package1] [package2] [...]
        * remove | erase package1 [package2] [...]
        * list [...]
        * info [...]
        * provides | whatprovides feature1 [feature2] [...]
        * clean [ packages | headers | metadata | dbcache | all ]
        * makecache
        * groupinstall group1 [group2] [...]
        * groupupdate group1 [group2] [...]
        * grouplist [hidden] [groupwildcard] [...]
        * groupremove group1 [group2] [...]
        * groupinfo group1 [...]
        * search string1 [string2] [...]
        * shell [filename]
        * resolvedep dep1 [dep2] [...]
        * localinstall rpmfile1 [rpmfile2] [...]
        * localupdate rpmfile1 [rpmfile2] [...]
...
</pre>
<h3>Example: Install LAMP with single command by yum</h3>
<p>Enter the following command:</p>
<pre>
yum install httpd mysql mysql-server php 
</pre>
<g:plusone href="https://lifelinux.com/using-yum-command-on-centos-redhat/" size="standard"  annotation="none"   ></g:plusone><p>The post <a rel="nofollow" href="https://lifelinux.com/using-yum-command-on-centos-redhat/">Using yum command on CentOS / RedHat</a> appeared first on <a rel="nofollow" href="https://lifelinux.com">lifeLinux: Linux Tips, Hacks, Tutorials, Ebooks</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://lifelinux.com/using-yum-command-on-centos-redhat/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to install IPTables on RedHat / Centos Linux</title>
		<link>https://lifelinux.com/how-to-install-iptables-on-redhat-centos-linux/</link>
					<comments>https://lifelinux.com/how-to-install-iptables-on-redhat-centos-linux/#comments</comments>
		
		<dc:creator><![CDATA[lifeLinux]]></dc:creator>
		<pubDate>Sun, 24 Apr 2011 07:06:59 +0000</pubDate>
				<category><![CDATA[Networking]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[centos linux]]></category>
		<category><![CDATA[configuration tutorial]]></category>
		<category><![CDATA[fedora linux]]></category>
		<category><![CDATA[firewalls]]></category>
		<category><![CDATA[ip6tables command]]></category>
		<category><![CDATA[iptables command]]></category>
		<category><![CDATA[linux distros]]></category>
		<category><![CDATA[linux kernel]]></category>
		<category><![CDATA[network packet]]></category>
		<category><![CDATA[operating systems]]></category>
		<category><![CDATA[remote server]]></category>
		<category><![CDATA[repo]]></category>
		<category><![CDATA[rhel]]></category>
		<category><![CDATA[root user]]></category>
		<category><![CDATA[ssh client]]></category>
		<category><![CDATA[terminal window]]></category>
		<category><![CDATA[workstation]]></category>
		<category><![CDATA[yum]]></category>
		<category><![CDATA[yum command]]></category>
		<guid isPermaLink="false">http://www.lifelinux.com/?p=296</guid>

					<description><![CDATA[<p>iptables is a user space application program that allows a system administrator to configure the tables provided by the Linux kernel firewall (implemented as different Netfilter modules) and the chains and rules it stores. Different kernel modules and programs are currently used for different protocols; iptables applies to IPv4, ip6tables to IPv6, arptables to ARP, [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://lifelinux.com/how-to-install-iptables-on-redhat-centos-linux/">How to install IPTables on RedHat / Centos Linux</a> appeared first on <a rel="nofollow" href="https://lifelinux.com">lifeLinux: Linux Tips, Hacks, Tutorials, Ebooks</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p></p><blockquote><p>iptables is a user space application program that allows a system administrator to configure the tables provided by the Linux kernel firewall (implemented as different Netfilter modules) and the chains and rules it stores. Different kernel modules and programs are currently used for different protocols; iptables applies to IPv4, ip6tables to IPv6, arptables to ARP, and ebtables for Ethernet frames.<br />
Iptables requires elevated privileges to operate and must be executed by user root, otherwise it fails to function. On most Linux systems, iptables is installed as /usr/sbin/iptables and documented in its man page,[2] which can be opened using man iptables when installed. It may also be found in /sbin/iptables, but since iptables is not an &#8220;essential binary&#8221;, but more like a service, the preferred location remains /usr/sbin.<br />
iptables is also commonly used to inclusively refer to the kernel-level components. x_tables is the name of the kernel module carrying the shared code portion used by all four modules that also provides the API used for extensions; subsequently, Xtables is more or less used to refer to the entire firewall (v4,v6,arp,eb) architecture.<br />
Source: http://en.wikipedia.org/wiki/Iptables
</p></blockquote>
<p><span id="more-296"></span><br />
In most Linux distros including Redhat / CentOS Linux installs iptables by default. You can use the following procedure to verify that iptables has been installed. Open terminal and type the following command:</p>
<pre>
root@longvnit:~# iptables -V
</pre>
<p>Sample outputs:</p>
<pre>
iptables v1.3.5
</pre>
<p>You can use the following command to view the status of iptables command, enter:</p>
<pre>
root@longvnit:~#yum info iptables
</pre>
<p>Sample outputs:</p>
<pre>
Installed Packages
Name       : iptables
Arch       : i386
Version    : 1.3.5
Release    : 5.3.el5_4.1
Size       : 552 k
Repo       : installed
Summary    : Tools for managing Linux kernel packet filtering capabilities.
URL        : http://www.netfilter.org/
License    : GPL
Description: The iptables utility controls the network packet filtering code in
           : the Linux kernel. If you need to set up firewalls and/or IP
           : masquerading, you should install this package.
</pre>
<p>If the above message does not appear, then type the following command to install iptables</p>
<pre>
root@longvnit:~#yum install iptables
</pre>
<p>You can use the following command to view rules in all chains:</p>
<pre>
root@longvnit:~#iptables -L -n
</pre>
<p>Sample outputs:</p>
<pre>
Chain INPUT (policy DROP)
target     prot opt source               destination         
ACCEPT     all  --  0.0.0.0/0            0.0.0.0/0           state RELATED,ESTABLISHED 
ACCEPT     all  --  0.0.0.0/0            0.0.0.0/0           

Chain FORWARD (policy ACCEPT)
target     prot opt source               destination         

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination
</pre>
<g:plusone href="https://lifelinux.com/how-to-install-iptables-on-redhat-centos-linux/" size="standard"  annotation="none"   ></g:plusone><p>The post <a rel="nofollow" href="https://lifelinux.com/how-to-install-iptables-on-redhat-centos-linux/">How to install IPTables on RedHat / Centos Linux</a> appeared first on <a rel="nofollow" href="https://lifelinux.com">lifeLinux: Linux Tips, Hacks, Tutorials, Ebooks</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://lifelinux.com/how-to-install-iptables-on-redhat-centos-linux/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
		<item>
		<title>Auto Update CentOS Server With yum Command</title>
		<link>https://lifelinux.com/auto-update-centos-server-with-yum-command/</link>
					<comments>https://lifelinux.com/auto-update-centos-server-with-yum-command/#respond</comments>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Tue, 23 Nov 2010 08:42:09 +0000</pubDate>
				<category><![CDATA[Shell Scripting]]></category>
		<category><![CDATA[auto update]]></category>
		<category><![CDATA[auto yum update]]></category>
		<category><![CDATA[cron]]></category>
		<category><![CDATA[cronjob]]></category>
		<category><![CDATA[yum]]></category>
		<category><![CDATA[yum update]]></category>
		<guid isPermaLink="false">http://www.lifelinux.com/?p=50</guid>

					<description><![CDATA[<p>The yum command is used to install and update software under Centos, RedHat and Fedora. In this topic, i will use yum command to update Centos and configure yum to update automatically with Crontab. Create file yum_update.sh vi /etc/cron.daily/yum_update.sh With following content : #!/bin/bash /usr/bin/yum -y -R 120 -d 0 -e 0 update yum /usr/bin/yum [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://lifelinux.com/auto-update-centos-server-with-yum-command/">Auto Update CentOS Server With yum Command</a> appeared first on <a rel="nofollow" href="https://lifelinux.com">lifeLinux: Linux Tips, Hacks, Tutorials, Ebooks</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p></p><p>The <strong>yum command</strong> is used to install and update software under Centos, RedHat and Fedora. In this topic, i will use yum command to update Centos and configure yum to update automatically with Crontab.<span id="more-50"></span></p>
<p>Create file yum_update.sh</p>
<pre>vi /etc/cron.daily/yum_update.sh</pre>
<p>With following content :</p>
<pre>#!/bin/bash

/usr/bin/yum -y -R 120 -d 0 -e 0 update yum

/usr/bin/yum -y -R 10 -e 0 -d 0 update</pre>
<p>-e 0 -d 0  are to only show critical errors.<br />
-R adds random delay between command execution.</p>
<p>Make it executable</p>
<pre>chmod 755 /etc/cron.daily/yum_update.sh</pre>
<g:plusone href="https://lifelinux.com/auto-update-centos-server-with-yum-command/" size="standard"  annotation="none"   ></g:plusone><p>The post <a rel="nofollow" href="https://lifelinux.com/auto-update-centos-server-with-yum-command/">Auto Update CentOS Server With yum Command</a> appeared first on <a rel="nofollow" href="https://lifelinux.com">lifeLinux: Linux Tips, Hacks, Tutorials, Ebooks</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://lifelinux.com/auto-update-centos-server-with-yum-command/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
