<?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; Web</title>
	<atom:link href="http://www.debiantutorials.com/category/web/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>How to install Roundcube on squeeze</title>
		<link>http://www.debiantutorials.com/how-to-install-roundcube-on-squeeze/</link>
		<comments>http://www.debiantutorials.com/how-to-install-roundcube-on-squeeze/#comments</comments>
		<pubDate>Mon, 15 Aug 2011 00:35:17 +0000</pubDate>
		<dc:creator>aip</dc:creator>
				<category><![CDATA[Mail]]></category>
		<category><![CDATA[Squeeze]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[roundcube]]></category>

		<guid isPermaLink="false">http://www.debiantutorials.com/?p=406</guid>
		<description><![CDATA[Roundcube is a browser-based multilingual IMAP client with an application-like user interface. It provides full functionality you expect from an e-mail client, including MIME support, address book, folder manipulation, message searching and spell checking. Installation is easy in Debian but the application is pretty outdated in the squeeze apt repository so you may want to [...]]]></description>
			<content:encoded><![CDATA[<p>Roundcube is a browser-based multilingual IMAP client with an application-like user interface. It provides full functionality you expect from an e-mail client, including MIME support, address book, folder manipulation, message searching and spell checking.</p>
<p>Installation is easy in Debian but the application is pretty outdated in the squeeze apt repository so you may want to install the latest version manually instead. You can download the source from <a href="http://sourceforge.net/projects/roundcubemail/files/roundcubemail/">Sourceforge</a>.</p>
<p>1. Install roundcube</p>
<p><code>apt-get install roundcube roundcube-mysql<br />
</code><span id="more-406"></span></p>
<p>2. Configure apache (pico /etc/apache2/conf.d/roundcube)</p>
<p><code>Alias /roundcube/program/js/tiny_mce/ /usr/share/tinymce/www/<br />
Alias /roundcube /var/lib/roundcube<br />
</code></p>
<p>3. For some reason the default language is set to ar_SA. Change it to English (pico /var/lib/roundcube/config/main.inc.php)</p>
<p><code>$rcmail_config['language'] = 'en_US';<br />
</code></p>
<p>4. Restart apache</p>
<p><code>/etc/init.d/apache2 restart<br />
</code></p>
<p>Now you can access Roundcube on this location: http://yourserver/roundcube</p>
]]></content:encoded>
			<wfw:commentRss>http://www.debiantutorials.com/how-to-install-roundcube-on-squeeze/feed/</wfw:commentRss>
		<slash:comments>2</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 and configuring Trac and Subversion on squeeze</title>
		<link>http://www.debiantutorials.com/installing-and-configuring-trac-and-subversion-on-squeeze/</link>
		<comments>http://www.debiantutorials.com/installing-and-configuring-trac-and-subversion-on-squeeze/#comments</comments>
		<pubDate>Tue, 09 Aug 2011 20:59:24 +0000</pubDate>
		<dc:creator>aip</dc:creator>
				<category><![CDATA[Squeeze]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[svn]]></category>
		<category><![CDATA[trac]]></category>

		<guid isPermaLink="false">http://www.debiantutorials.com/?p=377</guid>
		<description><![CDATA[Trac is an enhanced wiki and issue tracking system for software development projects. Trac uses a minimalistic approach to web-based software project management. Trac allows wiki markup in issue descriptions and commit messages, creating links and seamless references between bugs, tasks, changesets, files and wiki pages. A timeline shows all current and past project events [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.debiantutorials.com/wp-content/uploads/2011/08/trac.jpg" alt="Trac" align="right" style="margin-left:10px" />Trac is an enhanced wiki and issue tracking system for software development projects. Trac uses a minimalistic approach to web-based software project management.</p>
<p>Trac allows wiki markup in issue descriptions and commit messages, creating links and seamless references between bugs, tasks, changesets, files and wiki pages. A timeline shows all current and past project events in order, making the acquisition of an overview of the project and tracking progress very easy. The roadmap shows the road ahead, listing the upcoming milestones. </p>
<p><strong>Install and configure Trac and subversion</strong></p>
<p>1. Install required packages for both Trac and Subversion. We'll be using Apache to publish the Subversion repositories</p>
<p><code>apt-get install python-setuptools trac subversion libapache2-svn libapache2-mod-python<br />
a2enmod dav_fs<br />
</code><span id="more-377"></span></p>
<p>2. Create a template SVN repository which we will copy later to create new repositories.</p>
<p><code>mkdir /var/svn/<br />
mkdir /var/svn/tmpproject<br />
mkdir /var/svn/tmpproject/branches<br />
mkdir /var/svn/tmpproject/tags<br />
mkdir /var/svn/tmpproject/trunk</code></p>
<p>3. Enable the Apache SVN module</p>
<p><code>a2enmod dav_fs<br />
</code></p>
<p>4. Create a password file containing users that have access to the Subversion repositories and Trac</p>
<p><code>htpasswd -c /etc/apache2/svn.passwd user1<br />
htpasswd /etc/apache2/svn.passwd user2<br />
</code></p>
<p>5. Edit the apache configurations to enable Trac and Subversion SVN (pico /etc/apache2/sites-enabled/000-default). Add the following lines:</p>
<p><code>&lt;Location /svn&gt;<br />
DAV svn<br />
SVNParentPath /var/svn<br />
SVNAutoversioning on<br />
AuthType Basic<br />
AuthName "Subversion Repository"<br />
AuthUserFile /etc/apache2/svn.passwd<br />
Require valid-user<br />
&lt;/Location&gt;<br />
&lt;Location "/trac"&gt;<br />
SetHandler mod_python<br />
PythonHandler trac.web.modpython_frontend<br />
PythonOption TracEnvParentDir /var/trac/<br />
PythonOption TracUriRoot /trac<br />
AuthType Basic<br />
AuthName "Trac"<br />
AuthUserFile /etc/apache2/svn.passwd<br />
Require valid-user<br />
&lt;/Location&gt;<br />
</code></p>
<p>6. Create a directory for Trac projects</p>
<p><code>mkdir /var/trac<br />
</code></p>
<p><strong>Create the first project</strong></p>
<p>1. Create a subversion repository and import the directory structure from the tmpproject template</p>
<p><code>svnadmin create /var/svn/myproject --fs-type fsfs<br />
svn import /var/svn/tmpproject file:///var/svn/myproject -m "initial import"<br />
find /var/svn/myproject -type f -exec chmod 660 {} \;<br />
find /var/svn/myproject -type d -exec chmod 2770 {} \;<br />
chown -R root.www-data /var/svn/myproject<br />
</code></p>
<p>2. Create the Trac project</p>
<p><code>trac-admin /var/trac/myproject initenv<br />
find /var/trac/myproject -type f -exec chmod 660 {} \;<br />
find /var/trac/myproject -type d -exec chmod 2770 {} \;<br />
chown -R root.www-data /var/trac/myproject<br />
</code></p>
<p>3. Restart Apache</p>
<p><code>/etc/init.d/apache2 restart<br />
</code></p>
<p>4. Give a user administrator permissions to the project</p>
<p><code>trac-admin /var/trac/myproject<br />
permission add user1 TRAC_ADMIN<br />
</code></p>
<p>You can now access your Trac project by browsing with your favorite browser to http://localhost/trac/myproject.</p>
<p>To access the Subversion reposatory you can use any Subversion client. If you're using Windows, <a href="http://tortoisesvn.tigris.org/">TortoiseSVN</a> would be a good choice. The location to the new SVN repository is something like this: http://localhost/svn/myproject</p>
]]></content:encoded>
			<wfw:commentRss>http://www.debiantutorials.com/installing-and-configuring-trac-and-subversion-on-squeeze/feed/</wfw:commentRss>
		<slash:comments>0</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>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>
		<item>
		<title>Installing and configuring Varnish HTTP accelerator</title>
		<link>http://www.debiantutorials.com/installing-and-configuring-varnish-http-accelerator/</link>
		<comments>http://www.debiantutorials.com/installing-and-configuring-varnish-http-accelerator/#comments</comments>
		<pubDate>Sun, 12 Sep 2010 22:35:15 +0000</pubDate>
		<dc:creator>aip</dc:creator>
				<category><![CDATA[Lenny]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[accelerator]]></category>
		<category><![CDATA[http]]></category>
		<category><![CDATA[proxy]]></category>
		<category><![CDATA[varnish]]></category>

		<guid isPermaLink="false">http://www.debiantutorials.com/?p=355</guid>
		<description><![CDATA[Varnish is a state of the art web accelerator. Its mission is to sit in front of a web server an cache the content. It makes your web site go fast. 1. Install Varnish apt-get install varnish 2. Configure the backend (pico /etc/varnish/default.vcl) backend default { set backend.host = "157.166.224.26"; set backend.port = "80"; } [...]]]></description>
			<content:encoded><![CDATA[<p>Varnish is a state of the art web accelerator. Its mission is to sit in front of a web server an cache the content. It makes your web site go fast.</p>
<p>1. Install Varnish</p>
<p><code>apt-get install varnish<br />
</code><span id="more-355"></span></p>
<p>2. Configure the backend (pico /etc/varnish/default.vcl)</p>
<p><code>backend default {<br />
        set backend.host = "157.166.224.26";<br />
        set backend.port = "80";<br />
}<br />
</code></p>
<p><em>This will be the server containing the actual web site published to the users. I'm using the IP address for cnn.com for testing.</em></p>
<p>3. Configure deamon options for varnish to use the default.vcl (pico /etc/default/varnish)</p>
<p>Comment out the following lines: (lines 21 - 25)</p>
<p><code>#DAEMON_OPTS="-a :6081 \<br />
#             -T localhost:6082 \<br />
#             -b localhost:8080 \<br />
#             -u varnish -g varnish \<br />
#             -s file,/var/lib/varnish/$INSTANCE/varnish_storage.bin,1G"<br />
</code></p>
<p>Remove the comment blocks from these lines: (34 - 37)</p>
<p><code>DAEMON_OPTS="-a :6081 \<br />
              -T localhost:6082 \<br />
              -f /etc/varnish/default.vcl \<br />
              -s file,/var/lib/varnish/$INSTANCE/varnish_storage.bin,1G"<br />
</code></p>
<p><em>By default, Varnish listens on port 6081 as specified in the -a parameter but for production you probably want to use port 80.</em></p>
<p>4. Restart Varnish</p>
<p><code>/etc/init.d/varnish restart<br />
</code></p>
<p>5. Test by entering this location in a web browser: http://yourserver:6081.</p>
<p><em>Replace yourserver with your server's hostname or IP address</em></p>
<p>This is just a simple setup but you can set up multiple backends and do some advanced configurations. <a href="http://www.varnish-cache.org/docs/2.1/" target="_blank">Here's the Varnish documentation</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.debiantutorials.com/installing-and-configuring-varnish-http-accelerator/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Installing PEAR framework and packages</title>
		<link>http://www.debiantutorials.com/installing-pear-framework-and-packages/</link>
		<comments>http://www.debiantutorials.com/installing-pear-framework-and-packages/#comments</comments>
		<pubDate>Sun, 15 Aug 2010 17:36:49 +0000</pubDate>
		<dc:creator>aip</dc:creator>
				<category><![CDATA[Lenny]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[pear]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://www.debiantutorials.net/?p=345</guid>
		<description><![CDATA[PEAR is a framework and distribution system for reusable PHP components. 1. Install the PEAR framework get install php-pear 2. Restart apache /etc/init.d/apace2 restart 3. Install a PEAR package (optional) pear install Net_Ping-2.4.5 You can install any PEAR package using this command but in this example we'll install the Net_Ping package 4. Here's a sample [...]]]></description>
			<content:encoded><![CDATA[<p>PEAR is a framework and distribution system for reusable PHP components.</p>
<p>1. Install the PEAR framework</p>
<p><code>get install php-pear<br />
</code><span id="more-345"></span></p>
<p>2. Restart apache</p>
<p><code>/etc/init.d/apace2 restart<br />
</code></p>
<p>3. Install a PEAR package (optional)</p>
<p><code>pear install Net_Ping-2.4.5<br />
</code></p>
<p><em>You can install any PEAR package using this command but in this example we'll install the Net_Ping package</em></p>
<p>4. Here's a sample PHP code to use the Net_Ping package (optional)</p>
<p><code>require_once "Net/Ping.php";<br />
$ping = Net_Ping::factory();<br />
&nbsp;<br />
$host = 'debiantutorials.com';<br />
$count = 3;<br />
&nbsp;<br />
if (PEAR::isError($ping))<br />
{<br />
&nbsp;&nbsp;&nbsp;&nbsp;echo $ping->getMessage();<br />
}<br />
else<br />
{<br />
&nbsp;&nbsp;&nbsp;&nbsp;$ping->setArgs(array('count' => $count));<br />
&nbsp;&nbsp;&nbsp;&nbsp;$res = $ping->ping($host);<br />
&nbsp;&nbsp;&nbsp;&nbsp;foreach ($res->_raw_data as $line)<br />
&nbsp;&nbsp;&nbsp;&nbsp;{<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;echo $line . "\n";<br />
&nbsp;&nbsp;&nbsp;&nbsp;}<br />
}<br />
</code></p>
<p><em>This code will ping the host debiantutorials.com three times and echo the results</em></p>
]]></content:encoded>
			<wfw:commentRss>http://www.debiantutorials.com/installing-pear-framework-and-packages/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing HAVP (HTTP Antivirus Proxy)</title>
		<link>http://www.debiantutorials.com/installing-havp-http-antivirus-proxy/</link>
		<comments>http://www.debiantutorials.com/installing-havp-http-antivirus-proxy/#comments</comments>
		<pubDate>Sun, 13 Jun 2010 06:50:05 +0000</pubDate>
		<dc:creator>aip</dc:creator>
				<category><![CDATA[Lenny]]></category>
		<category><![CDATA[Networking]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[clamav]]></category>
		<category><![CDATA[havp]]></category>
		<category><![CDATA[proxy]]></category>

		<guid isPermaLink="false">http://www.debiantutorials.net/?p=315</guid>
		<description><![CDATA[HAVP (HTTP Antivirus Proxy) is a proxy with a ClamAV anti-virus scanner. The main aims are continuous, non-blocking downloads and smooth scanning of dynamic and password protected HTTP traffic. Havp antivirus proxy has a parent and transparent proxy mode. It can be used with squid or standalone. 1. Install HAVP apt-get install havp 2. Start [...]]]></description>
			<content:encoded><![CDATA[<p>HAVP (HTTP Antivirus Proxy) is a proxy with a ClamAV anti-virus scanner. The main aims are continuous, non-blocking downloads and smooth scanning of dynamic and password protected HTTP traffic. Havp antivirus proxy has a parent and transparent proxy mode. It can be used with squid or standalone.</p>
<p>1. Install HAVP</p>
<p><code>apt-get install havp<br />
</code><span id="more-315"></span></p>
<p>2. Start HAVP if it didn't start after the installation</p>
<p><code>/etc/init.d/havp start<br />
</code></p>
<p>It's ready, by default HAVP listens on port 8080. You can configure your web browser to use the server as a proxy.</p>
<p>You can customize the error pages by editing the html files in this directory: /etc/havp/templates/en/</p>
]]></content:encoded>
			<wfw:commentRss>http://www.debiantutorials.com/installing-havp-http-antivirus-proxy/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>OpenID authentication with the mod_auth_openid Apache module</title>
		<link>http://www.debiantutorials.com/openid-authentication-with-the-mod_auth_openid-apache-module/</link>
		<comments>http://www.debiantutorials.com/openid-authentication-with-the-mod_auth_openid-apache-module/#comments</comments>
		<pubDate>Wed, 09 Jun 2010 21:33:10 +0000</pubDate>
		<dc:creator>aip</dc:creator>
				<category><![CDATA[Lenny]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[OpenID]]></category>

		<guid isPermaLink="false">http://www.debiantutorials.net/?p=303</guid>
		<description><![CDATA[mod_auth_openid is an authentication module for the Apache 2 webserver. It handles the functions of an OpenID consumer as specified in the OpenID 2.0 specification. After a user authenticates themselves, the user's identity will be available in the REMOTE_USER variable. A cookie named open_id_session_id is saved to maintain each user's session. 1. Install the module [...]]]></description>
			<content:encoded><![CDATA[<p>mod_auth_openid is an authentication module for the Apache 2 webserver. It handles the functions of an OpenID  consumer as specified in the OpenID 2.0 specification.</p>
<p>After a user authenticates themselves, the user's identity will be available in the REMOTE_USER variable. A cookie named open_id_session_id is saved to maintain each user's session.</p>
<p>1. Install the module</p>
<p><code>apt-get install libapache2-mod-auth-openid<br />
</code><span id="more-303"></span></p>
<p>2. Enable the module</p>
<p><code>a2enmod authopenid<br />
</code></p>
<p>3. You can now add the line below to any Directory, Location or File directive in the virtual host configuration or a .htaccess file .</p>
<p><code>AuthOpenIDEnabled On<br />
</code></p>
<p><a href="http://trac.butterfat.net/public/mod_auth_openid" target="_blank">Click here for more configuration options, including only allowing logins from specific OpenID providers and using a custom login page</a></p>
<p>4. Restart Apache</p>
<p><code>/etc/init.d/apache2 restart<br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.debiantutorials.com/openid-authentication-with-the-mod_auth_openid-apache-module/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! -->
