<?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>Debian Tutorials &#187; Lenny</title>
	<atom:link href="http://www.debiantutorials.com/category/release/lenny-release/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.debiantutorials.com</link>
	<description>Copy/Paste tutorials for Debian based Linux distros</description>
	<lastBuildDate>Tue, 27 Dec 2011 01:15:56 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
		<item>
		<title>Installing PowerDNS with MySql backend</title>
		<link>http://www.debiantutorials.com/installing-powerdns-with-mysql-backend/</link>
		<comments>http://www.debiantutorials.com/installing-powerdns-with-mysql-backend/#comments</comments>
		<pubDate>Tue, 27 Dec 2011 01:15:56 +0000</pubDate>
		<dc:creator>aip</dc:creator>
				<category><![CDATA[DNS]]></category>
		<category><![CDATA[Etch]]></category>
		<category><![CDATA[Jaunty Jackalope]]></category>
		<category><![CDATA[Karmic Koala]]></category>
		<category><![CDATA[Lenny]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[Squeeze]]></category>
		<category><![CDATA[powerdns]]></category>

		<guid isPermaLink="false">http://www.debiantutorials.com/?p=439</guid>
		<description><![CDATA[The PowerDNS Nameserver is a modern, advanced and high performance authoritative-only nameserver. It is written from scratch and conforms to all relevant DNS standards documents. Furthermore, PowerDNS interfaces with almost any database. This tutorial has been tested and is working on Debian etch and lenny 1. Install the PowerDNS server and MySql backend using apt [...]]]></description>
			<content:encoded><![CDATA[<p>The PowerDNS Nameserver is a modern, advanced and high performance authoritative-only nameserver. It is written from scratch and conforms to all relevant DNS standards documents. Furthermore, PowerDNS interfaces with almost any database.</p>
<p>This tutorial has been tested and is working on Debian etch and lenny</p>
<p>1. Install the PowerDNS server and MySql backend using apt</p>
<p><code>apt-get install pdns-server pdns-backend-mysql<br />
</code><span id="more-439"></span></p>
<p>2. Create a new database (or use existing) and execute the following SQL queries to create the PowerDNS table structure:</p>
<p><code>create table domains (<br />
id		 INT auto_increment,<br />
name		 VARCHAR(255) NOT NULL,<br />
master		 VARCHAR(128) DEFAULT NULL,<br />
last_check	 INT DEFAULT NULL,<br />
type		 VARCHAR(6) NOT NULL,<br />
notified_serial INT DEFAULT NULL,<br />
account         VARCHAR(40) DEFAULT NULL,<br />
primary key (id)<br />
)type=InnoDB;<br />
&nbsp;<br />
CREATE UNIQUE INDEX name_index ON domains(name);<br />
&nbsp;<br />
CREATE TABLE records (<br />
id              INT auto_increment,<br />
domain_id       INT DEFAULT NULL,<br />
name            VARCHAR(255) DEFAULT NULL,<br />
type            VARCHAR(6) DEFAULT NULL,<br />
content         VARCHAR(255) DEFAULT NULL,<br />
ttl             INT DEFAULT NULL,<br />
prio            INT DEFAULT NULL,<br />
change_date     INT DEFAULT NULL,<br />
primary key(id)<br />
)type=InnoDB;<br />
&nbsp;<br />
CREATE INDEX rec_name_index ON records(name);<br />
CREATE INDEX nametype_index ON records(name,type);<br />
CREATE INDEX domain_id ON records(domain_id);<br />
&nbsp;<br />
create table supermasters (<br />
ip VARCHAR(25) NOT NULL,<br />
nameserver VARCHAR(255) NOT NULL,<br />
account VARCHAR(40) DEFAULT NULL<br />
);<br />
</code></p>
<p>3. Configure PowerDNS to use the MySql backend by adding this line into the configuration file (pico /etc/powerdns/pdns.conf)</p>
<p><code>launch=gmysql<br />
</code></p>
<p>4. Configure MySql login information for the PowerDNS server that can read from the tables you created earlier by adding lines similar to these (pico /etc/powerdns/pdns.d/pdns.local)</p>
<p><code>gmysql-host=127.0.0.1<br />
gmysql-user=pdns<br />
gmysql-password=password<br />
gmysql-dbname=pdns<br />
</code></p>
<p><em>Replace the username, password and dbname with a valid login information and database name.</em></p>
<p>5. Restart PowerDNS</p>
<p><code>/etc/init.d/pdns restart<br />
</code></p>
<p>Now you should have a fully functional PowerDNS server installed. To manage the database (adding zones and records), consider using the <a href="http://www.poweradmin.org">Poweradmin</a> web-based administration tool.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.debiantutorials.com/installing-powerdns-with-mysql-backend/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Monitoring Varnish with Munin</title>
		<link>http://www.debiantutorials.com/monitoring-varnish-with-munin/</link>
		<comments>http://www.debiantutorials.com/monitoring-varnish-with-munin/#comments</comments>
		<pubDate>Sun, 06 Nov 2011 11:48:02 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Etch]]></category>
		<category><![CDATA[Jaunty Jackalope]]></category>
		<category><![CDATA[Karmic Koala]]></category>
		<category><![CDATA[Lenny]]></category>
		<category><![CDATA[Monitoring]]></category>
		<category><![CDATA[Squeeze]]></category>
		<category><![CDATA[munin]]></category>
		<category><![CDATA[varnish]]></category>

		<guid isPermaLink="false">http://www.debiantutorials.com/?p=427</guid>
		<description><![CDATA[Varnish is a great reverse proxy and very useful for load balancing. Here you can find a tutorial on installing Varnish: Installing and configuring Varnish HTTP accelerator. Munin is a network/system monitoring application that presents output in graphs through a web interface. If you haven't installed it already, use this tutorial: Monitoring multiple servers with [...]]]></description>
			<content:encoded><![CDATA[<p>Varnish is a great reverse proxy and very useful for load balancing. Here you can find a tutorial on installing Varnish: <a href="http://www.debiantutorials.com/installing-and-configuring-varnish-http-accelerator/">Installing and configuring Varnish HTTP accelerator</a>.</p>
<p>Munin is a network/system monitoring application that presents output in graphs through a web interface. If you haven't installed it already, use this tutorial: <a href="http://www.debiantutorials.com/monitoring-multiple-servers-with-munin/">Monitoring multiple servers with Munin</a>.</p>
<p>Assuming you have both varnish and munin installed, here's a tutorial on installing a plugin for munin to monitor Varnish.</p>
<p>1. Install git-core to receive the plugin from github</p>
<p><code>apt-get install git-core<br />
</code><span id="more-427"></span></p>
<p>2. cd into the munin plugins directory</p>
<p><code>/usr/share/munin/plugins<br />
</code></p>
<p>3. Download the munin-varnish plugin</p>
<p><code>git clone git://github.com/basiszwo/munin-varnish.git<br />
</code></p>
<p>4. Set correct permissions</p>
<p><code>chmod a+x /usr/share/munin/plugins/munin-varnish/varnish_*<br />
</code></p>
<p>5. Link the plugin sections to the munin config</p>
<p><code>ln -s /usr/share/munin/plugins/munin-varnish/varnish_* /etc/munin/plugins/<br />
</code></p>
<p>6. Add these lines to the bottom of the munin-node config (pico /etc/munin/plugin-conf.d/munin-node)</p>
<p><code>[varnish*]<br />
user root<br />
</code></p>
<p>7. Restart munin-node</p>
<p><code>/etc/init.d/munin-node restart<br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.debiantutorials.com/monitoring-varnish-with-munin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Scan your server for rootkits with rkhunter</title>
		<link>http://www.debiantutorials.com/scan-your-server-for-rootkits-with-rkhunter/</link>
		<comments>http://www.debiantutorials.com/scan-your-server-for-rootkits-with-rkhunter/#comments</comments>
		<pubDate>Thu, 03 Nov 2011 22:33:24 +0000</pubDate>
		<dc:creator>aip</dc:creator>
				<category><![CDATA[Etch]]></category>
		<category><![CDATA[Jaunty Jackalope]]></category>
		<category><![CDATA[Karmic Koala]]></category>
		<category><![CDATA[Lenny]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Squeeze]]></category>
		<category><![CDATA[rootkit]]></category>

		<guid isPermaLink="false">http://www.debiantutorials.com/?p=421</guid>
		<description><![CDATA[rkhunter (Rootkit Hunter) is a tool that scans for rootkits, backdoors and possible local exploits. It does this by comparing SHA-1 hashes of important files with known good ones in online database, searching for default directories (of rootkits), wrong permissions, hidden files, suspicious strings in kernel modules, and special tests for Linux and FreeBSD. 1. [...]]]></description>
			<content:encoded><![CDATA[<p><img src="/wp-content/uploads/2011/11/rkhunter.png" alt="Rootkit hunter (rkhunter)" align="right" style="margin-left:10px" />rkhunter (Rootkit Hunter) is a tool that scans for rootkits, backdoors and possible local exploits. It does this by comparing SHA-1 hashes of important files with known good ones in online database, searching for default directories (of rootkits), wrong permissions, hidden files, suspicious strings in kernel modules, and special tests for Linux and FreeBSD.</p>
<p>1. Install rkhunter</p>
<p><code>apt-get install rkhunter<br />
</code><span id="more-421"></span></p>
<p>2. Run rkhunter to check your server</p>
<p><code>rkhunter --check<br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.debiantutorials.com/scan-your-server-for-rootkits-with-rkhunter/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Installing and using the IPMI tool</title>
		<link>http://www.debiantutorials.com/installing-and-using-the-ipmi-tool/</link>
		<comments>http://www.debiantutorials.com/installing-and-using-the-ipmi-tool/#comments</comments>
		<pubDate>Sun, 11 Sep 2011 23:12:42 +0000</pubDate>
		<dc:creator>aip</dc:creator>
				<category><![CDATA[Etch]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[Jaunty Jackalope]]></category>
		<category><![CDATA[Karmic Koala]]></category>
		<category><![CDATA[Lenny]]></category>
		<category><![CDATA[Monitoring]]></category>
		<category><![CDATA[Squeeze]]></category>
		<category><![CDATA[bmc]]></category>
		<category><![CDATA[ipmi]]></category>

		<guid isPermaLink="false">http://www.debiantutorials.com/?p=416</guid>
		<description><![CDATA[The Intelligent Platform Management Interface (IPMI) is a standardized computer system interface used by system administrators to manage a computer system and monitor its operation. The development of this interface specification was led by Intel Corporation and is supported by more than two hundred computer systems vendors including Dell, Hewlett-Packard, Intel, and NEC Corporation. 1. [...]]]></description>
			<content:encoded><![CDATA[<p>The Intelligent Platform Management Interface (IPMI) is a standardized computer system interface used by system administrators to manage a computer system and monitor its operation.</p>
<p>The development of this interface specification was led by Intel Corporation and is supported by more than two hundred computer systems vendors including Dell, Hewlett-Packard, Intel, and NEC Corporation.</p>
<p>1. Install the ipmitool which is used to send commands and receive information from the management interface.</p>
<p><code>apt-get install ipmitool<br />
</code><span id="more-416"></span></p>
<p>2. Use this command to send and receive information to a remote server</p>
<p><code>ipmitool -H {ip_address} -U {username} -a {ipmi_command}<br />
</code></p>
<p><em>You can also skip the "-a" parameter (which makes ipmitool prompt for a password everytime) and add "-P {password}" to avoid the password prompt.</em></p>
<p><strong>Here are some examples of useful commands</strong></p>
<p>Get hardware status (including hardware failures and power status)</p>
<p><code>ipmitool -H {ip_address} -U {username} -a chassis status<br />
</code></p>
<p>List all sensor values (including temperature, fan speed, voltage and more)</p>
<p><code>ipmitool -H {ip_address} -U {username} -a sensor list<br />
</code></p>
<p>Print system event log</p>
<p><code>ipmitool -H {ip_address} -U {username} -a sel list<br />
</code></p>
<p>Check if your server is on or off</p>
<p><code>ipmitool -H {ip_address} -U {username} -a chassis power status<br />
</code></p>
<p>Power off the server (soft shutdown via ACPI)</p>
<p><code>ipmitool -H {ip_address} -U {username} -a chassis power soft<br />
</code></p>
<p>Power off the server (hard)</p>
<p><code>ipmitool -H {ip_address} -U {username} -a chassis power off<br />
</code></p>
<p>Start the server</p>
<p><code>ipmitool -H {ip_address} -U {username} -a chassis power on<br />
</code></p>
<p>Restart server (hard)</p>
<p><code>ipmitool -H {ip_address} -U {username} -a chassis power reset<br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.debiantutorials.com/installing-and-using-the-ipmi-tool/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing sSMTP MTA (Mail Transfer Agent)</title>
		<link>http://www.debiantutorials.com/installing-ssmtp-mta-mail-transfer-agent/</link>
		<comments>http://www.debiantutorials.com/installing-ssmtp-mta-mail-transfer-agent/#comments</comments>
		<pubDate>Sat, 13 Aug 2011 15:24:18 +0000</pubDate>
		<dc:creator>aip</dc:creator>
				<category><![CDATA[Lenny]]></category>
		<category><![CDATA[Mail]]></category>
		<category><![CDATA[Squeeze]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[smtp]]></category>
		<category><![CDATA[ssmtp]]></category>

		<guid isPermaLink="false">http://www.debiantutorials.com/?p=396</guid>
		<description><![CDATA[sSMTP is an extremely simple MTA to get mail off the system to a mail hub. It contains no suid-binaries or other dangerous things - no mail spool to poke around in, and no daemons running in the background. Mail is simply forwarded to the configured mailhost. Extremely easy configuration. This is ideal for web [...]]]></description>
			<content:encoded><![CDATA[<p>sSMTP is an extremely simple MTA to get mail off the system to a mail hub. It contains no suid-binaries or other dangerous things - no mail spool to poke around in, and no daemons running in the background. Mail is simply forwarded to the configured mailhost. Extremely easy configuration.</p>
<p>This is ideal for web servers to avoid running MTA daemons like sendmail, Exim and Postfix which use up resources on the server.</p>
<p>1. Install sSMTP (Note: Any previously installed MTA will be removed)</p>
<p><code>apt-get install ssmtp<br />
</code><span id="more-396"></span></p>
<p>2. Configure the server (pico /etc/ssmtp/ssmtp.conf)</p>
<p><code>mailhub=mail.example.org<br />
FromLineOverride=YES<br />
</code></p>
<p><em>Replace mail.example.org with the external mail server that you want to relay all mail to.</em></p>
<p>If you would like to relay through Google Mail servers, change these configuration values:</p>
<p><code>mailhub=smtp.gmail.com:587<br />
UseSTARTTLS=Yes<br />
AuthUser={username}<br />
AuthPass={password}<br />
FromLineOverride=YES<br />
</code></p>
<p><em>Replace {username} with your Gmail username and {password} with your Gmail password.</em></p>
<p>That's all! sSMTP doesn't run as service so there's no restart required. sSMTP creates a link to /usr/sbin/sendmail which most programs use by default to send mail including PHP.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.debiantutorials.com/installing-ssmtp-mta-mail-transfer-agent/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to install LAMP (Apache, PHP and MySql in Linux)</title>
		<link>http://www.debiantutorials.com/how-to-install-lamp-apache-php-and-mysql-in-linux/</link>
		<comments>http://www.debiantutorials.com/how-to-install-lamp-apache-php-and-mysql-in-linux/#comments</comments>
		<pubDate>Fri, 12 Aug 2011 15:20:39 +0000</pubDate>
		<dc:creator>aip</dc:creator>
				<category><![CDATA[Etch]]></category>
		<category><![CDATA[Jaunty Jackalope]]></category>
		<category><![CDATA[Karmic Koala]]></category>
		<category><![CDATA[Lenny]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[Squeeze]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[jaunty]]></category>
		<category><![CDATA[karmic]]></category>
		<category><![CDATA[lenny]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[phpmyadmin]]></category>

		<guid isPermaLink="false">http://www.debiantutorials.com/?p=393</guid>
		<description><![CDATA[Here's a basic guide on how to get Apache2, PHP5 and MySql working on most Debian based distros in a few easy steps. 1. Install Apache2 and PHP5 (as an Apache module) apt-get install apache2 php5 libapache2-mod-php5 php5-mysql 2. Install MySql server apt-get install mysql-server 3. At this point you may need to restart Apache [...]]]></description>
			<content:encoded><![CDATA[<p><img src="/wp-content/uploads/2011/08/lamp.jpg" alt="Trac" align="right" style="margin-left:10px" /><br />
Here's a basic guide on how to get Apache2, PHP5 and MySql working on most Debian based distros in a few easy steps.</p>
<p>1. Install Apache2 and PHP5 (as an Apache module)</p>
<p><code>apt-get install apache2 php5 libapache2-mod-php5 php5-mysql<br />
</code><span id="more-393"></span></p>
<p>2. Install MySql server</p>
<p><code>apt-get install mysql-server<br />
</code></p>
<p>3. At this point you may need to restart Apache</p>
<p><code>/etc/init.d/apache2 restart<br />
</code></p>
<p>3. Create a test php file</p>
<p><code>echo "&lt;?php phpinfo(); ?&gt;" > /var/www/info.php<br />
</code></p>
<p><em>The default document root for Debian is in /var/www so you can access the test file on this location: http://yourserver/info.php</em></p>
<p>3. Install phpMyAdmin (optional but preferred by most developers and administrators)</p>
<p><code>apt-get install phpmyadmin<br />
</code></p>
<p><em>By default, phpmyadmin will be accessible on: http://yourserver/phpmyadmin</em></p>
]]></content:encoded>
			<wfw:commentRss>http://www.debiantutorials.com/how-to-install-lamp-apache-php-and-mysql-in-linux/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Installing eAccelerator</title>
		<link>http://www.debiantutorials.com/installing-eaccelerator/</link>
		<comments>http://www.debiantutorials.com/installing-eaccelerator/#comments</comments>
		<pubDate>Fri, 05 Aug 2011 11:09:48 +0000</pubDate>
		<dc:creator>aip</dc:creator>
				<category><![CDATA[Lenny]]></category>
		<category><![CDATA[Squeeze]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[eAccelerator]]></category>
		<category><![CDATA[lenny]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://www.debiantutorials.com/?p=375</guid>
		<description><![CDATA[eAccelerator is a free open-source PHP accelerator &#038; optimizer. It increases the performance of PHP scripts by caching them in their compiled state, so that the overhead of compiling is almost completely eliminated. It also optimizes scripts to speed up their execution. eAccelerator typically reduces server load and increases the speed of your PHP code [...]]]></description>
			<content:encoded><![CDATA[<p>eAccelerator is a free open-source PHP accelerator &#038; optimizer. It increases the performance of PHP scripts by caching them in their compiled state, so that the overhead of compiling is almost completely eliminated. It also optimizes scripts to speed up their execution. eAccelerator typically reduces server load and increases the speed of your PHP code by 1-10 times.</p>
<p>eAccelerator only works with mod_php or php in fastcgi mode. It can't be used in cgi or cli because eAccelerator needs to set up shared memory, and this can only be done when all php instances that need to access it are forks of the first process.</p>
<p>1. Download the eAccelerator source. The latest version is mirrored on www.debiantutorials.com as it's not available on the official site anymore.</p>
<p><code>cd /tmp<br />
wget http://www.debiantutorials.com/static/eaccelerator-0.9.6.1.tar.bz2<br />
</code><span id="more-375"></span></p>
<p>2. Extract</p>
<p><code>tar -xvjf eaccelerator-0.9.6.1.tar.bz2<br />
</code></p>
<p>3. Install php5-dev</p>
<p><code>apt-get install php5-dev<br />
</code></p>
<p>3. Compile and install the eAccelerator</p>
<p><code>phpize<br />
./configure<br />
make<br />
make install<br />
</code></p>
<p>4. Configure eAccelerator as PHP extension (create a new config file: pico /etc/php5/conf.d/eaccelerator.ini)</p>
<p><code>extension="eaccelerator.so"<br />
eaccelerator.shm_size="16"<br />
eaccelerator.cache_dir="/var/cache/eaccelerator"<br />
eaccelerator.enable="1"<br />
eaccelerator.optimizer="1"<br />
eaccelerator.check_mtime="1"<br />
eaccelerator.debug="0"<br />
eaccelerator.filter=""<br />
eaccelerator.shm_max="0"<br />
eaccelerator.shm_ttl="0"<br />
eaccelerator.shm_prune_period="0"<br />
eaccelerator.shm_only="0"<br />
eaccelerator.compress="1"<br />
eaccelerator.compress_level="9"<br />
</code></p>
<p>5. Create a cache directory</p>
<p><code>mkdir -p /var/cache/eaccelerator<br />
chmod 0777 /var/cache/eaccelerator<br />
</code></p>
<p>5. Restart apache</p>
<p><code>/etc/init.d/apache2 restart<br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.debiantutorials.com/installing-eaccelerator/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Running Apache2 virtual hosts as different users with mpm-itk</title>
		<link>http://www.debiantutorials.com/running-apache2-virtual-hosts-as-different-users-with-mpm-itk/</link>
		<comments>http://www.debiantutorials.com/running-apache2-virtual-hosts-as-different-users-with-mpm-itk/#comments</comments>
		<pubDate>Tue, 31 May 2011 10:50:46 +0000</pubDate>
		<dc:creator>aip</dc:creator>
				<category><![CDATA[Lenny]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Squeeze]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[itk]]></category>
		<category><![CDATA[mpm]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://www.debiantutorials.com/?p=369</guid>
		<description><![CDATA[apache2-mpm-itk is an MPM (Multi-Processing Module) for the Apache web server. mpm-itk allows you to run each of your vhost under a separate uid and gid — in short, the scripts and configuration files for one vhost no longer have to be readable for all the other vhosts. 1. Install the apache2-mpm-itk package apt-get install [...]]]></description>
			<content:encoded><![CDATA[<p>apache2-mpm-itk is an MPM (Multi-Processing Module) for the Apache web server. mpm-itk allows you to run each of your vhost under a separate uid and gid — in short, the scripts and configuration files for one vhost no longer have to be readable for all the other vhosts.</p>
<p>1. Install the apache2-mpm-itk package</p>
<p><code>apt-get install apache2-mpm-itk<br />
</code><span id="more-369"></span></p>
<p>2. Configure user and group for each virtual host by adding the following line somewhere between &lt;VirtualHost *:80&gt;...&lt;/VirtualHost&gt;</p>
<p><code>AssignUserId [user] [group]<br />
</code></p>
<p>Replace [user] and [group] with a username and group name that already exists on the system.</p>
<p>3. Change the owner of the web root</p>
<p><code>chown [user].[group] [location]<br />
</code></p>
<p>Replace [user] and [group] with the username and group name configured on the virtual host. Replace [location] with the location specified as DocumentRoot for the virtual host, eg. /var/www</p>
<p>4. Make sure the location isn't accessible by other users (optional)</p>
<p><code>chmod o= [location]<br />
</code></p>
<p>Replace [location] with the location specified as DocumentRoot for the virtual host, eg. /var/www</p>
<p>5. Restart apache</p>
<p><code>/etc/init.d/apache restart<br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.debiantutorials.com/running-apache2-virtual-hosts-as-different-users-with-mpm-itk/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Upgrade from lenny to squeeze</title>
		<link>http://www.debiantutorials.com/upgrade-from-lenny-to-squeeze/</link>
		<comments>http://www.debiantutorials.com/upgrade-from-lenny-to-squeeze/#comments</comments>
		<pubDate>Fri, 18 Mar 2011 10:30:22 +0000</pubDate>
		<dc:creator>aip</dc:creator>
				<category><![CDATA[Lenny]]></category>
		<category><![CDATA[Squeeze]]></category>
		<category><![CDATA[lenny]]></category>
		<category><![CDATA[upgrade]]></category>

		<guid isPermaLink="false">http://www.debiantutorials.com/?p=364</guid>
		<description><![CDATA[Debian has released a stable version of Debian 6.0 (squeeze). If you're running previous version of Debian, you can easily upgrade. 1. Update all packages currently installed to the latest lenny versions apt-get update apt-get upgrade 2. Replace all occurrences of lenny with squeeze in the apt sources file (pico /etc/apt/sources.list). Here's an example of [...]]]></description>
			<content:encoded><![CDATA[<p>Debian has released a stable version of Debian 6.0 (squeeze). If you're running previous version of Debian, you can easily upgrade.</p>
<p>1. Update all packages currently installed to the latest lenny versions</p>
<p><code>apt-get update<br />
apt-get upgrade<br />
</code><span id="more-364"></span></p>
<p>2. Replace all occurrences of lenny with squeeze in the apt sources file (pico /etc/apt/sources.list). Here's an example of what the file could look like after the change:</p>
<p><code>deb http://ftp.uk.debian.org/debian/ squeeze main non-free<br />
deb-src http://ftp.uk.debian.org/debian/ squeeze main non-free<br />
deb http://security.debian.org/ squeeze/updates main contrib<br />
deb-src http://security.debian.org/ squeeze/updates main contrib<br />
</code></p>
<p>3. Update apt repository</p>
<p><code>apt-get update<br />
</code></p>
<p>4. Upgrade apt, dpkg and aptitude packages first</p>
<p><code>apt-get install apt dpkg aptitude<br />
</code></p>
<p>5. Do a dist-upgrade to upgrade the rest of the system</p>
<p><code>apt-get dist-upgrade<br />
</code></p>
<p>6. Reboot</p>
<p><code>reboot<br />
</code></p>
<p>7. Check the debian version</p>
<p><code>cat /etc/debian_version<br />
</code></p>
<p>It should read version 6.0.0 or greater</p>
]]></content:encoded>
			<wfw:commentRss>http://www.debiantutorials.com/upgrade-from-lenny-to-squeeze/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>How to upgrade to PHP 5.3 on Debian Lenny</title>
		<link>http://www.debiantutorials.com/how-to-install-upgrade-to-php-5-3-on-debian-lenny/</link>
		<comments>http://www.debiantutorials.com/how-to-install-upgrade-to-php-5-3-on-debian-lenny/#comments</comments>
		<pubDate>Mon, 13 Dec 2010 20:55:00 +0000</pubDate>
		<dc:creator>aip</dc:creator>
				<category><![CDATA[Lenny]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[lenny]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://www.debiantutorials.com/?p=361</guid>
		<description><![CDATA[Dotdeb provides a repository with PHP 5.3 for lenny and it's easy to upgrade: 1. Add these lines to the apt sources (pico /etc/apt/sources.list) deb http://php53.dotdeb.org stable all deb-src http://php53.dotdeb.org stable all 2. Download and import the dotdeb key wget http://www.dotdeb.org/dotdeb.gpg cat dotdeb.gpg &#124; sudo apt-key add - 3. Update apt and dist-upgrade apt-get update [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.dotdeb.org/">Dotdeb</a> provides a repository with PHP 5.3 for lenny and it's easy to upgrade:</p>
<p>1. Add these lines to the apt sources (pico /etc/apt/sources.list)</p>
<p><code>deb http://php53.dotdeb.org stable all<br />
deb-src http://php53.dotdeb.org stable all<br />
</code><span id="more-361"></span></p>
<p>2. Download and import the dotdeb key</p>
<p><code>wget http://www.dotdeb.org/dotdeb.gpg<br />
cat dotdeb.gpg | sudo apt-key add -<br />
</code></p>
<p>3. Update apt and dist-upgrade</p>
<p><code>apt-get update<br />
apt-get dist-upgrade<br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.debiantutorials.com/how-to-install-upgrade-to-php-5-3-on-debian-lenny/feed/</wfw:commentRss>
		<slash:comments>9</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! -->
