<?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 command &#8211; lifeLinux: Linux Tips, Hacks, Tutorials, Ebooks</title>
	<atom:link href="https://lifelinux.com/tag/yum-command/feed/" rel="self" type="application/rss+xml" />
	<link>https://lifelinux.com</link>
	<description>All About Linux !</description>
	<lastBuildDate>Fri, 26 Aug 2011 05:36:33 +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 Setup A LAMP Server On Centos 6.0</title>
		<link>https://lifelinux.com/how-to-setup-a-lamp-server-on-centos-6-0/</link>
					<comments>https://lifelinux.com/how-to-setup-a-lamp-server-on-centos-6-0/#respond</comments>
		
		<dc:creator><![CDATA[lifeLinux]]></dc:creator>
		<pubDate>Fri, 26 Aug 2011 00:50:25 +0000</pubDate>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[WebServer]]></category>
		<category><![CDATA[Apache Hardening]]></category>
		<category><![CDATA[enterprise linux]]></category>
		<category><![CDATA[install httpd]]></category>
		<category><![CDATA[install LAMP]]></category>
		<category><![CDATA[install php]]></category>
		<category><![CDATA[install php 5]]></category>
		<category><![CDATA[install php5]]></category>
		<category><![CDATA[LAMP Hardening]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[linux security]]></category>
		<category><![CDATA[linux security modules]]></category>
		<category><![CDATA[optimize apache]]></category>
		<category><![CDATA[optmizing apache]]></category>
		<category><![CDATA[php 5]]></category>
		<category><![CDATA[php version]]></category>
		<category><![CDATA[php5]]></category>
		<category><![CDATA[red hat enterprise]]></category>
		<category><![CDATA[redhat]]></category>
		<category><![CDATA[rhel 5]]></category>
		<category><![CDATA[rpm command]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[setup LAMP]]></category>
		<category><![CDATA[yum command]]></category>
		<category><![CDATA[yum install httpd]]></category>
		<guid isPermaLink="false">http://www.lifelinux.com/?p=1081</guid>

					<description><![CDATA[<p>LAMP is essentially a server that runs Linux, Apache, MySQL and Php/Perl and is more commonly known as a LAMP server. This guide provides step-by-step instructions for installing a full-featured LAMP server on a CentOS 6 .0 1. Update system Before proceeding to install, update the system with the following command # yum update 2. [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://lifelinux.com/how-to-setup-a-lamp-server-on-centos-6-0/">How To Setup A LAMP Server On Centos 6.0</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>LAMP</strong> is essentially a server that runs <strong>L</strong>inux, <strong>A</strong>pache, <strong>My</strong>SQL and <strong>P</strong>hp/<strong>P</strong>erl and is more commonly known as a LAMP server. This guide provides step-by-step instructions for installing a full-featured LAMP server on a CentOS 6 .0<br />
<span id="more-1081"></span></p>
<h2>1. Update system</h2>
<p>Before proceeding to install, update the system with the following command</p>
<pre># yum update</pre>
<h2>2. Install and Configure the Apache Web Server</h2>
<p>The Apache web server is the most popular server online, used on more than 70% of all servers connected to the World Wide Web. And there are good reasons for it: it’s free, it’s very stable, it delivers a great performance, it’s very customizable. To install the current version of the Apache web server use the following command</p>
<pre># yum install httpd</pre>
<p>If you want to run Apache by default when the system boots, type the following command</p>
<pre># chkconfig httpd --level 2345 on</pre>
<p>To start Apache for the first time, type the following command</p>
<pre># /etc/init.d/httpd start</pre>
<h3>3. Apache Web Server Security and Optimization</h3>
<p><strong>1. Disable any unnecessary apache modules, type the following command</strong></p>
<pre># vi /etc/httpd/conf/httpd.conf</pre>
<p>My example configuration is here</p>
<pre>LoadModule auth_basic_module modules/mod_auth_basic.so
LoadModule auth_digest_module modules/mod_auth_digest.so
LoadModule authn_default_module modules/mod_authn_default.so
LoadModule authz_host_module modules/mod_authz_host.so
LoadModule authz_user_module modules/mod_authz_user.so
LoadModule authz_default_module modules/mod_authz_default.so
LoadModule include_module modules/mod_include.so
LoadModule log_config_module modules/mod_log_config.so
LoadModule env_module modules/mod_env.so
LoadModule mime_magic_module modules/mod_mime_magic.so
LoadModule expires_module modules/mod_expires.so
LoadModule deflate_module modules/mod_deflate.so
LoadModule headers_module modules/mod_headers.so
LoadModule setenvif_module modules/mod_setenvif.so
LoadModule mime_module modules/mod_mime.so
LoadModule status_module modules/mod_status.so
LoadModule autoindex_module modules/mod_autoindex.so
LoadModule info_module modules/mod_info.so
LoadModule negotiation_module modules/mod_negotiation.so
LoadModule dir_module modules/mod_dir.so
LoadModule actions_module modules/mod_actions.so
LoadModule alias_module modules/mod_alias.so
LoadModule rewrite_module modules/mod_rewrite.so</pre>
<p><strong>2. Optimize Timeout &amp; KeepAlive</strong><br />
You need to control Timeouts &amp; KeepAlive to improve server performance. Type the following command</p>
<pre># vi /etc/httpd/conf/httpd.conf</pre>
<p>Find &amp; Edit it as follows</p>
<pre>Timeout 10
KeepAlive On
MaxKeepAliveRequests 200
KeepAliveTimeout 5</pre>
<p><strong>3. Optimize MPM (Multi-Processing Module)</strong><br />
Apache&#8217;s default installation of MPM Prefork. To optimize MPM Prefork, type the following command</p>
<pre># vi /etc/httpd/conf/httpd.conf</pre>
<p>Find</p>
<pre>&lt;IfModule prefork.c&gt;</pre>
<p>Edit it as follows</p>
<pre>&lt;IfModule prefork.c&gt;
    StartServers          5
    MinSpareServers      10
    MaxSpareServers      15
    ServerLimit         450
    MaxClients          450
    MaxRequestsPerChild   0
&lt;/IfModule&gt;</pre>
<p>Which,</p>
<p># StartServers: number of server processes to start<br />
# MinSpareServers: minimum number of server processes which are kept spare<br />
# MaxSpareServers: maximum number of server processes which are kept spare<br />
# ServerLimit: maximum value for MaxClients for the lifetime of the server<br />
# MaxClients: maximum number of server processes allowed to start<br />
# MaxRequestsPerChild: maximum number of requests a server process serves</p>
<p><strong>4. Enable Mod_rewite</strong><br />
To enable mod_rewirte, type the following command</p>
<pre># vi /etc/httpd/conf/httpd.conf</pre>
<p>Find</p>
<pre>&lt;Directory "/var/www/html"&gt;</pre>
<p>Edit it as follows</p>
<pre>&lt;Directory "/var/www/html"&gt;
    AllowOverride All
    Options -MultiViews -Indexes FollowSymlinks IncludesNoExec +Includes
&lt;Limit GET POST OPTIONS PROPFIND&gt;
    Order allow,deny
    Allow from all
&lt;/Limit&gt;
&lt;LimitExcept GET POST OPTIONS PROPFIND&gt;
    Order deny,allow
    Deny from all
&lt;/LimitExcept&gt;
&lt;/Directory&gt;</pre>
<p><strong>5. Enable File Caching</strong><br />
Enabling file caching can greatly improve your site’s performance and speed. If you want to enable file caching, type the following command</p>
<pre># vi /etc/httpd/conf/httpd.conf</pre>
<p>Find</p>
<pre>&lt;Directory "/var/www/html"&gt;</pre>
<p>Edit it as follows</p>
<pre>&lt;Directory "/var/www/html"&gt;
    AllowOverride All
    Options -MultiViews -Indexes FollowSymlinks IncludesNoExec +Includes
&lt;Limit GET POST OPTIONS PROPFIND&gt;
    Order allow,deny
    Allow from all
&lt;/Limit&gt;
&lt;LimitExcept GET POST OPTIONS PROPFIND&gt;
    Order deny,allow
    Deny from all
&lt;/LimitExcept&gt;
&lt;FilesMatch "\.(flv|swf|ico|gif|jpg|jpeg|png|html|css)$"&gt;  
	Header set Cache-Control "max-age=604800, public"  
&lt;/FilesMatch&gt;
&lt;/Directory&gt;</pre>
<h2>4. Install and Configure MySQL Database Server</h2>
<p>MySQL Server is one of the most popular database servers in the world, especially for use with dynamic, content rich websites. To install MySQL database server use the following command</p>
<pre># yum install mysql mysql-server</pre>
<p>After installing MySQL, I highly recommend to run mysql_secure_installation, a program that helps secure MySQL. Important points to note are:<br />
1. Be sure that the root account has a secure password set.<br />
2. Do not create an anonymous account, and if it exists, say &#8220;yes&#8221; to remove it.<br />
3. If your web server and MySQL server are on the same machine, you should disable the network access.</p>
<p>If you want to run MySQL by default when the system boots, type the following command</p>
<pre># chkconfig mysqld--level 2345 on</pre>
<p>To start MySQL for the first time, type the following command</p>
<pre># /etc/init.d/mysqld start</pre>
<h2>5. Installing and Configuring PHP</h2>
<p>PHP is a general-purpose scripting language originally designed for web development to produce dynamic web pages. Many popular web applications like WordPress, Joomla, Drupal, OScommerce, Magento are written in PHP. To install PHP on CentOS use the following command</p>
<pre># yum install php53 php53-mysql</pre>
<p>To create secure PHP configuration settings, type the following command</p>
<pre>
# vi /etc/php.ini
</pre>
<p>Find &#038; Edit it as follows</p>
<pre>
allow_url_fopen = Off 
display_errors = Off 
display_startup_errors = Off 
log_errors = On 
error_reporting = E_ALL 
expose_php = Off 
magic_quotes_gpc = On 
magic_quotes_sybase = Off 
register_globals = Off
max_execution_time = 60
memory_limit = 64M
</pre>
<p>To prevent run PHP scripts with a different file extension, type the following command</p>
<pre># vi /etc/httpd/conf.d/php.conf</pre>
<p>Find</p>
<pre>
AddHandler php5-script .php
AddType text/html .php
</pre>
<p>Replace it as follows</p>
<pre>&lt;FilesMatch \.php$&gt;
	AddHandler php5-script .php
	AddType text/html .php
&lt;/FilesMatch&gt;</pre>
<p>Restart Apache to reload new configurations. Type the following command</p>
<pre># /etc/init.d/httpd restart</pre>
<g:plusone href="https://lifelinux.com/how-to-setup-a-lamp-server-on-centos-6-0/" size="standard"  annotation="none"   ></g:plusone><p>The post <a rel="nofollow" href="https://lifelinux.com/how-to-setup-a-lamp-server-on-centos-6-0/">How To Setup A LAMP Server On Centos 6.0</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-setup-a-lamp-server-on-centos-6-0/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How To Install Memcache PHP Extension</title>
		<link>https://lifelinux.com/how-to-install-memcache-php-extension/</link>
					<comments>https://lifelinux.com/how-to-install-memcache-php-extension/#respond</comments>
		
		<dc:creator><![CDATA[lifeLinux]]></dc:creator>
		<pubDate>Tue, 23 Aug 2011 10:08:43 +0000</pubDate>
				<category><![CDATA[Sys Admin]]></category>
		<category><![CDATA[WebServer]]></category>
		<category><![CDATA[/etc/sysconfig/memcached]]></category>
		<category><![CDATA[centos memcached]]></category>
		<category><![CDATA[chkconfig command]]></category>
		<category><![CDATA[EPEL repo]]></category>
		<category><![CDATA[fedora memcached]]></category>
		<category><![CDATA[Linux memcached]]></category>
		<category><![CDATA[memcached]]></category>
		<category><![CDATA[memcached-selinux]]></category>
		<category><![CDATA[memcached-tool command]]></category>
		<category><![CDATA[php-pecl-memcache]]></category>
		<category><![CDATA[redhat memcached]]></category>
		<category><![CDATA[rhel memcached]]></category>
		<category><![CDATA[service command]]></category>
		<category><![CDATA[yum command]]></category>
		<guid isPermaLink="false">http://www.lifelinux.com/?p=983</guid>

					<description><![CDATA[<p>Memcache extension provides handy procedural and object oriented interface to memcached, highly effective caching daemon, which was especially designed to decrease database load in dynamic web applications. This article will explain how to install the memcache PHP extension on Centos/RedHat/Fedora. The first, download the latest &#038; stable package from http://pecl.php.net/package/memcache. Type the following command # [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://lifelinux.com/how-to-install-memcache-php-extension/">How To Install Memcache PHP Extension</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>Memcache</strong> extension provides handy procedural and object oriented interface to memcached, highly effective caching daemon, which was especially designed to decrease database load in dynamic web applications. This article will explain how to install the memcache PHP extension on Centos/RedHat/Fedora.<span id="more-983"></span></p>
<p>The first, download the latest &#038; stable package from http://pecl.php.net/package/memcache. Type the following command</p>
<pre>
# wget http://pecl.php.net/get/memcache-2.2.6.tgz
</pre>
<p>Extract memcache-2.2.6.tgz</p>
<pre>
# tar zxvf memcache-2.2.6.tgz
</pre>
<p>To install memcache extension, you need to install the php-devel package that matches the version of php that you are currently running. Example, i&#8217;m using PHP 5.3 then enter</p>
<pre>
# yum install php53-devel
</pre>
<p>Run the phpize command to prepare the build environment for a PHP extension</p>
<pre>
# phpize
</pre>
<p>Sample output</p>
<pre>
Configuring for:
PHP Api Version:         20090626
Zend Module Api No:      20090626
Zend Extension Api No:   220090626
</pre>
<p>Configure &#038; Install memcache extension. Type the following command</p>
<pre>
# ./configure
# make
# make install
</pre>
<p>If your get the following error message when run ./configure</p>
<pre>
checking for the location of ZLIB... no
checking for the location of zlib... configure: error: memcache support requires ZLIB. Use --with-zlib-dir=<DIR> to specify prefix where ZLIB include and library are located
</pre>
<p>Then type the following command to fix it</p>
<pre>
# yum install zlib zlib-devel
</pre>
<p>Finally, use the following command to add memcache extension to php.ini</p>
<pre>
# echo "extension=memcache.so" >> /etc/php.ini
</pre>
<g:plusone href="https://lifelinux.com/how-to-install-memcache-php-extension/" size="standard"  annotation="none"   ></g:plusone><p>The post <a rel="nofollow" href="https://lifelinux.com/how-to-install-memcache-php-extension/">How To Install Memcache PHP Extension</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-memcache-php-extension/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Zipping And Unzipping Files Under Linux</title>
		<link>https://lifelinux.com/zipping-and-unzipping-files-under-linux/</link>
					<comments>https://lifelinux.com/zipping-and-unzipping-files-under-linux/#respond</comments>
		
		<dc:creator><![CDATA[lifeLinux]]></dc:creator>
		<pubDate>Fri, 27 May 2011 01:07:00 +0000</pubDate>
				<category><![CDATA[Sys Admin]]></category>
		<category><![CDATA[application menu]]></category>
		<category><![CDATA[debian linux distribution]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[unzip]]></category>
		<category><![CDATA[unzip program]]></category>
		<category><![CDATA[winzip program]]></category>
		<category><![CDATA[yum command]]></category>
		<category><![CDATA[zip]]></category>
		<guid isPermaLink="false">http://www.lifelinux.com/?p=796</guid>

					<description><![CDATA[<p>Neither the zip nor the unzip utilities are included in the default install of Linux. To install them from shell prompt, you must be a root user and type following two commands to install zip and unzip program. If you are using RedHat / CentOS / Fedora then enter # yum install zip unzip If [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://lifelinux.com/zipping-and-unzipping-files-under-linux/">Zipping And Unzipping 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>Neither the <strong>zip</strong> nor the <strong>unzip</strong> utilities are included in the default install of Linux. To install them from shell prompt, you must be a root user and type following two commands to install zip and unzip program.<br />
<span id="more-796"></span><br />
<strong>If you are using RedHat / CentOS / Fedora then enter</strong></p>
<pre>
# yum install zip unzip
</pre>
<p><strong>If you are using Ubuntu / Debian then enter</strong></p>
<pre>
# apt-get install zip unzip
</pre>
<h3>zip examples</h3>
<p>Creates the archive data.zip and puts all the files in the current directory in it in compressed form, type the following command</p>
<pre>
$ zip data *
</pre>
<p>To zip up an entire directory, type the following command</p>
<pre>
$ zip -r data *
</pre>
<p>To put the zip archive in the directory /tmp and copying over data.zip to the current directory, enter</p>
<pre>
$ zip -b /tmp data *
</pre>
<h3>unzip examples</h3>
<p>To use unzip to extract all files of the archive pics.zip into the current directory, enter</p>
<pre>
$ unzip data.zip
</pre>
<p>To extract all files into the /tmp directory, enter</p>
<pre>
$ unzip data.zip -d /tmp
</pre>
<p>To list all files from data.zip, enter</p>
<pre>
$ unzip -l data.zip
</pre>
<g:plusone href="https://lifelinux.com/zipping-and-unzipping-files-under-linux/" size="standard"  annotation="none"   ></g:plusone><p>The post <a rel="nofollow" href="https://lifelinux.com/zipping-and-unzipping-files-under-linux/">Zipping And Unzipping 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/zipping-and-unzipping-files-under-linux/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>RedHat / CentOS 32 Bit Support 4GB Or More RAM ( Memory )</title>
		<link>https://lifelinux.com/redhat-centos-32-bit-support-4gb-or-more-ram-memory/</link>
					<comments>https://lifelinux.com/redhat-centos-32-bit-support-4gb-or-more-ram-memory/#respond</comments>
		
		<dc:creator><![CDATA[lifeLinux]]></dc:creator>
		<pubDate>Mon, 23 May 2011 05:54:24 +0000</pubDate>
				<category><![CDATA[Sys Admin]]></category>
		<category><![CDATA[centos 4 pae kernel]]></category>
		<category><![CDATA[CentOS 4GB support RAM]]></category>
		<category><![CDATA[centos pae]]></category>
		<category><![CDATA[centos pae display memory]]></category>
		<category><![CDATA[how to install kernel pae rhel]]></category>
		<category><![CDATA[kernel package]]></category>
		<category><![CDATA[kernel-pae]]></category>
		<category><![CDATA[linux 4gb]]></category>
		<category><![CDATA[linux 4gb ram]]></category>
		<category><![CDATA[linux kernel]]></category>
		<category><![CDATA[linux large memory support]]></category>
		<category><![CDATA[pae kernel]]></category>
		<category><![CDATA[RHEL 4GB RAM support]]></category>
		<category><![CDATA[rhel 5 pae]]></category>
		<category><![CDATA[yum command]]></category>
		<guid isPermaLink="false">http://www.lifelinux.com/?p=738</guid>

					<description><![CDATA[<p>If you are running RedHat / CentOS 32 bit and have 4 GB or more RAM use the Linux kernel compiled for PAE capable machines. Your machine may not show up total 4GB ram with 32 bit architecture servers. All you have to do is install PAE kernel package. What is PAE ? Physical Address [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://lifelinux.com/redhat-centos-32-bit-support-4gb-or-more-ram-memory/">RedHat / CentOS 32 Bit Support 4GB Or More RAM ( Memory )</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>If you are running RedHat / CentOS 32 bit and have 4 GB or more RAM use the Linux kernel compiled for PAE capable machines. Your machine may not show up total 4GB ram with 32 bit architecture servers. All you have to do is install PAE kernel package.<span id="more-738"></span></p>
<h3>What is PAE ?</h3>
<p><strong>Physical Address Extension</strong> (PAE) is a technology which allows 32 bit operating systems to use up to 64 Gb of memory (RAM), something which is normally achieved by switching to a 64 bit system.</p>
<p>The Linux kernel includes full PAE mode support starting with version 2.3.23, enabling access of up to 64 GB of memory on 32-bit machines. A PAE-enabled Linux-kernel requires that the CPU also support PAE.</p>
<h3>How to install PAE kernel?</h3>
<p>Type the following command as root</p>
<pre>
# yum install kernel-PAE -y
</pre>
<p>Just reboot the server and make sure you boot with PAE kernel</p>
<pre>
# shutdown -r now
</pre>
<g:plusone href="https://lifelinux.com/redhat-centos-32-bit-support-4gb-or-more-ram-memory/" size="standard"  annotation="none"   ></g:plusone><p>The post <a rel="nofollow" href="https://lifelinux.com/redhat-centos-32-bit-support-4gb-or-more-ram-memory/">RedHat / CentOS 32 Bit Support 4GB Or More RAM ( Memory )</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/redhat-centos-32-bit-support-4gb-or-more-ram-memory/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How To Install OpenSSH on Centos / RedHat</title>
		<link>https://lifelinux.com/how-to-install-openssh-on-centos-redhat/</link>
					<comments>https://lifelinux.com/how-to-install-openssh-on-centos-redhat/#comments</comments>
		
		<dc:creator><![CDATA[lifeLinux]]></dc:creator>
		<pubDate>Tue, 10 May 2011 08:06:12 +0000</pubDate>
				<category><![CDATA[Monitoring]]></category>
		<category><![CDATA[Networking]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Sys Admin]]></category>
		<category><![CDATA[/etc/ssh/sshd_config]]></category>
		<category><![CDATA[best security]]></category>
		<category><![CDATA[centos install open ssh client]]></category>
		<category><![CDATA[centos install open ssh server]]></category>
		<category><![CDATA[client applications]]></category>
		<category><![CDATA[dport]]></category>
		<category><![CDATA[firewall 1]]></category>
		<category><![CDATA[firewall settings]]></category>
		<category><![CDATA[linux operating systems]]></category>
		<category><![CDATA[port 22]]></category>
		<category><![CDATA[security practices]]></category>
		<category><![CDATA[server configuration]]></category>
		<category><![CDATA[server daemon]]></category>
		<category><![CDATA[sshd]]></category>
		<category><![CDATA[yum command]]></category>
		<guid isPermaLink="false">http://www.lifelinux.com/?p=365</guid>

					<description><![CDATA[<p>What is OpenSSH ? OpenSSH is a FREE version of the SSH connectivity tools that technical users of the Internet rely on. Users of telnet, rlogin, and ftp may not realize that their password is transmitted across the Internet unencrypted, but it is. OpenSSH encrypts all traffic (including passwords) to effectively eliminate eavesdropping, connection hijacking, [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://lifelinux.com/how-to-install-openssh-on-centos-redhat/">How To Install OpenSSH 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><h3>What is OpenSSH ?</h3>
<p><strong>OpenSSH</strong> is a FREE version of the SSH connectivity tools that technical users of the Internet rely on. Users of telnet, rlogin, and ftp may not realize that their password is transmitted across the Internet unencrypted, but it is. <strong>OpenSSH</strong> encrypts all traffic (including passwords) to effectively eliminate eavesdropping, connection hijacking, and other attacks. Additionally, <strong>OpenSSH</strong> provides secure tunneling capabilities and several authentication methods, and supports all SSH protocol versions.<span id="more-365"></span></p>
<h3>Install OpenSSH under CentOS Linux</h3>
<p>To install the server and client type the following command:</p>
<pre>[root@lifelinux ~]# yum install openssh-server</pre>
<p>Start the service:</p>
<pre>[root@lifelinux ~]# service sshd start</pre>
<p>Set sshd service to automatically start at boot time, type the following command</p>
<pre>[root@lifelinux ~]# chkconfig sshd on</pre>
<p>Check &amp; Make sure port 22 is opened:</p>
<pre>[root@lifelinux ~]# netstat -tulpn | grep :22</pre>
<p>Sample outputs:</p>
<pre>tcp        0      0 :::22                       :::*                        LISTEN      1703/sshd</pre>
<h3>OpenSSH Server Configuration</h3>
<p>Now you need to edit the /etc/ssh/sshd_config file using vi or any other editor and you need to change the following Directives or add the following directives for OpenSSH server configuration these are only some of basic directives if you want to know available directives check <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=sshd_config&amp;sektion=5">here</a><br />
To change SSH listening port, example change port to 2222</p>
<pre>Port 2222</pre>
<p>To disable root logins, edit or add as follows:</p>
<pre>PermitRootLogin no</pre>
<p>Allow only SSH protocol 2</p>
<pre>Protocol 2</pre>
<p>Allow only user1 and user2 over SSH:</p>
<pre>AllowUsers user1 user2</pre>
<h3>Firewall Settings</h3>
<p>Open /etc/sysconfig/iptables file, enter:</p>
<pre>[root@lifelinux ~]# vi /etc/sysconfig/iptables</pre>
<p>Add the following line</p>
<pre>-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 22 -j ACCEPT</pre>
<p>Save and close the file. Restart the firewall:</p>
<pre>[root@lifelinux ~]# /etc/init.d/iptables restart</pre>
<g:plusone href="https://lifelinux.com/how-to-install-openssh-on-centos-redhat/" size="standard"  annotation="none"   ></g:plusone><p>The post <a rel="nofollow" href="https://lifelinux.com/how-to-install-openssh-on-centos-redhat/">How To Install OpenSSH 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-openssh-on-centos-redhat/feed/</wfw:commentRss>
			<slash:comments>1</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>How To Install PHP on Centos</title>
		<link>https://lifelinux.com/how-to-install-php-on-centos/</link>
					<comments>https://lifelinux.com/how-to-install-php-on-centos/#respond</comments>
		
		<dc:creator><![CDATA[lifeLinux]]></dc:creator>
		<pubDate>Thu, 25 Nov 2010 16:59:19 +0000</pubDate>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[WebServer]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[install php]]></category>
		<category><![CDATA[install php latest version]]></category>
		<category><![CDATA[install php on centos]]></category>
		<category><![CDATA[install php on linux]]></category>
		<category><![CDATA[install php with yum]]></category>
		<category><![CDATA[setup php on linux]]></category>
		<category><![CDATA[yum command]]></category>
		<guid isPermaLink="false">http://www.lifelinux.com/?p=207</guid>

					<description><![CDATA[<p>PHP: Hypertext Preprocessor is a widely used, general-purpose scripting language that was originally designed for web development to produce dynamic web pages. For this purpose, PHP code is embedded into the HTML source document and interpreted by a web server with a PHP processor module, which generates the web page document. As a general-purpose programming [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://lifelinux.com/how-to-install-php-on-centos/">How To Install PHP on Centos</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><strong>PHP:</strong> Hypertext Preprocessor is a widely used, general-purpose scripting language that was originally designed for web development to produce dynamic web pages. For this purpose, PHP code is embedded into the HTML source document and interpreted by a web server with a PHP processor module, which generates the web page document. As a general-purpose programming language, PHP code is processed by an interpreter application in command-line mode performing desired operating system operations and producing program output on its standard output channel. It may also function as a graphical application. PHP is available as a processor for most modern web servers and as a standalone interpreter on most operating systems and computing platforms. (<a href="http://en.wikipedia.org/wiki/PHP">wikipedia.org</a>)</p></blockquote>
<p><span id="more-207"></span><br />
<strong>PHP</strong> works with apache, lighttpd, nignx and other webservers and PHP is very easy to install.</p>
<h2>Installing PHP on CentOS</h2>
<p>if you would like to install PHP on CentOS use yum command</p>
<pre>yum install php
</pre>
<h2>Updating PHP on CentOS</h2>
<p>if you would like to update PHP on CentOS use yum command</p>
<pre>yum update php
</pre>
<h2>Install &amp; Update PHP latest version</h2>
<p>Default the system will be installed php with stable version, but if you wanted to install or update PHP with latest version then you need to create <strong>/etc/yum.repos.d/centos-test.repo</strong> and enter following lines in it:</p>
<pre>[c5-testing]
name=CentOS-5 Testing
baseurl=http://dev.centos.org/centos/5/testing/$basearch/
enabled=1
gpgcheck=1
gpgkey=http://dev.centos.org/centos/RPM-GPG-KEY-CentOS-testing
</pre>
<g:plusone href="https://lifelinux.com/how-to-install-php-on-centos/" size="standard"  annotation="none"   ></g:plusone><p>The post <a rel="nofollow" href="https://lifelinux.com/how-to-install-php-on-centos/">How To Install PHP on Centos</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-php-on-centos/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
