<?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>Linux Certification</title>
	<atom:link href="http://lpilinux.com/feed" rel="self" type="application/rss+xml" />
	<link>http://lpilinux.com</link>
	<description>LPI Certification - What, Why, and How</description>
	<lastBuildDate>Thu, 01 Sep 2011 13:53:33 +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>openSUSE distribution</title>
		<link>http://lpilinux.com/opensuse-distribution.html</link>
		<comments>http://lpilinux.com/opensuse-distribution.html#comments</comments>
		<pubDate>Thu, 01 Sep 2011 13:53:33 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux Networking]]></category>

		<guid isPermaLink="false">http://lpilinux.com/?p=634</guid>
		<description><![CDATA[The openSUSE distribution is a stable, easy to use and complete multi-purpose distribution. It is aimed towards users and developers working on the desktop or server. It is great for beginners, experienced users and ultra geeks alike, in short, it &#8230; <a href="http://lpilinux.com/opensuse-distribution.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Flpilinux.com%2Fopensuse-distribution.html"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Flpilinux.com%2Fopensuse-distribution.html&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>The openSUSE distribution is a stable, easy to use and complete multi-purpose distribution.<br />
It is aimed towards users and developers working on the desktop or server. It is great for beginners, experienced users and ultra geeks alike, in short, it is perfect for everybody! The latest release, openSUSE 11.4, features new and massively improved versions of all useful server and desktop applications. It comes with more than 1,000 open source applications.</p>
<p>openSUSE is also the base for SUSE&#8217;s award-winning SUSE Linux Enterprise products.</p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Flpilinux.com%2Fopensuse-distribution.html&amp;title=openSUSE%20distribution"><img src="http://lpilinux.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://lpilinux.com/opensuse-distribution.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Hacking joomla</title>
		<link>http://lpilinux.com/hacking-joomla.html</link>
		<comments>http://lpilinux.com/hacking-joomla.html#comments</comments>
		<pubDate>Mon, 29 Aug 2011 05:35:54 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux Networking]]></category>

		<guid isPermaLink="false">http://lpilinux.com/?p=631</guid>
		<description><![CDATA[&#8220;Popular open source Content Management Systems (CMSs) like Drupal, Joomla! and WordPress, are regularly subject to source code reviews as well as blackbox pentesting. Thus, vulnerabilities in these systems are quickly identified and fixed. And security updates are frequently released. &#8230; <a href="http://lpilinux.com/hacking-joomla.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Flpilinux.com%2Fhacking-joomla.html"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Flpilinux.com%2Fhacking-joomla.html&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>&#8220;Popular open source Content Management Systems (CMSs) like Drupal, Joomla! and WordPress, are regularly subject to source code reviews as well as blackbox pentesting. Thus, vulnerabilities in these systems are quickly identified and fixed. And security updates are frequently released. Unfortunately, people tend to install the base CMS, add plugins, build their website and then never upgrade when security patches are available. Furthermore, third party developed plugins usually extend the offender&#8217;s attack surface and expose the CMS-based website to new threats.</p>
<p>&#8220;During pentests, and facing a CMS based website, I often look for open source security tools that are targeted specifically at the CMS in question. These tools usually excel at fingerprinting the CMS version used by the target, detecting installed plugins/themes, and identifying corresponding vulnerabilities. &#8221;</p>
<p>For further reading, please visit: http://aim4r.blogspot.com/2011/08/hacking-joomla-fast-and-easy-way.html</p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Flpilinux.com%2Fhacking-joomla.html&amp;title=Hacking%20joomla"><img src="http://lpilinux.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://lpilinux.com/hacking-joomla.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>FOSS</title>
		<link>http://lpilinux.com/foss.html</link>
		<comments>http://lpilinux.com/foss.html#comments</comments>
		<pubDate>Mon, 21 Mar 2011 23:20:33 +0000</pubDate>
		<dc:creator>lpilinuxblog</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://lpilinux.com/?p=615</guid>
		<description><![CDATA[In the 1950s, 1960s, and 1970s, it was normal for computer users to have the freedoms that are provided by free software. Software was commonly shared by individuals who used computers and by hardware manufacturers who were glad that people &#8230; <a href="http://lpilinux.com/foss.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Flpilinux.com%2Ffoss.html"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Flpilinux.com%2Ffoss.html&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>In the 1950s, 1960s, and 1970s, it was normal for computer users to have the freedoms that are provided by free software. Software was commonly shared by individuals who used computers and by hardware manufacturers who were glad that people were making software that made their hardware useful. Organizations of users and suppliers were formed to facilitate the exchange of software; see, for example, SHARE and DECUS. By the late 1960s change was inevitable: software costs were dramatically increasing, a growing software industry was competing with the hardware manufacturer&#8217;s bundled software products (free in that the cost was included in the hardware cost), leased machines required software support while providing no revenue for software, and some customers able to better meet their own needs did not want the costs of &#8220;free&#8221; software bundled with hardware product costs. In United States vs. <a href="http://www.ucertify.com/vendors/IBM.html">IBM</a>, filed January 17, 1969, the government charged that bundled software was anticompetitive.[7] While some software might always be free, there would be a growing amount of software that was for sale only. In the 1970s and early 1980s, the software industry began using technical measures (such as only distributing binary copies of computer programs) to actually prevent computer users from being able to study and customize software they had paid for. In 1980 copyright law[where?] was extended to computer programs.</p>
<div style="background: #E3E4FA;">
<ul>
<li> Pass <a href="http://www.ucertify.com/exams/CompTIA/lx0-101.html">lx0-101 Certification</a></li>
<li>Download Free Practice For<a href="http://www.ucertify.com/download/lx0-101.html"> lx0-101 </a> Exam</li>
</ul>
</div>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Flpilinux.com%2Ffoss.html&amp;title=FOSS"><img src="http://lpilinux.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://lpilinux.com/foss.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Photoshop from uCertify</title>
		<link>http://lpilinux.com/photoshop-from-ucertify.html</link>
		<comments>http://lpilinux.com/photoshop-from-ucertify.html#comments</comments>
		<pubDate>Fri, 11 Mar 2011 04:35:47 +0000</pubDate>
		<dc:creator>lpilinuxblog</dc:creator>
				<category><![CDATA[Linux Networking]]></category>

		<guid isPermaLink="false">http://lpilinux.com/?p=612</guid>
		<description><![CDATA[uCertify has launched Photoshop CS5 Practice test. Pass 117-102 Certification Download Free Practice For 117-102 Exam]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Flpilinux.com%2Fphotoshop-from-ucertify.html"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Flpilinux.com%2Fphotoshop-from-ucertify.html&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>uCertify has launched <a href="http://www.ucertify.com/exams/Adobe/9A0-150.html">Photoshop CS5 Practice test</a>.</p>
<div style="background: #E3E4FA;">
<ul>
<li> Pass <a href="http://www.ucertify.com/exams/LPI/117-102.html">117-102 Certification</a></li>
<li>Download Free Practice For<a href="http://www.ucertify.com/download/117-102.html"> 117-102 </a> Exam</li>
</ul>
</div>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Flpilinux.com%2Fphotoshop-from-ucertify.html&amp;title=Photoshop%20from%20uCertify"><img src="http://lpilinux.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://lpilinux.com/photoshop-from-ucertify.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>uCertify Black Friday Sale</title>
		<link>http://lpilinux.com/ucertify-black-friday-sale.html</link>
		<comments>http://lpilinux.com/ucertify-black-friday-sale.html#comments</comments>
		<pubDate>Wed, 24 Nov 2010 11:19:02 +0000</pubDate>
		<dc:creator>lpilinuxblog</dc:creator>
				<category><![CDATA[Reviews]]></category>

		<guid isPermaLink="false">http://lpilinux.com/?p=610</guid>
		<description><![CDATA[Hi guys, uCertify has some terrific treats for you this Thanksgiving! Turkey and mashed potatoes are not the only things up for gobbling this week. Check out these incredible savings! 60% off any 6 PrepKits 55% off any 5 PrepKits &#8230; <a href="http://lpilinux.com/ucertify-black-friday-sale.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Flpilinux.com%2Fucertify-black-friday-sale.html"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Flpilinux.com%2Fucertify-black-friday-sale.html&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>Hi guys,</p>
<p><a href="http://www.ucertify.com">uCertify</a> has some terrific treats for you this Thanksgiving! Turkey and mashed potatoes are not the only things up for gobbling this week.</p>
<p>Check out these incredible savings!</p>
<p><strong> <a href="https://www.ucertify.com/cart/todays-deal.php?deal=5">60% off any 6 PrepKits</a></strong></p>
<p><strong><a href="https://www.ucertify.com/cart/todays-deal.php?deal=4">55% off any 5 PrepKits</a></p>
<p><a href="https://www.ucertify.com/cart/todays-deal.php?deal=3">50% off any 4 PrepKits</a></p>
<p><a href="https://www.ucertify.com/cart/todays-deal.php?deal=2">40% off any 3 Prepkits</a></p>
<p></strong></p>
<p><strong><a href="https://www.ucertify.com/cart/todays-deal.php?deal=1">35% off any 2 Prepkits</a></p>
<p></strong></p>
<p><strong>Let&#8217;s celebrate this Black Friday with <a href="http://www.ucertify.com">uCertify</a> PrepKits.</p>
<p></strong></p>
<div style="background: #E3E4FA;">
<ul>
<li> Pass <a href="http://www.ucertify.com/exams/CompTIA/lx0-102.html">lx0-102 Certification</a></li>
<li>Download Free Practice For<a href="http://www.ucertify.com/download/lx0-102.html"> lx0-102 </a> Exam</li>
</ul>
</div>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Flpilinux.com%2Fucertify-black-friday-sale.html&amp;title=uCertify%20Black%20Friday%20Sale"><img src="http://lpilinux.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://lpilinux.com/ucertify-black-friday-sale.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>uCertify Early Bird Sale</title>
		<link>http://lpilinux.com/ucertify-early-bird-sale.html</link>
		<comments>http://lpilinux.com/ucertify-early-bird-sale.html#comments</comments>
		<pubDate>Mon, 22 Nov 2010 03:38:15 +0000</pubDate>
		<dc:creator>lpilinuxblog</dc:creator>
				<category><![CDATA[Reviews]]></category>

		<guid isPermaLink="false">http://lpilinux.com/?p=606</guid>
		<description><![CDATA[HI Guys, uCertify is getting the holiday celebrations going with its early bird, pre-Thanksgiving sale. Join the feasting with huge discounts on all uCertify PrepKits. If earning an IT certification was on your New Yearâ€™s resolution or goals for 2010, &#8230; <a href="http://lpilinux.com/ucertify-early-bird-sale.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Flpilinux.com%2Fucertify-early-bird-sale.html"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Flpilinux.com%2Fucertify-early-bird-sale.html&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>HI Guys,</p>
<p><a href="http://www.ucertify.com">uCertify</a> is getting the holiday celebrations going with its early bird, pre-Thanksgiving sale. Join the feasting with huge discounts on all <a href="http://www.ucertify.com">uCertify</a> PrepKits. If earning an IT certification was on your New Yearâ€™s resolution or goals for 2010, hereâ€™s a great opportunity. More than ever, IT certifications are added that extra edge you need to get a new job or keep your current one.<br />
<a href="http://www.ucertify.com">uCertify</a> invites the first 100 customers to begin feasting early! Buy 3 or more Prepkits and get 40% OFF! uCertify offers home and work licence for all PrepKits â€“ this means you are licensed to install your Prepkit on any 2 computers.</p>
<p>Lets earn some certification on the occasion of Early Bird.</p>
<div style="background: #E3E4FA;">
<ul>
<li> Pass <a href="http://www.ucertify.com/exams/LPI/117-301.html">117-301 Certification</a></li>
<li>Download Free Practice For<a href="http://www.ucertify.com/download/117-301.html"> 117-301 </a> Exam</li>
</ul>
</div>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Flpilinux.com%2Fucertify-early-bird-sale.html&amp;title=uCertify%20Early%20Bird%20Sale"><img src="http://lpilinux.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://lpilinux.com/ucertify-early-bird-sale.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to backup MySQL Database to a Text File</title>
		<link>http://lpilinux.com/how-to-backup-mysql-database-to-a-text-file.html</link>
		<comments>http://lpilinux.com/how-to-backup-mysql-database-to-a-text-file.html#comments</comments>
		<pubDate>Sun, 21 Nov 2010 22:11:40 +0000</pubDate>
		<dc:creator>lpilinuxblog</dc:creator>
				<category><![CDATA[Linux How to]]></category>

		<guid isPermaLink="false">http://lpilinux.com/how-to-backup-mysql-database-to-a-text-file.html</guid>
		<description><![CDATA[We will use the mysqldump utility included with mysql to dump the contents of the database to a text file that can be easily re-imported. SYNTAX: mysqldump -h localhost -u root -pmypassword databasename &#62; dumpfile.sql EXAMPLE: mysqldump -h localhost -u &#8230; <a href="http://lpilinux.com/how-to-backup-mysql-database-to-a-text-file.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Flpilinux.com%2Fhow-to-backup-mysql-database-to-a-text-file.html"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Flpilinux.com%2Fhow-to-backup-mysql-database-to-a-text-file.html&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>We will use the <a href="http://www.ucertify.com/exams/Oracle/CX-310-812.html">mysqldump</a> utility included with mysql to dump the contents of the database to a text file that can be easily re-imported.</p>
<p>SYNTAX:</p>
<p><strong> mysqldump -h localhost -u root -pmypassword databasename &gt; dumpfile.sql</strong></p>
<p>EXAMPLE:</p>
<p><strong> mysqldump -h localhost -u root -p2Uad7as9 database01 &gt; dumpfile.sql</strong></p>
<p>This will give you a text file containing all the commands required to recreate the database.This Article is taken from</p>
<div style="background: #E3E4FA;">
<ul>
<li> Pass <a href="http://www.ucertify.com/exams/LPI/117-302.html">117-302 Certification</a></li>
<li>Download Free Practice For<a href="http://www.ucertify.com/download/117-302.html"> 117-302 </a> Exam</li>
</ul>
</div>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Flpilinux.com%2Fhow-to-backup-mysql-database-to-a-text-file.html&amp;title=How%20to%20backup%20MySQL%20Database%20to%20a%20Text%20File"><img src="http://lpilinux.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://lpilinux.com/how-to-backup-mysql-database-to-a-text-file.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to configure IPTables Firewall</title>
		<link>http://lpilinux.com/how-to-configure-iptables-firewall.html</link>
		<comments>http://lpilinux.com/how-to-configure-iptables-firewall.html#comments</comments>
		<pubDate>Sun, 21 Nov 2010 11:39:46 +0000</pubDate>
		<dc:creator>lpilinuxblog</dc:creator>
				<category><![CDATA[Linux How to]]></category>

		<guid isPermaLink="false">http://lpilinux.com/how-to-configure-iptables-firewall.html</guid>
		<description><![CDATA[This script is about to build a firewall in Linux OS by using iptables, the user only needs to follow and answer the simple and easy steps and the script will generate the user specified iptables rule in its original &#8230; <a href="http://lpilinux.com/how-to-configure-iptables-firewall.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Flpilinux.com%2Fhow-to-configure-iptables-firewall.html"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Flpilinux.com%2Fhow-to-configure-iptables-firewall.html&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>This script is about to build a firewall in Linux OS by using iptables, the user only needs to follow and answer the simple and easy steps and the script will generate the user specified iptables rule in its original form.</p>
<p>I HAVE TESTED THE SCRIPT ON PCLINUXOS, FEDORA-9, DREAM_LINUX, UBUNTU-8.</p>
<p>This is my iptables Version 1.0 (USMAN AKRAM &#8211; Lucky)</p>
<p>About iptables:</p>
<p>Network security is a primary consideration in any decision to host a website as the threats are becoming more widespread and persistent every day. One means of providing additional protection is to invest in a firewall. Though prices are always falling, in some cases you may be able to create a comparable unit using the Linux iptables package on an existing server for little or no additional expenditure.</p>
<p>Originally, the most popular firewall/NAT package running on Linux was ipchains, but it had a number of shortcomings. To rectify this, the Netfilter organization decided to create a product called iptables.</p>
<p> <img src='http://lpilinux.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />  !!!The Script is Totally User Friendly!!! <img src='http://lpilinux.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>Starting of the Script</p>
<p>A Menu will appear like this:</p>
<p>*****Main Menu*****<br />
1. Check Iptables Package<br />
2. Iptables Services<br />
3. Build Your Firewall with Iptables<br />
4. Exit</p>
<p>1. Check Iptables Package</p>
<p>Now let the user select the option 1. Check iptable Package from the menu by pressing &#8220;1&#8243; from the keyboard.</p>
<p>Now the script confirms that the user must be Root, and we know that the UID of Root is zero ( 0 ). So first I have to compare the UID of the current user with zero ( 0 ), if the UID doesn&#8217;t match with the UID of root then it will display the following message:</p>
<p>****You must be the root user to run this script!****<br />
and if the UID matches with root&#8217;s UID then it displays the following message and runs the script:</p>
<p>***Identity Verified_You are the Root***</p>
<p>We can check the UID of the current user by typing the following command in the terminal:</p>
<p>echo $UID</p>
<p>If the identity of the user is verified as root, then the script will check the iptables package in the Linux OS by using the following command.</p>
<p>rpm -q iptables</p>
<p>*****Main Menu*****<br />
1. Check Iptables Package<br />
2. Iptables Services<br />
3. Build Your Firewall with Iptables<br />
4. Exit</p>
<p>Now if the user selects the option 2. Iptables Services then the checkstatus function will be called. In this function there are some options for the user:</p>
<p>*****Note: Save your Iptables before stop/Restart the iptables Services*****<br />
1. Save the iptables<br />
2. Status of Iptables<br />
3. Start iptables Services<br />
4. Stop iptables Services<br />
5. Restart iptable Services<br />
6. Flush iptables (**Use Carefully_it will remove all the rules from iptables**)<br />
7. Go back to Main Menu</p>
<p>If the user selects 1. Save the iptables the iptables rules will be saved in the Linux OS by using the following command:</p>
<p>/etc/init.d/iptables save</p>
<p>If the user selects 2. Status of iptables the current status of iptables will be displayed, using the following command:</p>
<p>/etc/init.d/iptables status</p>
<p>Chain INPUT (policy ACCEPT)<br />
target prot opt source destination<br />
REJECT tcp &#8212; 192.168.1.45 172.16.4.8 reject-with icmp-port-unreachable<br />
ACCEPT tcp &#8212; 192.168.1.1 192.168.1.25<br />
LOG icmp &#8212; anywhere anywhere LOG level warning</p>
<p>Chain FORWARD (policy ACCEPT)<br />
target prot opt source destination</p>
<p>Chain OUTPUT (policy ACCEPT)<br />
target prot opt source destination<br />
DROP udp &#8212; 192.168.6.3 10.6.3.7<br />
Click here to find out more!</p>
<p>If the user selects 3. Start iptables Services then iptables will be started, using the following command:</p>
<p>/etc/init.d/iptables start</p>
<p>If the user selects 4. Stop iptables Services then iptables will be stopped, using the following command:</p>
<p>/etc/init.d/iptables stop</p>
<p>If the user selects 5. Restart iptable Services then iptables will be restarted, using the following command, it will load the saved iptables rules:</p>
<p>/etc/init.d/iptables restart</p>
<p>If the user selects 6. Flush iptables then iptables will be flushed, (**use Carefully_it will remove all the rules from iptables**), using the following command, it will flush the saved iptables rules:</p>
<p>iptables -F</p>
<p>To go back to the Main Menu the user must select option 7. Go back to Main Menu.</p>
<p>*****Main Menu*****<br />
1. Check Iptables Package<br />
2. Iptables Services<br />
3. Build Your Firewall with Iptables<br />
4. Exit</p>
<p>Option 3. Build your Firewall with Iptables is the heart of this script, by using this option users can create the firewall with iptables using simple steps, when a user selects the option 3. Build your Firewall with Iptables then the script will ask the user to create the firewall.</p>
<p>Using Which Chain of Filter Table?<br />
1. INPUT<br />
2. OUTPUT<br />
3. Forward&#8221;</p>
<p>The above menu will ask the user to select the chain where he/she wants to put the rule.</p>
<p>Now the script will ask the user to get the IP information from the Source side&#8230;</p>
<p>1. Firewall using Single Source IP<br />
2. Firewall using Source Subnet<br />
3. Firewall using for All Source Networks</p>
<p>Then the above menu ask the user the above three question, if the user selects the option 1. Firewall using Single Source IP then the script will ask the user to enter the IP address.</p>
<p>If the user selects option 2. Firewall using Source Subnet then the script will ask the user to enter the subnet in the form of &#8220;192.168.1.0/24&#8243;.</p>
<p>If the user selects option 3. Firewall using for All Source Networks then the script will put 0/0 in the variable named &#8220;ip_source&#8221; in the script.</p>
<p>Now the script will ask the user to get the IP information from the Destination side&#8230;</p>
<p>1. Firewall using Single Destination IP<br />
2. Firewall using Destination Subnet<br />
3. Firewall using for All Destination Networks</p>
<p>Then the above menu asks the user the above three questions, if the user selects option 1. Firewall using Single Destination IP then the script will ask the user to enter the IP address.</p>
<p>If the user selects option 2. Firewall using Destination Subnet then the script will ask the user to enter the subnet in the form of &#8220;192.168.1.0/24&#8243;</p>
<p>If the user selects option 3. Firewall using for All Destination Networks then the script will put 0/0 in the variable named &#8220;ip_dest&#8221; in the script.</p>
<p>Now the script asks the user to select the PROTOCOL:</p>
<p>1. Block All Traffic of TCP<br />
2. Block Specific TCP Service<br />
3. Block Specific Port<br />
4. Using no Protocol</p>
<p>Now from the above displayed menu if the user selects 1. Block All Traffic of TCP then the script will block all the TCP Traffic.</p>
<p>If the user selects 2. Block Specific TCP Service, now the script will ask the user to enter the TCP Service of his/her choice (e.g ICMP).</p>
<p>Note: the TCP Service name should be in CAPITAL LETTERS!!!</p>
<p>If the user selects 3. Block Specific Port the script will ask the user to enter the PORT number.</p>
<p>Now the script prompts the user What to do with the Above Created Rule?</p>
<p>What to do with Rule?<br />
1. Accept the Packet<br />
2. Reject the Packet<br />
3. Drop the Packet<br />
4. Create Log</p>
<p>If the user selects 1. Accept the Packet then the packet will be accepted.</p>
<p>If the user selects 2. Reject the Packet then the packet will be rejected.</p>
<p>If the user selects 3. Drop the Packet then the packet will be dropped.</p>
<p>If the user selects 4. Create Log then only the log will be created.</p>
<p>Now the following message will be shown to the user:</p>
<p>Press Enter key to Generate the Complete Rule!!!</p>
<p>When the user presses the Enter key then the script generates the original rule with the correct syntax and displays it to the user, in my case:</p>
<p>The Generated Rule is<br />
iptables -A INPUT -s 192.168.0.0/24 -d 172.16.0.0/16 -p TCP -j ACCEPT</p>
<p>Now the script shows the following message to the user:</p>
<p>Do you want to Enter the Above rule to the IPTABLES? Yes=1 , No=2</p>
<p>If the above rule is correct then the user presses 1 for Yes and adds the rule to iptables<br />
otherwise 2 for No and the script will return to let the user edit the rule.This Article is taken from<a href="http://www.howtoforge.com/bash-script-for-configuring-iptables-firewall">howtoforge.com</a> </p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Flpilinux.com%2Fhow-to-configure-iptables-firewall.html&amp;title=How%20to%20configure%20IPTables%20Firewall"><img src="http://lpilinux.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://lpilinux.com/how-to-configure-iptables-firewall.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to install Lighttpd with PHP5 and MySQL on OpenSUSE 11.3</title>
		<link>http://lpilinux.com/how-to-install-lighttpd-with-php5-and-mysql-on-opensuse-11-3.html</link>
		<comments>http://lpilinux.com/how-to-install-lighttpd-with-php5-and-mysql-on-opensuse-11-3.html#comments</comments>
		<pubDate>Sun, 21 Nov 2010 11:17:42 +0000</pubDate>
		<dc:creator>lpilinuxblog</dc:creator>
				<category><![CDATA[Linux How to]]></category>

		<guid isPermaLink="false">http://lpilinux.com/how-to-install-lighttpd-with-php5-and-mysql-on-opensuse-11-3.html</guid>
		<description><![CDATA[Lighttpd is a secure, fast, standards-compliant web server designed for speed-critical environments. This tutorial shows how you can install Lighttpd on an OpenSUSE 11.3 server with PHP5 support (through FastCGI) and MySQL support. I do not issue any guarantee that &#8230; <a href="http://lpilinux.com/how-to-install-lighttpd-with-php5-and-mysql-on-opensuse-11-3.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Flpilinux.com%2Fhow-to-install-lighttpd-with-php5-and-mysql-on-opensuse-11-3.html"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Flpilinux.com%2Fhow-to-install-lighttpd-with-php5-and-mysql-on-opensuse-11-3.html&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>Lighttpd is a secure, fast, standards-compliant web server designed for speed-critical environments. This tutorial shows how you can install Lighttpd on an OpenSUSE 11.3 server with PHP5 support (through FastCGI) and MySQL support.</p>
<p>I do not issue any guarantee that this will work for you!</p>
<p>1 Preliminary Note</p>
<p>In this tutorial I use the hostname server1.example.com with the IP address 192.168.0.100. These settings might differ for you, so you have to replace them where appropriate.</p>
<p>2 Installing MySQL 5</p>
<p>First we install MySQL 5 like this:</p>
<p>yast2 -i mysql mysql-client mysql-community-server</p>
<p>Then we create the system startup links for MySQL (so that MySQL starts automatically whenever the system boots) and start the MySQL server:</p>
<p>chkconfig &#8211;add mysql<br />
/etc/init.d/mysql start</p>
<p>To secure the MySQL installation, run:</p>
<p>mysql_secure_installation</p>
<p>Now you will be asked several questions:</p>
<p>server1:~ # mysql_secure_installation</p>
<p>NOTE: RUNNING ALL PARTS OF THIS SCRIPT IS RECOMMENDED FOR ALL MySQL<br />
      SERVERS IN PRODUCTION USE!  PLEASE READ EACH STEP CAREFULLY!</p>
<p>In order to log into MySQL to secure it, we&#8217;ll need the current<br />
password for the root user.  If you&#8217;ve just installed MySQL, and<br />
you haven&#8217;t set the root password yet, the password will be blank,<br />
so you should just press enter here.</p>
<p>Enter current password for root (enter for none): < -- ENTER<br />
OK, successfully used password, moving on...</p>
<p>Setting the root password ensures that nobody can log into the MySQL<br />
root user without the proper authorisation.</p>
<p>Set root password? [Y/n] <-- Y<br />
New password: <-- fill in your desired MySQL root password<br />
Re-enter new password: <-- confirm that password<br />
Password updated successfully!<br />
Reloading privilege tables..<br />
 ... Success!</p>
<p>By default, a MySQL installation has an anonymous user, allowing anyone<br />
to log into MySQL without having to have a user account created for<br />
them.  This is intended only for testing, and to make the installation<br />
go a bit smoother.  You should remove them before moving into a<br />
production environment.</p>
<p>Remove anonymous users? [Y/n] <-- Y<br />
 ... Success!</p>
<p>Normally, root should only be allowed to connect from 'localhost'.  This<br />
ensures that someone cannot guess at the root password from the network.</p>
<p>Disallow root login remotely? [Y/n] <-- Y<br />
 ... Success!</p>
<p>By default, MySQL comes with a database named 'test' that anyone can<br />
access.  This is also intended only for testing, and should be removed<br />
before moving into a production environment.</p>
<p>Remove test database and access to it? [Y/n] <-- Y<br />
 - Dropping test database...<br />
 ... Success!<br />
 - Removing privileges on test database...<br />
 ... Success!</p>
<p>Reloading the privilege tables will ensure that all changes made so far<br />
will take effect immediately.</p>
<p>Reload privilege tables now? [Y/n] <-- Y<br />
 ... Success!</p>
<p>Cleaning up...</p>
<p>All done!  If you've completed all of the above steps, your MySQL<br />
installation should now be secure.</p>
<p>Thanks for using MySQL!</p>
<p>server1:~ #<br />
This Article is taken from<a href="http://www.howtoforge.com/installing-lighttpd-with-php5-and-mysql-support-on-opensuse-11.3">howtoforge.com </p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Flpilinux.com%2Fhow-to-install-lighttpd-with-php5-and-mysql-on-opensuse-11-3.html&amp;title=How%20to%20install%20Lighttpd%20with%20PHP5%20and%20MySQL%20on%20OpenSUSE%2011.3"><img src="http://lpilinux.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://lpilinux.com/how-to-install-lighttpd-with-php5-and-mysql-on-opensuse-11-3.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to change SSH Banner in Ubantu</title>
		<link>http://lpilinux.com/how-to-change-ssh-banner-in-ubantu.html</link>
		<comments>http://lpilinux.com/how-to-change-ssh-banner-in-ubantu.html#comments</comments>
		<pubDate>Sun, 21 Nov 2010 11:12:01 +0000</pubDate>
		<dc:creator>lpilinuxblog</dc:creator>
				<category><![CDATA[Linux How to]]></category>

		<guid isPermaLink="false">http://lpilinux.com/how-to-change-ssh-banner-in-ubantu.html</guid>
		<description><![CDATA[Every time I connect to my Ubuntu development server through my ssh client, I receive the same message and Iâ€™m getting tired of seeing it, so I decided to change the message to something else. Hereâ€™s the message that I &#8230; <a href="http://lpilinux.com/how-to-change-ssh-banner-in-ubantu.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Flpilinux.com%2Fhow-to-change-ssh-banner-in-ubantu.html"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Flpilinux.com%2Fhow-to-change-ssh-banner-in-ubantu.html&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>Every time I connect to my Ubuntu development server through my ssh client, I receive the same message and Iâ€™m getting tired of seeing it, so I decided to change the message to something else.</p>
<p>Hereâ€™s the message that I get every time:</p>
<p>    Linux superfast 2.6.20-16-generic #2 SMP Thu Jun 7 19:00:28 UTC 2007 x86_64</p>
<p>    The programs included with the Ubuntu system are free software;<br />
    the exact distribution terms for each program are described in the<br />
    individual files in /usr/share/doc/*/copyright.</p>
<p>    Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by<br />
    applicable law.</p>
<p>    Last login: Mon Aug 13 01:05:46 2007 from ipaddress removed</p>
<p>    geek@superfast:~$</p>
<p>Changing this message requires editing two different files. The first three sections can be modified by editing the following file:</p>
<p>    /etc/motd</p>
<p>This file contains the linux build number as well as the Ubuntu warranty message. I donâ€™t find this particularly useful, so I removed all of it and replaced it with my own message.</p>
<p>To disable the last login message (which I donâ€™t recommend doing), you will need to edit the following file in sudo mode:</p>
<p>    /etc/ssh/sshd_config</p>
<p>Find this line in the file and change the yes to no as shown:</p>
<p>    PrintLastLog no</p>
<p>Now when you login, youâ€™ll get a blank prompt, although I wouldnâ€™t necessarily recommend it because itâ€™s useful to see the last login to the system for security reasons. This is my prompt now:</p>
<p>    This is a superfast system. Please max out the cpu accordingly.</p>
<p>    Last login: Mon Aug 13 01:24:14 2007 from ipaddress removed<br />
    geek@superfast:~$This Article is taken from </p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Flpilinux.com%2Fhow-to-change-ssh-banner-in-ubantu.html&amp;title=How%20to%20change%20SSH%20Banner%20in%20Ubantu"><img src="http://lpilinux.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://lpilinux.com/how-to-change-ssh-banner-in-ubantu.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to genrate Random Password from Commandline</title>
		<link>http://lpilinux.com/how-to-genrate-random-password-from-commandline.html</link>
		<comments>http://lpilinux.com/how-to-genrate-random-password-from-commandline.html#comments</comments>
		<pubDate>Sun, 21 Nov 2010 11:05:04 +0000</pubDate>
		<dc:creator>lpilinuxblog</dc:creator>
				<category><![CDATA[Linux How to]]></category>

		<guid isPermaLink="false">http://lpilinux.com/how-to-genrate-random-password-from-commandline.html</guid>
		<description><![CDATA[One of the great things about Linux is that you can do the same thing hundreds of different waysâ€”even something as simple as generating a random password can be accomplished with dozens of different commands. Hereâ€™s 10 ways you can &#8230; <a href="http://lpilinux.com/how-to-genrate-random-password-from-commandline.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Flpilinux.com%2Fhow-to-genrate-random-password-from-commandline.html"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Flpilinux.com%2Fhow-to-genrate-random-password-from-commandline.html&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>One of the great things about Linux is that you can do the same thing hundreds of different waysâ€”even something as simple as generating a random password can be accomplished with dozens of different commands. Hereâ€™s 10 ways you can do it.</p>
<p>We gathered all of these commands from Command-Line Fu and tested them out on our own Linux PC to make sure they work. You should be able to use at least some of these on Windows with Cygwin installed, though we didnâ€™t test all of themâ€”the last one definitely works though.<br />
Generate a Random Password</p>
<p>For any of these random password commands, you can either modify them to output a different password length, or you can just use the first x characters of the generated password if you donâ€™t want such a long password. Hopefully youâ€™re using a password manager like LastPass anyway so you donâ€™t need to memorize them.</p>
<p>This method uses SHA to hash the date, runs through base64, and then outputs the top 32 characters.</p>
<p>    date +%s | sha256sum | base64 | head -c 32 ; echo</p>
<p>This method used the built-in /dev/urandom feature, and filters out only characters that you would normally use in a password. Then it outputs the top 32.</p>
<p>    < /dev/urandom tr -dc _A-Z-a-z-0-9 | head -c${1:-32};echo;</p>
<p>This one uses opensslâ€™s rand function, which may not be installed on your system. Good thing thereâ€™s lots of other examples, right?</p>
<p>    openssl rand -base64 32</p>
<p>This one works a lot like the other urandom one, but just does the work in reverse. Bash is very powerful!</p>
<p>    tr -cd '[:alnum:]' < /dev/urandom | fold -w30 | head -n1</p>
<p>Hereâ€™s another example that filters using the strings command, which outputs printable strings from a file, which in this case is the urandom feature.</p>
<p>    strings /dev/urandom | grep -o '[[:alnum:]]' | head -n 30 | tr -d '\n'; echo</p>
<p>Hereâ€™s an even simpler version of the urandom one.</p>
<p>    < /dev/urandom tr -dc _A-Z-a-z-0-9 | head -c6</p>
<p>This one manages to use the very useful dd command.</p>
<p>    dd if=/dev/urandom bs=1 count=32 2>/dev/null | base64 -w 0 | rev | cut -b 2- | rev</p>
<p>You can even create a random left-hand password, which would let you type your password with one hand.</p>
<p>    howtogeek.com </p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Flpilinux.com%2Fhow-to-genrate-random-password-from-commandline.html&amp;title=How%20to%20genrate%20Random%20Password%20from%20Commandline"><img src="http://lpilinux.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://lpilinux.com/how-to-genrate-random-password-from-commandline.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to disable ProFTP in Linux</title>
		<link>http://lpilinux.com/how-to-disable-proftp-in-linux.html</link>
		<comments>http://lpilinux.com/how-to-disable-proftp-in-linux.html#comments</comments>
		<pubDate>Sun, 21 Nov 2010 07:20:32 +0000</pubDate>
		<dc:creator>lpilinuxblog</dc:creator>
				<category><![CDATA[Linux How to]]></category>

		<guid isPermaLink="false">http://lpilinux.com/how-to-disable-proftp-in-linux.html</guid>
		<description><![CDATA[First, look in your /etc/xinetd.d/ directory and see if thereâ€™s a file named psa_ftp in there. If not, you might have to make this change in your /etc/xinetd.conf file. Open up the file as root, and look for the following &#8230; <a href="http://lpilinux.com/how-to-disable-proftp-in-linux.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Flpilinux.com%2Fhow-to-disable-proftp-in-linux.html"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Flpilinux.com%2Fhow-to-disable-proftp-in-linux.html&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>First, look in your /etc/xinetd.d/ directory and see if thereâ€™s a file named psa_ftp in there. If not, you might have to make this change in your /etc/xinetd.conf file.</p>
<p>Open up the file as root, and look for the following section:</p>
<p>    service ftp<br />
    {<br />
            disable         = yes<br />
            socket_type     = stream<br />
            protocol        = tcp<br />
            wait            = no<br />
            user            = root<br />
            instances       = UNLIMITED<br />
            server          = /usr/sbin/in.proftpd<br />
            server_args     = -c /etc/proftpd.conf<br />
    }</p>
<p>Change the disable = no line to disable = yes as shown above.</p>
<p>Run the following command to restart xinetd</p>
<p>    /etc/init.d/xinetd restart This Article is taken from </p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Flpilinux.com%2Fhow-to-disable-proftp-in-linux.html&amp;title=How%20to%20disable%20ProFTP%20in%20Linux"><img src="http://lpilinux.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://lpilinux.com/how-to-disable-proftp-in-linux.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Install Nginx with PHP5 and MySQL on CentOS 5.5</title>
		<link>http://lpilinux.com/how-to-install-nginx-with-php5-and-mysql-on-centos-5-5.html</link>
		<comments>http://lpilinux.com/how-to-install-nginx-with-php5-and-mysql-on-centos-5-5.html#comments</comments>
		<pubDate>Sat, 02 Oct 2010 11:14:27 +0000</pubDate>
		<dc:creator>lpilinuxblog</dc:creator>
				<category><![CDATA[Linux How to]]></category>

		<guid isPermaLink="false">http://lpilinux.com/how-to-install-nginx-with-php5-and-mysql-on-centos-5-5.html</guid>
		<description><![CDATA[Nginx (pronounced &#8220;engine x&#8221;) is a free, open-source, high-performance HTTP server. Nginx is known for its stability, rich feature set, simple configuration, and low resource consumption. This tutorial shows how you can install Nginx on a CentOS 5.5 server with &#8230; <a href="http://lpilinux.com/how-to-install-nginx-with-php5-and-mysql-on-centos-5-5.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Flpilinux.com%2Fhow-to-install-nginx-with-php5-and-mysql-on-centos-5-5.html"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Flpilinux.com%2Fhow-to-install-nginx-with-php5-and-mysql-on-centos-5-5.html&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>Nginx (pronounced &#8220;engine x&#8221;) is a free, open-source, high-performance HTTP server. Nginx is known for its stability, rich feature set, simple configuration, and low resource consumption. This tutorial shows how you can install Nginx on a CentOS 5.5 server with PHP5 support (through FastCGI) and MySQL support.</p>
<p>I do not issue any guarantee that this will work for you!</p>
<p>1 Preliminary Note</p>
<p>In this tutorial I use the hostname server1.example.com with the IP address 192.168.0.100. These settings might differ for you, so you have to replace them where appropriate.</p>
<p>2 Installing MySQL 5</p>
<p>First we install MySQL 5 like this:</p>
<p>yum install mysql mysql-server</p>
<p>Then we create the system startup links for MySQL (so that MySQL starts automatically whenever the system boots) and start the MySQL server:</p>
<p>chkconfig &#8211;levels 235 mysqld on<br />
/etc/init.d/mysqld start</p>
<p>Now check that networking is enabled. Run</p>
<p>netstat -tap | grep mysql</p>
<p>It should show something like this:</p>
<p>[root@server1 ~]# netstat -tap | grep mysql<br />
tcp        0      0 *:mysql                     *:*                         LISTEN      2388/mysqld<br />
[root@server1 ~]#</p>
<p>If it does not, edit /etc/my.cnf and comment out the option skip-networking:</p>
<p>vi /etc/my.cnf</p>
<p>[...]<br />
#skip-networking<br />
[...]</p>
<p>and restart your MySQL server:</p>
<p>/etc/init.d/mysqld restart</p>
<p>Run</p>
<p>mysql_secure_installation</p>
<p>to set a password for the user root (otherwise anybody can access your MySQL database!):</p>
<p>[root@server1 ~]# mysql_secure_installation</p>
<p>NOTE: RUNNING ALL PARTS OF THIS SCRIPT IS RECOMMENDED FOR ALL MySQL<br />
      SERVERS IN PRODUCTION USE!  PLEASE READ EACH STEP CAREFULLY!</p>
<p>In order to log into MySQL to secure it, we&#8217;ll need the current<br />
password for the root user.  If you&#8217;ve just installed MySQL, and<br />
you haven&#8217;t set the root password yet, the password will be blank,<br />
so you should just press enter here.</p>
<p>Enter current password for root (enter for none): < -- ENTER<br />
OK, successfully used password, moving on...</p>
<p>Setting the root password ensures that nobody can log into the MySQL<br />
root user without the proper authorisation.</p>
<p>Set root password? [Y/n] <-- ENTER<br />
New password: <-- yourrootsqlpassword<br />
Re-enter new password: <-- yourrootsqlpassword<br />
Password updated successfully!<br />
Reloading privilege tables..<br />
 ... Success!</p>
<p>By default, a MySQL installation has an anonymous user, allowing anyone<br />
to log into MySQL without having to have a user account created for<br />
them.  This is intended only for testing, and to make the installation<br />
go a bit smoother.  You should remove them before moving into a<br />
production environment.</p>
<p>Remove anonymous users? [Y/n] <-- ENTER<br />
 ... Success!</p>
<p>Normally, root should only be allowed to connect from 'localhost'.  This<br />
ensures that someone cannot guess at the root password from the network.</p>
<p>Disallow root login remotely? [Y/n] <-- ENTER<br />
 ... Success!</p>
<p>By default, MySQL comes with a database named 'test' that anyone can<br />
access.  This is also intended only for testing, and should be removed<br />
before moving into a production environment.</p>
<p>Remove test database and access to it? [Y/n] <-- ENTER<br />
 - Dropping test database...<br />
 ... Success!<br />
 - Removing privileges on test database...<br />
 ... Success!</p>
<p>Reloading the privilege tables will ensure that all changes made so far<br />
will take effect immediately.</p>
<p>Reload privilege tables now? [Y/n] <-- ENTER<br />
 ... Success!</p>
<p>Cleaning up...</p>
<p>All done!  If you've completed all of the above steps, your MySQL<br />
installation should now be secure.</p>
<p>Thanks for using MySQL!This Article is taken from<a href="http://www.howtoforge.com/installing-nginx-with-php5-and-mysql-support-on-centos-5.5">howtoforge.com </p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Flpilinux.com%2Fhow-to-install-nginx-with-php5-and-mysql-on-centos-5-5.html&amp;title=How%20to%20Install%20Nginx%20with%20PHP5%20and%20MySQL%20on%20CentOS%205.5"><img src="http://lpilinux.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://lpilinux.com/how-to-install-nginx-with-php5-and-mysql-on-centos-5-5.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Upload Files to an FTP site via a Batch Script</title>
		<link>http://lpilinux.com/how-to-upload-files-to-an-ftp-site-via-a-batch-script.html</link>
		<comments>http://lpilinux.com/how-to-upload-files-to-an-ftp-site-via-a-batch-script.html#comments</comments>
		<pubDate>Sat, 02 Oct 2010 11:09:06 +0000</pubDate>
		<dc:creator>lpilinuxblog</dc:creator>
				<category><![CDATA[Linux Tricks]]></category>

		<guid isPermaLink="false">http://lpilinux.com/how-to-upload-files-to-an-ftp-site-via-a-batch-script.html</guid>
		<description><![CDATA[This script can be used from the command line as a â€˜no questions askedâ€™ method of uploading one or many files with a single command. Additionally, you can call this script from batch files to perform automated file uploads. A &#8230; <a href="http://lpilinux.com/how-to-upload-files-to-an-ftp-site-via-a-batch-script.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Flpilinux.com%2Fhow-to-upload-files-to-an-ftp-site-via-a-batch-script.html"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Flpilinux.com%2Fhow-to-upload-files-to-an-ftp-site-via-a-batch-script.html&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>This script can be used from the command line as a â€˜no questions askedâ€™ method of uploading one or many files with a single command. Additionally, you can call this script from batch files to perform automated file uploads. A few uses for this include (but, of course, not limited to):</p>
<p>    * Include in backup scripts to send data offsite.<br />
    * Upload html/php/etc. files to a web server with a single command.<br />
    * Create shortcuts to send a common group of files (such as a web siteâ€™s source pages).</p>
<p>Configuration</p>
<p>The only configuration required is to set the FTP server connection information. Under the â€œConnection informationâ€ line, set the following:</p>
<p>    * Server â€“ The FTP Server you are uploading to. You can either enter the DNS name (ftp.myserver.com) or IP address (1.2.3.4).<br />
    * UserName â€“ Your user name for connecting to FTP server.<br />
    * Password â€“ Your password for connecting to the FTP server.</p>
<p>Depending on your firewall settings, the first time you run this script you may be prompted to allow FTP to connect to the Internet. Setting this to never prompt you again should remove future warnings.<br />
The Script</p>
<p>@ECHO OFF<br />
ECHO Upload to FTP<br />
ECHO Written by: Jason Faulkner<br />
ECHO SysadminGeek.com<br />
ECHO.<br />
ECHO.</p>
<p>REM Usage:<br />
REM UploadToFTP [/L] FileToUpload<br />
REM<br />
REM Required Parameters:<br />
REM  FileToUpload<br />
REM      The file or file containing the list of files to be uploaded.<br />
REM<br />
REM Optional Parameters:<br />
REM  /L  When supplied, the FileToUpload is read as a list of files to be uploaded.<br />
REM      A list of files should be a plain text file which has a single file on each line.<br />
REM      Files listed in this file must specify the full path and be quoted where appropriate.</p>
<p>SETLOCAL EnableExtensions</p>
<p>REM Connection information:<br />
SET Server=<br />
SET UserName=<br />
SET Password=</p>
<p>REM &#8212;- Do not modify anything below this line &#8212;-</p>
<p>SET Commands=&#8221;%TEMP%\SendToFTP_commands.txt&#8221;</p>
<p>REM FTP user name and password. No spaces after either.<br />
ECHO %UserName%> %Commands%<br />
ECHO %Password%>> %Commands%</p>
<p>REM FTP transfer settings.<br />
ECHO binary >> %Commands%</p>
<p>IF /I {%1}=={/L} (<br />
   REM Add file(s) to the list to be FTP&#8217;ed.<br />
   FOR /F &#8220;usebackq tokens=*&#8221; %%I IN (&#8220;%~dpnx2&#8243;) DO ECHO put %%I >> %Commands%<br />
) ELSE (<br />
   ECHO put &#8220;%~dpnx1&#8243; >> %Commands%<br />
)</p>
<p>REM Close the FTP connection.<br />
ECHO close  >> %Commands%<br />
ECHO bye    >> %Commands%</p>
<p>REM Perform the FTP.<br />
FTP -d -i -s:%Commands% %Server%</p>
<p>ECHO.<br />
ECHO.</p>
<p>REM Clean up.<br />
IF EXIST %Commands% DEL %Commands%</p>
<p>ENDLOCAL</p>
<p>LinksThis Article is taken from </p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Flpilinux.com%2Fhow-to-upload-files-to-an-ftp-site-via-a-batch-script.html&amp;title=How%20to%20Upload%20Files%20to%20an%20FTP%20site%20via%20a%20Batch%20Script"><img src="http://lpilinux.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://lpilinux.com/how-to-upload-files-to-an-ftp-site-via-a-batch-script.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Summer End Sale of uCertify</title>
		<link>http://lpilinux.com/summer-end-sale-of-ucertify.html</link>
		<comments>http://lpilinux.com/summer-end-sale-of-ucertify.html#comments</comments>
		<pubDate>Fri, 17 Sep 2010 07:38:46 +0000</pubDate>
		<dc:creator>lpilinuxblog</dc:creator>
				<category><![CDATA[Reviews]]></category>

		<guid isPermaLink="false">http://lpilinux.com/?p=588</guid>
		<description><![CDATA[uCertify is offering an amazing discount of upto 45%.! Check out the offer! Any 4+ PrepKits for $64.99 each (TRIPLE WOW! That&#8217;s a 45% savings off the list price!) Any 3 PrepKits for $69.99 each (DOUBLE WOW! That&#8217;s a 40% &#8230; <a href="http://lpilinux.com/summer-end-sale-of-ucertify.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Flpilinux.com%2Fsummer-end-sale-of-ucertify.html"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Flpilinux.com%2Fsummer-end-sale-of-ucertify.html&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>uCertify is offering an amazing discount of upto 45%.! <strong>Check out the offer!</strong></p>
<p><a style="color:red; font-size:24" href="https://www.ucertify.com/cart/todays-deal.php?deal=3" target="_blank">Any 4+ PrepKits for $64.99 each</a> (<strong>TRIPLE WOW!</strong> That&#8217;s a 45% savings off the list price!)</p>
<p><a style="color:#AA35BB; font-size:24" href="https://www.ucertify.com/cart/todays-deal.php?deal=2" target="_blank">Any 3 PrepKits for $69.99 each</a> (<strong>DOUBLE WOW!</strong> That&#8217;s a 40% savings off the list price!)</p>
<p><a style="color:#C38EC7; font-size:24" href="https://www.ucertify.com/cart/todays-deal.php?deal=1" target="_blank">Any 2 PrepKits for $72.99 each </a> (<strong>WOW!</strong> That&#8217;s a 38% savings off the list price!)</p>
<p><strong>HURRY!</strong> Feel the warmth of these great savings on any test preparation software from uCertify. This is the golden opportunity from uCertify. Time is running out so don&#8217;t wait, just go and buy your guide to the certification path.</p>
<p>You can also take the advantage of their additional 5% discount by joining their Facebook page! All you have to do is like their page to be entitled to this private discount.<br />
<a href="http://www.facebook.com/Certifications?v=app_4949752878">http://www.facebook.com/Certifications?v=app_4949752878</a> </p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Flpilinux.com%2Fsummer-end-sale-of-ucertify.html&amp;title=Summer%20End%20Sale%20of%20uCertify"><img src="http://lpilinux.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://lpilinux.com/summer-end-sale-of-ucertify.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

