<?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>JCortes Web &#187; Linux</title>
	<atom:link href="http://jcortesweb.com/category/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://jcortesweb.com</link>
	<description>JCortes Technical Blog</description>
	<lastBuildDate>Wed, 10 Mar 2010 03:13:29 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Ubuntu Linux FTP Server Setup Guide (ProFTPD)</title>
		<link>http://jcortesweb.com/2009/09/ubuntu-linux-ftp-server-setup-guide-proftpd/</link>
		<comments>http://jcortesweb.com/2009/09/ubuntu-linux-ftp-server-setup-guide-proftpd/#comments</comments>
		<pubDate>Wed, 30 Sep 2009 19:04:58 +0000</pubDate>
		<dc:creator>JCortes</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://jcortesweb.com/?p=40</guid>
		<description><![CDATA[If you are a web designer, such as myself, you know the importance of having access to a web server through FTP. I just recently set up an FTP server on my Ubuntu Linux server using ProFTPD and I was surprised at how easy it was to setup and configure.This guide shows the few simple [...]]]></description>
			<content:encoded><![CDATA[<p>If you are a web designer, such as myself, you know the importance of having access to a web server through FTP. I just recently set up an FTP server on my Ubuntu Linux server using ProFTPD and I was surprised at how easy it was to setup and configure.This guide shows the few simple steps you can do to install ProFTPD on your Linux server.</p>
<p><span style="font-size: 18px; text-decoration: underline;"><strong>Downloading / Installing</strong></span></p>
<p>As with most software installations in Linux there are two ways you can install this package.</p>
<p><strong><em>Apt-get:</em></strong></p>
<p>Simply issue the following command:</p>
<blockquote><p>sudo apt-get install proftpd gadmin-proftpd</p></blockquote>
<p>When prompted to install the packages simply press <strong>Y </strong>to install the packages and their dependencies.</p>
<p><em><strong>Synaptic:</strong></em></p>
<p>To install through Synaptic Package Manager simply open the package manager (System &gt; Administration &gt; Synaptic Package Manager)</p>
<p>and Search for <strong>proftpd</strong></p>
<p><em>Right click </em>the packages <strong>proftpd </strong>and <strong>gadmin-proftpd </strong>(GUI Package) and select <strong>Mark for Installation.</strong><em> </em></p>
<p>At the top of your screen press <strong>Apply </strong>to install the packages and dependencies.</p>
<p><span style="font-size: 18px; text-decoration: underline;"><strong>Configuration</strong></span></p>
<p><span style="text-decoration: underline;"><strong>Server Setup</strong></span></p>
<p>Now its time to setup your sever so you can connect. In my example I will be setting up a user account for a web user as most of you will.</p>
<p>Open up the <strong>gadmin-proftpd </strong>GUI (Applications &gt;System Tools &gt; GADMIN-PROFTPD)</p>
<div id="attachment_47" class="wp-caption alignnone" style="width: 330px"><img class="size-full wp-image-47" title="proftpd_main" src="http://jcortesweb.com/wp-content/uploads/2009/09/proftpd_main.jpg" alt="GAdmin-ProFTPD Main Screen" width="320" height="285" /><p class="wp-caption-text">GAdmin-ProFTPD Main Screen</p></div>
<p>As seen in the picture above fill out the following fields</p>
<p style="padding-left: 30px;"><strong>Server Address: </strong>10.0.0.100 (The address of your FTP Server)</p>
<p style="padding-left: 30px;"><strong>Server Name: </strong>Local FTP Server (This is used to describe the server)</p>
<p style="padding-left: 30px;"><strong>Admin Email: </strong>admin@example.com (This is an administrative contact email address)</p>
<p><strong><span style="text-decoration: underline;">User Setup</span></strong></p>
<p>Next you will need to add users to your ftp to connect.</p>
<div id="attachment_51" class="wp-caption alignnone" style="width: 330px"><img class="size-full wp-image-51" title="proftpd_users" src="http://jcortesweb.com/wp-content/uploads/2009/09/proftpd_users.jpg" alt="ProFTPD User Menu" width="320" height="386" /><p class="wp-caption-text">ProFTPD User Menu</p></div>
<p>As seen in the picture above fill in the following fields.</p>
<p><em>NOTE: All of the following fields must be filled in before you press <strong>Add</strong></em></p>
<p style="padding-left: 30px;"><strong>Username: </strong>User (the user name you will use to login)</p>
<p style="padding-left: 30px;"><strong>Password: </strong>Password (Used to authenticate user)</p>
<p style="padding-left: 30px;"><strong>Group: </strong>administrator (Group of user)</p>
<p><em>NOTE: Don&#8217;t Press Add yet!</em></p>
<p>Click <strong>Add Directory </strong>at the bottom, this will open the &#8220;Explorer&#8221; window to browse for your directory. In my case I selected the <strong>/var/www </strong>for access to the web directory.</p>
<p><em>NOTE: Once you select the directory make sure you <span style="text-decoration: underline;">select every check box</span>. </em></p>
<p>At this point you may click <strong>Add</strong> assuming all was filled out correct the new user will appear in the list.</p>
<p>Now start the server! At the top bar click <strong>Apply,</strong> this will apply any loose settings. Then click <strong>Deactivate </strong>and then <strong>Activate. </strong></p>
<p><strong><span style="font-size: 18px; text-decoration: underline;">Connecting</span></strong></p>
<p>Now that your server is setup you should try to connect to it.</p>
<p>Open your favorite FTP Client, I personally love <a title="Filezilla Download Site" href="http://filezilla-project.org/download.php?type=client" target="_blank">FileZilla.</a></p>
<p>Enter the <strong>Host, User name and Password</strong> then click connect on your FTP Client and see if it works</p>
<p><strong><span style="font-size: 18px; text-decoration: underline;">Troubleshooting</span></strong></p>
<p>If you run into problems first try restarting the ProFTPD server</p>
<blockquote><p>sudo /etc/proftpd restart</p></blockquote>
<p>If you have other problems please leave a comment below, I actively monitor my site and I will respond as soon as possible.</p>
]]></content:encoded>
			<wfw:commentRss>http://jcortesweb.com/2009/09/ubuntu-linux-ftp-server-setup-guide-proftpd/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Ubuntu Linux LAMP Server How to Guide</title>
		<link>http://jcortesweb.com/2009/09/ubuntu-linux-lamp-server-how-to-guide/</link>
		<comments>http://jcortesweb.com/2009/09/ubuntu-linux-lamp-server-how-to-guide/#comments</comments>
		<pubDate>Tue, 29 Sep 2009 02:23:06 +0000</pubDate>
		<dc:creator>JCortes</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://jcortesweb.com/?p=6</guid>
		<description><![CDATA[Ubuntu Linux is the most popular distribution of Linux. In this tutorial I will show you how to setup your own web server running LAMP (Linux, Apache, MySQL, PHP).
NOTE: I&#8217;m writing this guide assuming that you know how to setup and install Ubuntu Linux
Apache2 / PHP5 / MySQL

There are two ways you can install Apache, [...]]]></description>
			<content:encoded><![CDATA[<p>Ubuntu Linux is the most popular distribution of Linux. In this tutorial I will show you how to setup your own web server running LAMP (Linux, Apache, MySQL, PHP).</p>
<p><em>NOTE: I&#8217;m writing this guide assuming that you know how to setup and install <a title="Ubuntu Linux Home Page" href="http://www.ubuntu.com" target="_blank">Ubuntu Linux</a></em></p>
<p><span style="font-size: 16px; text-decoration: underline;"><strong>Apache2 / PHP5 / MySQL<br />
</strong></span></p>
<p>There are two ways you can install Apache, trough Synaptic Package Manager (System &gt; Administration &gt; Synaptic Package Manager) or using the apt-get command</p>
<p><strong><em>Synaptic:</em></strong></p>
<p>Simply go to Synaptic Package Manager and Search for <strong>Apache2, PHP5, mysql-server, mysql-client and phpmyadmin </strong>(if you choose)<strong> </strong></p>
<p>right click each package and mark it for installation.</p>
<p>Then click apply and let it install, simple as that.</p>
<p><strong><em>Apt-get:</em></strong></p>
<p>Issue the following commands at the terminal (Applications &gt; Accessories &gt; Terminal)</p>
<blockquote><p><code>sudo apt-get update</code><br />
<code>sudo apt-get install apache2 php5 mysql-server mysql-client</code></p></blockquote>
<p><em>NOTE: I only included the php5 package, depending on your needs you will have to install additional packages, PHP will resolve the required dependencies. I also recommend installing the phpmyadmin package as well. </em></p>
<p>When prompted to install enter <strong>Y </strong>this will install Apache2, PHP5, mysql-server, mysql-client and their dependencies.</p>
<p><strong><em>Testing the Apache server</em>:</strong></p>
<p>Once you have installed the Apache server you should test it by going to <a title="Your Local Web Page" href="http://localhost/" target="_blank">http://localhost/</a></p>
<p>The page should display</p>
<blockquote><p>It Works!</p></blockquote>
<p><strong><em>Aditional Information</em>:</strong></p>
<p>If the page does not display when you go to local host try issuing the following command</p>
<blockquote><p>sudo /etc/ini.d/apache2 restart</p></blockquote>
<p>Also just FYI the document root for the web files is located at:</p>
<blockquote><p>/var/www/</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://jcortesweb.com/2009/09/ubuntu-linux-lamp-server-how-to-guide/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Internet Explorer 6 Blank Pages Bug (Mod_Deflate)!</title>
		<link>http://jcortesweb.com/2009/09/internet-explorer-6-blank-pages-bug-mod_deflate/</link>
		<comments>http://jcortesweb.com/2009/09/internet-explorer-6-blank-pages-bug-mod_deflate/#comments</comments>
		<pubDate>Mon, 28 Sep 2009 16:35:59 +0000</pubDate>
		<dc:creator>JCortes</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://jcortesweb.com/?p=26</guid>
		<description><![CDATA[Problem
I had been working on updating one of my servers to Linux when I came Across a strange bug when using a certain script.
Apparently in Internet Explorer 6 GZip does not work, this is what compresses pages to make them load faster.
The result of this bug was that about half or the items in my [...]]]></description>
			<content:encoded><![CDATA[<p><span style="text-decoration: underline;"><strong>Problem</strong></span></p>
<p>I had been working on updating one of my servers to Linux when I came Across a strange bug when using a certain script.</p>
<p>Apparently in Internet Explorer 6 GZip does not work, this is what compresses pages to make them load faster.</p>
<p>The result of this bug was that about half or the items in my script would not load and they returned blank pages.</p>
<p><span style="text-decoration: underline;"><strong>Solution</strong></span></p>
<p>After much research I found that the bug was in the mod_deflate module of apache.</p>
<p>First I had to go edit the file <strong>/etc/apache2/mods-enabled/deflate.conf</strong></p>
<p>Once there I replaced the current content with the following</p>
<blockquote><p>&lt;IfModule mod_deflate.c&gt;<br />
AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css text/javascript application/x-javascript<br />
BrowserMatch ^Mozilla/4 gzip-only-text/html<br />
BrowserMatch ^Mozilla/4\.[0678] no-gzip<br />
BrowserMatch \bMSIE\s7Â !no-gzip !gzip-only-text/html<br />
&lt;/IfModule&gt;</p></blockquote>
<p>Then all I needed to do was restart Apache (&#8220;<em>sudo /etc/init.d/apache2 restart</em>&#8220;) and it was fixed.</p>
<div id="_mcePaste" style="overflow: hidden; position: absolute; left: -10000px; top: 132px; width: 1px; height: 1px;">
<pre class="alt2" style="border: 1px inset; margin: 0px; padding: 6px; overflow: auto; width: 640px; height: 114px; text-align: left;" dir="ltr">&lt;IfModule mod_deflate.c&gt;
          AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css text/javascript application/x-javascript
	  BrowserMatch ^Mozilla/4 gzip-only-text/html
	  BrowserMatch ^Mozilla/4\.[0678] no-gzip
	  BrowserMatch \bMSIE\s7Â !no-gzip !gzip-only-text/html
&lt;/IfModule&gt;</pre>
</div>
]]></content:encoded>
			<wfw:commentRss>http://jcortesweb.com/2009/09/internet-explorer-6-blank-pages-bug-mod_deflate/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
