<?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>DebianZone &#187; Configuration</title>
	<atom:link href="http://debianzone.org/category/trivial/configuration/feed/" rel="self" type="application/rss+xml" />
	<link>http://debianzone.org</link>
	<description>All About Debian</description>
	<lastBuildDate>Tue, 29 Jun 2010 11:18:54 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>How to install and configure FTP Server</title>
		<link>http://debianzone.org/how-to-install-and-configure-ftp-server/</link>
		<comments>http://debianzone.org/how-to-install-and-configure-ftp-server/#comments</comments>
		<pubDate>Tue, 29 Jun 2010 11:15:50 +0000</pubDate>
		<dc:creator>smanne</dc:creator>
				<category><![CDATA[Configuration]]></category>

		<guid isPermaLink="false">http://debianzone.org/how-to-install-and-configure-ftp-server/</guid>
		<description><![CDATA[	There are lots of ftp servers available for linux, proftpd is one of the popular server available for Debian, so in this tutorial we will deal with installing and configring proftpd server on Debian
To install proftpd server 

apt-get install proftpd

While installing there is a option to choose the type of installation, whether it is standalone [...]]]></description>
			<content:encoded><![CDATA[<p>	There are lots of ftp servers available for linux, proftpd is one of the popular server available for Debian, so in this tutorial we will deal with installing and configring proftpd server on Debian</p>
<p>To install proftpd server </p>
<pre class="brush: bash;">
apt-get install proftpd
</pre>
<p>While installing there is a option to choose the type of installation, whether it is standalone or inetd installation, normally we need standalone installation, After installation the server will start automatically.<br />
<span id="more-114"></span><br />
To start ftp server</p>
<pre class="brush: bash;">
/etc/init.d/proftpd start
</pre>
<p>To stop ftp server</p>
<pre class="brush: bash;">
/etc/init.d/proftpd stop
</pre>
<p>Now we will go through configuration of ftp server<br />
proftpd configuration file is located at  <em>/etc/proftpd/proftpd.conf</em><br />
To edit configuration use</p>
<pre class="brush: bash;">
vi /etc/proftpd/proftpd.conf
</pre>
<p>Default configuration file can be found <a href="http://debianzone.org/wp-content/uploads/2010/06/proftpconfdefault.txt" target="_blank">here</a></p>
<p>By default proftpd will give access to the home path (to know home directory of users <em>cat /etc/passwd</em>)</p>
<pre class="brush: bash;">
DefaultRoot ~

// This will limit the user smanne to /var/www/ folder
DefaultRoot /var/www/ smanne
</pre>
<p>To change default file permissions </p>
<pre class="brush: bash;">
// this will give default 755 permission to all the new and updated files
Umask                           022  022 

// this will give 775 permission,
Umask 			      002  002
</pre>
<p>You can also change the port number, max connections, </p>
<p>For more proftpd configurations refer &#8211; <a href="http://www.proftpd.org/docs/example-conf.html" target="_blank">http://www.proftpd.org/docs/example-conf.html</a></p>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fdebianzone.org%2Fhow-to-install-and-configure-ftp-server%2F&amp;linkname=How%20to%20install%20and%20configure%20FTP%20Server">Share/Bookmark</a>]]></content:encoded>
			<wfw:commentRss>http://debianzone.org/how-to-install-and-configure-ftp-server/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>MySql Database Replication</title>
		<link>http://debianzone.org/mysql-database-replication/</link>
		<comments>http://debianzone.org/mysql-database-replication/#comments</comments>
		<pubDate>Tue, 29 Jun 2010 10:46:31 +0000</pubDate>
		<dc:creator>smanne</dc:creator>
				<category><![CDATA[Configuration]]></category>
		<category><![CDATA[links]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[replication]]></category>

		<guid isPermaLink="false">http://debianzone.org/mysql-database-replication/</guid>
		<description><![CDATA[When we search for `Database Replication` we will find lots of tutorials, so here I wont add new one, I am just highlighting one of the best tutorials to refer.
http://www.howtoforge.com/mysql_database_replication
	This article contains simple copy &#038; paste steps to configure MySql replication, if you need more detailed indepth explanation on different configuration settings then go to [...]]]></description>
			<content:encoded><![CDATA[<p>When we search for `Database Replication` we will find lots of tutorials, so here I wont add new one, I am just highlighting one of the best tutorials to refer.</p>
<p>http://www.howtoforge.com/mysql_database_replication</p>
<p>	This article contains simple copy &#038; paste steps to configure MySql replication, if you need more detailed indepth explanation on different configuration settings then go to </p>
<p>http://dev.mysql.com/doc/refman/5.0/en/replication.html</p>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fdebianzone.org%2Fmysql-database-replication%2F&amp;linkname=MySql%20Database%20Replication">Share/Bookmark</a>]]></content:encoded>
			<wfw:commentRss>http://debianzone.org/mysql-database-replication/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Page level caching using nginx</title>
		<link>http://debianzone.org/page-level-caching-using-nginx/</link>
		<comments>http://debianzone.org/page-level-caching-using-nginx/#comments</comments>
		<pubDate>Wed, 17 Mar 2010 17:16:35 +0000</pubDate>
		<dc:creator>smanne</dc:creator>
				<category><![CDATA[Configuration]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[cache]]></category>
		<category><![CDATA[nginx]]></category>

		<guid isPermaLink="false">http://debianzone.org/?p=74</guid>
		<description><![CDATA[Many of our dynamic sites contain rarely updated content (ex. blog archive page). By adding nginx server as proxy server infront of your apache server you can server those pages like static pages instead of running the page for every request, this will boost your site speed from 50% &#8211; 400%.
We need apache, nginx to [...]]]></description>
			<content:encoded><![CDATA[<p>Many of our dynamic sites contain rarely updated content (ex. blog archive page). By adding nginx server as proxy server infront of your apache server you can server those pages like static pages instead of running the page for every request, this will boost your site speed from <strong>50% &#8211; 400%.</strong></p>
<p>We need apache, nginx to work with this tutorial<br />
To install nginx on debian please follow this link</p>
<p>http://timothybowler.com/2009/11/25/compiling-nginx-on-debian-lenny/</p>
<p><strong>Note:</strong> Dont install using aptitude it contains older version where gzip and proxy module not available,</p>
<p>Modify apache ports.conf to run apache on port 8080</p>
<p><em>Add this lines to default site of nginx </em>
<pre class="brush: bash;">
server {
listen 80;
server_name debianzone.com;
location / {
proxy_pass http://debianzone.com:8080;
proxy_cache debianzone-cache;
proxy_cache_valid  200 302  60m;
proxy_cache_valid  404      1m;
}
} </pre>
<p><em>Add this in http section of nginx.conf</em>
<pre class="brush: bash;">
http {
proxy_cache_path  /var/www/cache levels=1:2 keys_zone=debianzone-cache:8m max_size=1000m inactive=600m;
proxy_temp_path /var/www/cache/tmp;
}
</pre>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fdebianzone.org%2Fpage-level-caching-using-nginx%2F&amp;linkname=Page%20level%20caching%20using%20nginx">Share/Bookmark</a>]]></content:encoded>
			<wfw:commentRss>http://debianzone.org/page-level-caching-using-nginx/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Changing host name of Linux server</title>
		<link>http://debianzone.org/changing-host-name-of-linux-server/</link>
		<comments>http://debianzone.org/changing-host-name-of-linux-server/#comments</comments>
		<pubDate>Sat, 05 Dec 2009 11:59:40 +0000</pubDate>
		<dc:creator>smanne</dc:creator>
				<category><![CDATA[Configuration]]></category>

		<guid isPermaLink="false">http://debianzone.com/?p=43</guid>
		<description><![CDATA[To change the host name of current session use
/bin/hostname your-host-name
To change the host name permanently use
/etc/hostname
/etc/init.d/hostname.sh start
Share/Bookmark]]></description>
			<content:encoded><![CDATA[<p>To change the host name of current session use
<pre>/bin/hostname your-host-name</pre>
<p>To change the host name permanently use
<pre>/etc/hostname
/etc/init.d/hostname.sh start</pre>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fdebianzone.org%2Fchanging-host-name-of-linux-server%2F&amp;linkname=Changing%20host%20name%20of%20Linux%20server">Share/Bookmark</a>]]></content:encoded>
			<wfw:commentRss>http://debianzone.org/changing-host-name-of-linux-server/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Intel poulsbo Drivers for Ubuntu</title>
		<link>http://debianzone.org/intel-poulsbo-drivers-for-ubuntu/</link>
		<comments>http://debianzone.org/intel-poulsbo-drivers-for-ubuntu/#comments</comments>
		<pubDate>Sat, 28 Nov 2009 14:16:55 +0000</pubDate>
		<dc:creator>smanne</dc:creator>
				<category><![CDATA[Configuration]]></category>

		<guid isPermaLink="false">http://debianzone.com/?p=17</guid>
		<description><![CDATA[Many people after installing Ubuntu for the first time or after Kernel update facing the problems with display drivers of Intel Poulsbo chipset. Here is steps to repair your display
For new installation:
Update aptitude sources
vi /etc/apt/sources.list
 and add this lines


deb http://ppa.launchpad.net/ubuntu-mobile/ppa/ubuntu jaunty main


deb-src http://ppa.launchpad.net/ubuntu-mobile/ppa/ubuntu jaunty main


Then
apt-get update
apt-get install xserver-xorg-video-psb
For people facing problem with display after updating [...]]]></description>
			<content:encoded><![CDATA[<p>Many people after installing Ubuntu for the first time or after Kernel update facing the problems with display drivers of Intel Poulsbo chipset. Here is steps to repair your display</p>
<p><strong>For new installation:</strong></p>
<p>Update aptitude sources<span id="more-17"></span>
<pre LANGUAGE="Bash">vi /etc/apt/sources.list</pre>
<p> and add this lines</p>
<ul>
<li>
<pre LANGUAGE="Bash">deb http://ppa.launchpad.net/ubuntu-mobile/ppa/ubuntu jaunty main</pre>
</li>
<li>
<pre LANGUAGE="Bash">deb-src http://ppa.launchpad.net/ubuntu-mobile/ppa/ubuntu jaunty main</pre>
</li>
</ul>
<p>Then</p>
<pre LANGUAGE="Bash">apt-get update
apt-get install xserver-xorg-video-psb</pre>
<p>For people facing problem with display after updating kernel use this</p>
<pre LANGUAGE="Bash">
sudo dpkg-reconfigure psb-kernel-source</pre>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fdebianzone.org%2Fintel-poulsbo-drivers-for-ubuntu%2F&amp;linkname=Intel%20poulsbo%20Drivers%20for%20Ubuntu">Share/Bookmark</a>]]></content:encoded>
			<wfw:commentRss>http://debianzone.org/intel-poulsbo-drivers-for-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Debian / Ubuntu Apache SSL Configuration</title>
		<link>http://debianzone.org/debian-ubuntu-apache-ssl-configuration/</link>
		<comments>http://debianzone.org/debian-ubuntu-apache-ssl-configuration/#comments</comments>
		<pubDate>Sat, 28 Nov 2009 13:50:46 +0000</pubDate>
		<dc:creator>smanne</dc:creator>
				<category><![CDATA[Administration]]></category>
		<category><![CDATA[Configuration]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[ssl]]></category>

		<guid isPermaLink="false">http://debianzone.com/?p=8</guid>
		<description><![CDATA[Hey you are planning to start a e-commerce website, then you must know about SSL without which no one will trust your website as a safe place to use their cards…
What is SSL?
SSL (Secure Socket Layer) is a protocol used for secure data transfer. This is done by using private keys and certificates. A private [...]]]></description>
			<content:encoded><![CDATA[<p>Hey you are planning to start a e-commerce website, then you must know about SSL without which no one will trust your website as a safe place to use their cards…</p>
<p><strong>What is SSL?</strong><br />
SSL (Secure Socket Layer) is a protocol used for secure data transfer. This is done by using private keys and certificates. A private key is used to encrypt the data which you are sending and the server can only decrypt this data with the private key available with it, A certificate is used to authentic yourself before proceeding.<br />
So we need two things to make our website secure for online transactions. In this article i will explain how to generate a private key, certificate request with open-ssl and apache, get  certificate from CA (Certificate Authority), configure your server to respond for ssl requests.</p>
<p><strong>Different types of certificates</strong><br />
Before going to configuration I will explain about the different types of certificates available in the market and when to use which. The certificates are mainly divided into High Assurance and Low Assurance, High assurance is needed for sites dealing with financial transactions, low assurance is needed for internal corporate networks or small websites and mainly used for secure login to site and sending sensitive documents securely.<br />
Remember every byte you are sending through http protocol means non-ssl layer can be seen or accessed by anyone.</p>
<p><strong>Configuration</strong>:</p>
<p>I used Apache 2, Debian Linux, Openssl for this configuration.<br />
First step is to install Apache:<br />
Go to console mode<span id="more-8"></span></p>
<pre class="brush: bash;">aptitude install apache2
</pre>
<p>next install openssl to generate keys and certificates or certificate requests</p>
<pre class="brush: bash;">aptitude install openssl
</pre>
<p>next generate certificate request and key using openssl</p>
<pre class="brush: bash;">openssl req -new -nodes -keyout linuxforu.key -out linuxforu.csr</pre>
<p>Here you want to fill up details like Country code, State, City, Company name, the most important thing is common name, it must be same as your website name (suppose you website is www.linuxforu.com then the common name must be linuxforu.com). This will generate two files in your directory one is a private key file (myserver.key) and another one is certificate request file (myserver.csr)<br />
Now you need to get a certificate from some certificate vendors like verisign or comodo or anyother of your choice. The certificate request which we already generated is used to get this the certificate vendors will ask you to paste the certificate request. Comodo is providing a free trail certificate which is valid for 3 months. (Comodo Free Trail).  Remember every certificate has some validity after that if we use the same certificate browser will through security error.</p>
<p>After getting the certificates you want to enable ssl module in apache and configure it</p>
<pre class="brush: bash;">a2enmod ssl
vi /etc/apache2/sites-available/default</pre>
<pre class="brush: bash;">ServerName linuxforu
DocumentRoot /var/www/
SSLEngine On
SSLCertificateFile /etc/apache2/ssl/linuxforu.cert
SSLCertificateKeyFile /etc/apache2/ssl/linuxforu.key</pre>
<pre class="brush: bash;">Options Indexes FollowSymLinks
AllowOverride All
Order deny,allow
Allow from all</pre>
<p>Then restart your server
<pre class="brush: bash;">/etc/init.d/apache2 restart</pre>
<p>We all know that a default http request will be sent to port 80, in the same way default https request will be forwarded to port 443 so we configured the server for listening 443 port.<br />
You are done now access your website with https://server.com<br />
If you face any problems you want to check this things first<br />
Whether the server is hearing port 443 or not to find this type
<pre class="brush: bash;">lsof -i tcp:443</pre>
<p>Next check whether your port 443 is forwarded or not. If you face any new problems other than this please post a comment and we will try to solve it.</p>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fdebianzone.org%2Fdebian-ubuntu-apache-ssl-configuration%2F&amp;linkname=Debian%20%2F%20Ubuntu%20Apache%20SSL%20Configuration">Share/Bookmark</a>]]></content:encoded>
			<wfw:commentRss>http://debianzone.org/debian-ubuntu-apache-ssl-configuration/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->