<?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>FAQforge</title> <atom:link href="http://www.faqforge.com/feed/" rel="self" type="application/rss+xml" /><link>http://www.faqforge.com</link> <description>Just another WordPress weblog</description> <lastBuildDate>Wed, 01 Sep 2010 10:19:51 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.0.1</generator> <item><title>How to solve the PHP XCache error: /dev/zero: No space left on device</title><link>http://www.faqforge.com/linux/controlpanels/how-to-solve-the-php-xcache-error-devzero-no-space-left-on-device/</link> <comments>http://www.faqforge.com/linux/controlpanels/how-to-solve-the-php-xcache-error-devzero-no-space-left-on-device/#comments</comments> <pubDate>Wed, 01 Sep 2010 10:19:51 +0000</pubDate> <dc:creator>Till</dc:creator> <category><![CDATA[Controlpanels]]></category> <category><![CDATA[Debian]]></category> <category><![CDATA[Distributions]]></category> <category><![CDATA[ISPConfig 2]]></category> <category><![CDATA[ISPConfig 3]]></category> <category><![CDATA[Server]]></category> <category><![CDATA[Ubuntu]]></category> <category><![CDATA[Virtualisation]]></category> <category><![CDATA[Webserver]]></category> <category><![CDATA[OpenVZ]]></category> <category><![CDATA[XCache]]></category><guid
isPermaLink="false">http://www.faqforge.com/?p=508</guid> <description><![CDATA[If you get the error &#8220;/dev/zero: No space left on device&#8221; in the apache error.log on a OpenVZ virtual machine, then the shared memory size in the xcache.ini is too high or the xcache.mm_path is set wrong. Edit the file /etc/php5/conf.d/xcache.ini vi /etc/php5/conf.d/xcache.ini and check the mm_path. On a OpenVZ virtual machine it should be [...]]]></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%2Fwww.faqforge.com%2Flinux%2Fcontrolpanels%2Fhow-to-solve-the-php-xcache-error-devzero-no-space-left-on-device%2F"><br
/> <img
src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.faqforge.com%2Flinux%2Fcontrolpanels%2Fhow-to-solve-the-php-xcache-error-devzero-no-space-left-on-device%2F&amp;source=tweetmeme&amp;style=normal&amp;service=bit.ly" height="61" width="50" /><br
/> </a></div><p>If you get the error &#8220;<span
class="system">/dev/zero: No space left on device</span>&#8221; in the apache error.log on a OpenVZ virtual machine, then the shared memory size in the xcache.ini is too high or the xcache.mm_path is set wrong.</p><p>Edit the file /etc/php5/conf.d/xcache.ini<br
/><p
class="command">vi /etc/php5/conf.d/xcache.ini</p><br
/> and check the mm_path. On a OpenVZ virtual machine it should be set to &#8220;/tmp/xcache&#8221; as /dev/zero might not work correctly in a virtual machine:<br
/><p
class="system">xcache.mmap_path = &quot;/tmp/xcache&quot;</p><br
/> Then restart apache2:<br
/><p
class="command">/etc/init.d/apache2 restart</p><br
/> and check if the error has been resolved.</p><p>If the roor still occurs after some time, you will have to reduce the xcache.size.</p><p>Edite the xcache.ini file:<br
/><p
class="command">vi /etc/php5/conf.d/xcache.ini</p><br
/> and set xcache.size to e.g. 8 MB<br
/><p
class="system">xcache.size  =                8M</p><br
/> Then restart apache2:<br
/><p
class="command">/etc/init.d/apache2 restart</p></p> ]]></content:encoded> <wfw:commentRss>http://www.faqforge.com/linux/controlpanels/how-to-solve-the-php-xcache-error-devzero-no-space-left-on-device/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Secure /tmp and /dev/shm directories in a OpenVZ enviroment</title><link>http://www.faqforge.com/linux/controlpanels/ispconfig2/secure-tmp-and-devshm-directories-in-a-openvz-enviroment/</link> <comments>http://www.faqforge.com/linux/controlpanels/ispconfig2/secure-tmp-and-devshm-directories-in-a-openvz-enviroment/#comments</comments> <pubDate>Tue, 31 Aug 2010 09:06:27 +0000</pubDate> <dc:creator>Till</dc:creator> <category><![CDATA[ISPConfig 2]]></category> <category><![CDATA[ISPConfig 3]]></category> <category><![CDATA[Server]]></category> <category><![CDATA[Virtualisation]]></category> <category><![CDATA[OpenVZ]]></category><guid
isPermaLink="false">http://www.faqforge.com/?p=504</guid> <description><![CDATA[The /tmp and /dev/shm directories of a OpenVZ virtual machine shall be mounted without suid and exec permissions. To achieve this, create a a shell script on the host server for every virtual machine which contains the commands to remount the directories. This script will be started automatically by openvz when the VM is started. [...]]]></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%2Fwww.faqforge.com%2Flinux%2Fcontrolpanels%2Fispconfig2%2Fsecure-tmp-and-devshm-directories-in-a-openvz-enviroment%2F"><br
/> <img
src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.faqforge.com%2Flinux%2Fcontrolpanels%2Fispconfig2%2Fsecure-tmp-and-devshm-directories-in-a-openvz-enviroment%2F&amp;source=tweetmeme&amp;style=normal&amp;service=bit.ly" height="61" width="50" /><br
/> </a></div><p>The /tmp and /dev/shm directories of a OpenVZ virtual machine shall be mounted without suid and exec permissions. To achieve this, create a a shell script on the host server for every virtual machine which contains the commands to remount the directories. This script will be started automatically by openvz when the VM is started.</p><p>I will use VPSID as placeholder for the ID of the virtual machine in the commands and the script. Replace VPSID with the id of the virtual machine that you want to create the script for, e.g. replace VPSID with 101.</p><p>Create the script:<br
/><p
class="command">vi /etc/vz/conf/VPSID.mount</p><br
/> and insert the following lines:<br
/><pre><p class="system">#!/bin/bash
mount -n --bind -onosuid,noexec /vz/vps/VPSID/tmp /vz/root/VPSID/tmp
mount -n --bind -onosuid,noexec /vz/vps/VPSID/shm /vz/root/VPSID/dev/shm
exit ${?}</p></pre><br
/> now make the sscript executable:<br
/><p
class="command">chmod 700 /etc/vz/conf/VPSID.mount</p></p> ]]></content:encoded> <wfw:commentRss>http://www.faqforge.com/linux/controlpanels/ispconfig2/secure-tmp-and-devshm-directories-in-a-openvz-enviroment/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Migrate physical server system to OpenVZ virtual machine</title><link>http://www.faqforge.com/linux/controlpanels/migrate-physical-server-system-to-openvz-virtual-machine/</link> <comments>http://www.faqforge.com/linux/controlpanels/migrate-physical-server-system-to-openvz-virtual-machine/#comments</comments> <pubDate>Tue, 31 Aug 2010 08:51:13 +0000</pubDate> <dc:creator>Till</dc:creator> <category><![CDATA[Controlpanels]]></category> <category><![CDATA[ISPConfig 2]]></category> <category><![CDATA[ISPConfig 3]]></category> <category><![CDATA[Virtualisation]]></category> <category><![CDATA[OpenVZ]]></category><guid
isPermaLink="false">http://www.faqforge.com/?p=501</guid> <description><![CDATA[In case you plan to virtualize your server infrastructure and migrate physical servers to OpenVZ virtual machines, you may find this tutorial helpful: http://wiki.openvz.org/Physical_to_container I used this to migrate a ISPConfig Debian system to OpenVZ successfully.]]></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%2Fwww.faqforge.com%2Flinux%2Fcontrolpanels%2Fmigrate-physical-server-system-to-openvz-virtual-machine%2F"><br
/> <img
src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.faqforge.com%2Flinux%2Fcontrolpanels%2Fmigrate-physical-server-system-to-openvz-virtual-machine%2F&amp;source=tweetmeme&amp;style=normal&amp;service=bit.ly" height="61" width="50" /><br
/> </a></div><p>In case you plan to virtualize your server infrastructure and migrate physical servers to OpenVZ virtual machines, you may find this tutorial helpful:</p><p><a
href="http://wiki.openvz.org/Physical_to_container" target="_blank">http://wiki.openvz.org/Physical_to_container</a></p><p>I used this to migrate a ISPConfig Debian system to OpenVZ successfully.</p> ]]></content:encoded> <wfw:commentRss>http://www.faqforge.com/linux/controlpanels/migrate-physical-server-system-to-openvz-virtual-machine/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Use separate configurations by network in the Windows 7 firewall</title><link>http://www.faqforge.com/windows/use-separate-configurations-by-network-in-the-windows-7-firewall/</link> <comments>http://www.faqforge.com/windows/use-separate-configurations-by-network-in-the-windows-7-firewall/#comments</comments> <pubDate>Thu, 15 Jul 2010 10:12:15 +0000</pubDate> <dc:creator>Till</dc:creator> <category><![CDATA[Basics]]></category> <category><![CDATA[Windows]]></category> <category><![CDATA[Windows 7]]></category> <category><![CDATA[firewall]]></category><guid
isPermaLink="false">http://www.faqforge.com/?p=493</guid> <description><![CDATA[The Windows 7 Firewall allows separate configurations by network. This feature makes it possible to configure different firewall rules for the home network , the networkwork or a public network and Windows will apply these rules automatically when the computer gets connected to a different network. To configure the firewall by network, click on Start [...]]]></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%2Fwww.faqforge.com%2Fwindows%2Fuse-separate-configurations-by-network-in-the-windows-7-firewall%2F"><br
/> <img
src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.faqforge.com%2Fwindows%2Fuse-separate-configurations-by-network-in-the-windows-7-firewall%2F&amp;source=tweetmeme&amp;style=normal&amp;service=bit.ly" height="61" width="50" /><br
/> </a></div><p>The Windows 7 Firewall allows separate configurations by network. This feature makes it possible to configure different firewall rules for the home network , the networkwork or a public network and Windows will apply these rules automatically when the computer gets connected to a different network. To configure the firewall by network, click on Start &gt; Control Panel &gt; System and Security &gt; Windows Firewall</p><p><a
href="http://www.faqforge.com/wp-content/uploads/2010/07/firewall_screenshot.png"><img
class="aligncenter size-full wp-image-494" title="firewall_screenshot" src="http://www.faqforge.com/wp-content/uploads/2010/07/firewall_screenshot.png" alt="" width="550" height="476" /></a></p><p>Then Click on &#8220;Allow a program or feature trough Windows Firewall&#8221; to get the list of open firewall ports for all configured networks.</p><p><a
href="http://www.faqforge.com/wp-content/uploads/2010/07/firewall_screenshot2.png"><img
class="aligncenter size-full wp-image-495" title="firewall_screenshot2" src="http://www.faqforge.com/wp-content/uploads/2010/07/firewall_screenshot2.png" alt="" width="550" height="499" /></a></p><p>If the application that shall be able to connect to a specific network is listed there, then allow access by enabling the checkbox in the column of the network. If the application is not in the list, click on &#8220;Allow another program&#8221; and then select the program in the list that pops up.</p> ]]></content:encoded> <wfw:commentRss>http://www.faqforge.com/windows/use-separate-configurations-by-network-in-the-windows-7-firewall/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>How to disable spamfilter- and antivirus functions in ISPConfig 3</title><link>http://www.faqforge.com/linux/controlpanels/ispconfig3/how-to-disable-spamfilter-and-antivirus-functions-in-ispconfig-3/</link> <comments>http://www.faqforge.com/linux/controlpanels/ispconfig3/how-to-disable-spamfilter-and-antivirus-functions-in-ispconfig-3/#comments</comments> <pubDate>Wed, 14 Jul 2010 12:52:27 +0000</pubDate> <dc:creator>Till</dc:creator> <category><![CDATA[Debian]]></category> <category><![CDATA[Distributions]]></category> <category><![CDATA[Email]]></category> <category><![CDATA[ISPConfig 3]]></category> <category><![CDATA[Server]]></category> <category><![CDATA[Ubuntu]]></category> <category><![CDATA[Amavisd]]></category> <category><![CDATA[ClamAV]]></category><guid
isPermaLink="false">http://www.faqforge.com/?p=490</guid> <description><![CDATA[If you use a mailserver wil very low ram (&#60; 500 MB) and a slow CPU then it might be nescessary to disable the spam- and antivirus filter functions in ISPConfig 3 as amavisd and clamav might be too heavy for your server hardware. The steps to disable clamav and amavisd are: Edit postfix main.cf [...]]]></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%2Fwww.faqforge.com%2Flinux%2Fcontrolpanels%2Fispconfig3%2Fhow-to-disable-spamfilter-and-antivirus-functions-in-ispconfig-3%2F"><br
/> <img
src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.faqforge.com%2Flinux%2Fcontrolpanels%2Fispconfig3%2Fhow-to-disable-spamfilter-and-antivirus-functions-in-ispconfig-3%2F&amp;source=tweetmeme&amp;style=normal&amp;service=bit.ly" height="61" width="50" /><br
/> </a></div><p>If you use a mailserver wil very low ram (&lt; 500 MB) and a slow CPU then it might be nescessary to disable the spam- and antivirus filter functions in ISPConfig 3 as amavisd and clamav might be too heavy for your server hardware. The steps to disable clamav and amavisd are:</p><p>Edit postfix main.cf file<br
/><p
class="command">vi /etc/postfix/main.cf</p><br
/> and comment out these lines by adding a &#8220;#&#8221; in front of them:<br
/><pre><p class="system"># content_filter = amavis:[127.0.0.1]:10024
# receive_override_options = no_address_mappings</p></pre><br
/> Then restart postfix:<br
/><p
class="command">/etc/init.d/postfix restart</p><br
/> Now stop and disable the services. The following commands are for Debian and Ubuntu, the commands for other Linux distributions may vary<br
/><pre><p class="command">/etc/init.d/clamav-daemon stop
/etc/init.d/clamav-freshclam stop
/etc/init.d/amavis stop</p></pre><br
/><pre><p class="command">update-rc.d -f clamav-daemon remove
update-rc.d -f clamav-freshclam remove
update-rc.d -f amavis remove</p></pre><br
/> P The normal mail receive and send functions will still work after this modification. But please be aware that disabling amavisd and clamav will disable all spam-  and antivirus filtering so that the spamfiltering options that can be configured in the ispconfig interface will have any effect on mail delivery and no spam and viruses will get filtered.</p><p>The changes in postfix main.cf will get overwitten by a ispconfig software update when you select to reconfigure services during upadte, so you should comment out the lines again after you install a ispconfig update.</p> ]]></content:encoded> <wfw:commentRss>http://www.faqforge.com/linux/controlpanels/ispconfig3/how-to-disable-spamfilter-and-antivirus-functions-in-ispconfig-3/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>How to compress email attachments automatically in Mozilla Thunderbird</title><link>http://www.faqforge.com/linux/how-to-compress-email-attachments-automatically-in-mozilla-thunderbird/</link> <comments>http://www.faqforge.com/linux/how-to-compress-email-attachments-automatically-in-mozilla-thunderbird/#comments</comments> <pubDate>Wed, 07 Jul 2010 09:22:06 +0000</pubDate> <dc:creator>Till</dc:creator> <category><![CDATA[Basics]]></category> <category><![CDATA[Linux & Unix]]></category> <category><![CDATA[Thunderbird]]></category><guid
isPermaLink="false">http://www.faqforge.com/?p=488</guid> <description><![CDATA[There is a handy Thunderbird extension named &#8220;Auto zip&#8221; available that compresses email attachments as .zip files automatically, So you dont have to compress the files manually anymore before you attach them to the email. Thunderbird extension download: https://addons.mozilla.org/en/thunderbird/addon/4003 Sadly, the official version of the plugin works only for thunderbird 2. But a few users [...]]]></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%2Fwww.faqforge.com%2Flinux%2Fhow-to-compress-email-attachments-automatically-in-mozilla-thunderbird%2F"><br
/> <img
src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.faqforge.com%2Flinux%2Fhow-to-compress-email-attachments-automatically-in-mozilla-thunderbird%2F&amp;source=tweetmeme&amp;style=normal&amp;service=bit.ly" height="61" width="50" /><br
/> </a></div><p>There is a handy Thunderbird extension named &#8220;Auto zip&#8221; available that compresses email attachments as .zip files automatically, So you dont have to compress the files manually anymore before you attach them to the email.</p><p>Thunderbird extension download:</p><p><a
href="https://addons.mozilla.org/en/thunderbird/addon/4003" target="_blank">https://addons.mozilla.org/en/thunderbird/addon/4003</a></p><p>Sadly, the official version of the plugin works only for thunderbird 2. But a few users offer already patched versions for Thunderbird 3 (see links in the comments). Please be aware that using such a patched version has the risk that it might contain malicious code.)</p><p><a
href="https://addons.mozilla.org/de/thunderbird/reviews/display/4003">https://addons.mozilla.org/de/thunderbird/reviews/display/4003</a></p> ]]></content:encoded> <wfw:commentRss>http://www.faqforge.com/linux/how-to-compress-email-attachments-automatically-in-mozilla-thunderbird/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>How to block access to a server by IP address on Linux</title><link>http://www.faqforge.com/linux/how-to-block-access-to-a-server-by-ip-address-on-linux/</link> <comments>http://www.faqforge.com/linux/how-to-block-access-to-a-server-by-ip-address-on-linux/#comments</comments> <pubDate>Tue, 06 Jul 2010 11:36:07 +0000</pubDate> <dc:creator>Till</dc:creator> <category><![CDATA[Basics]]></category> <category><![CDATA[Linux & Unix]]></category> <category><![CDATA[Server]]></category><guid
isPermaLink="false">http://www.faqforge.com/?p=485</guid> <description><![CDATA[Sometimes you might want to block connects to your server by IP address. E.g. when someone tries to attack your system. This can be done in several different ways, e.g. with iptables (firewall) rules or by setting up a reject route. Using iptables sometimes causes conflicts with installed firewalls so that I will use the [...]]]></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%2Fwww.faqforge.com%2Flinux%2Fhow-to-block-access-to-a-server-by-ip-address-on-linux%2F"><br
/> <img
src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.faqforge.com%2Flinux%2Fhow-to-block-access-to-a-server-by-ip-address-on-linux%2F&amp;source=tweetmeme&amp;style=normal&amp;service=bit.ly" height="61" width="50" /><br
/> </a></div><p>Sometimes you might want to block connects to your server by IP address. E.g. when someone tries to attack your system. This can be done in several different ways, e.g. with iptables (firewall) rules or by setting up a reject route. Using iptables sometimes causes conflicts with installed firewalls so that I will use the route command here. The command is:<br
/><p
class="command">/sbin/route add -host 192.168.0.123 reject</p><br
/> Replace 192.168.0.123 with the IP address that you want to block and execute the command as root user on the shell.</p> ]]></content:encoded> <wfw:commentRss>http://www.faqforge.com/linux/how-to-block-access-to-a-server-by-ip-address-on-linux/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>How to enable the new multisite feature in WordPress 3.0</title><link>http://www.faqforge.com/linux/how-to-enable-the-new-multisite-feature-in-wordpress-3-0/</link> <comments>http://www.faqforge.com/linux/how-to-enable-the-new-multisite-feature-in-wordpress-3-0/#comments</comments> <pubDate>Sun, 20 Jun 2010 11:56:46 +0000</pubDate> <dc:creator>Till</dc:creator> <category><![CDATA[Basics]]></category> <category><![CDATA[Linux & Unix]]></category> <category><![CDATA[Server]]></category> <category><![CDATA[Webserver]]></category><guid
isPermaLink="false">http://www.faqforge.com/?p=480</guid> <description><![CDATA[If you recently updated to or installed WordPress 3.0, you might wonder where the menu for Multisite feature is. By default, these new functions are disabled after a WordPress update, to enable them, edit the file wp-config.php and add the line define(‘WP_ALLOW_MULTISITE’, true); On your next login, you will see a new menu labeled &#8220;Super [...]]]></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%2Fwww.faqforge.com%2Flinux%2Fhow-to-enable-the-new-multisite-feature-in-wordpress-3-0%2F"><br
/> <img
src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.faqforge.com%2Flinux%2Fhow-to-enable-the-new-multisite-feature-in-wordpress-3-0%2F&amp;source=tweetmeme&amp;style=normal&amp;service=bit.ly" height="61" width="50" /><br
/> </a></div><p>If you recently updated to or installed WordPress 3.0, you might wonder where the menu for Multisite feature is. By default, these new functions are disabled after a WordPress update, to enable them, edit the file wp-config.php and add the line<br
/><p
class="system">define(‘WP_ALLOW_MULTISITE’, true);</p><br
/> On your next login, you will see a new menu labeled &#8220;Super Admin&#8221; which contains the functions to add new sites to wordpress.</p> ]]></content:encoded> <wfw:commentRss>http://www.faqforge.com/linux/how-to-enable-the-new-multisite-feature-in-wordpress-3-0/feed/</wfw:commentRss> <slash:comments>2</slash:comments> </item> <item><title>How to build a pure-ftpd Debian package for OpenVZ virtual machines (without capabilities enabled)</title><link>http://www.faqforge.com/linux/controlpanels/how-to-build-a-pure-ftpd-debian-package-for-openvz-virtual-machines-without-capabilities-enabled/</link> <comments>http://www.faqforge.com/linux/controlpanels/how-to-build-a-pure-ftpd-debian-package-for-openvz-virtual-machines-without-capabilities-enabled/#comments</comments> <pubDate>Thu, 03 Jun 2010 11:40:27 +0000</pubDate> <dc:creator>Till</dc:creator> <category><![CDATA[Controlpanels]]></category> <category><![CDATA[Debian]]></category> <category><![CDATA[Distributions]]></category> <category><![CDATA[FTP]]></category> <category><![CDATA[ISPConfig 3]]></category> <category><![CDATA[Server]]></category><guid
isPermaLink="false">http://www.faqforge.com/?p=466</guid> <description><![CDATA[The pure-ftpd package that comes with Debian 5.0 (Lenny) does not start in a OpenVZ virtual machine as it is compiled with &#8220;capabilities&#8221;. This tutorial describes the steps to build a pure-ftpd Debian package with capabilities disabled: Make a temporary directory mkdir /usr/src/pure-ftpd cd /usr/src/pure-ftpd Download the source package for pure-ftpd apt-get source pure-ftpd apt-get [...]]]></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%2Fwww.faqforge.com%2Flinux%2Fcontrolpanels%2Fhow-to-build-a-pure-ftpd-debian-package-for-openvz-virtual-machines-without-capabilities-enabled%2F"><br
/> <img
src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.faqforge.com%2Flinux%2Fcontrolpanels%2Fhow-to-build-a-pure-ftpd-debian-package-for-openvz-virtual-machines-without-capabilities-enabled%2F&amp;source=tweetmeme&amp;style=normal&amp;service=bit.ly" height="61" width="50" /><br
/> </a></div><p>The pure-ftpd package that comes with Debian 5.0 (Lenny) does not start in a OpenVZ virtual machine as it is compiled with &#8220;capabilities&#8221;. This tutorial describes the steps to build a pure-ftpd Debian package with capabilities disabled:</p><p>Make a temporary directory<br
/><pre><p class="command">mkdir /usr/src/pure-ftpd
cd /usr/src/pure-ftpd</p></pre><br
/> Download the source package for pure-ftpd<br
/><pre><p class="command">apt-get source pure-ftpd
apt-get build-dep pure-ftpd</p></pre><br
/> Edit the rules file and add the switch &#8220;&#8211;without-capabilities&#8221;<br
/><pre><p class="command">cd pure-ftpd-1.0.21/debian
nano rules</p></pre><br
/> Change the line:<br
/><p
class="system">optflags=--with-everything --with-largefile --with-pam --with-privsep --with-tls</p><br
/> to (one Line!):<br
/><p
class="system">optflags=--with-everything --with-largefile --with-pam --with-privsep --with-tls --without-capabilities</p><br
/> Build the Debian (.deb) package<br
/><pre><p class="command">cd ..
dpkg-buildpackage -uc -b</p></pre><br
/> and install it<br
/><pre><p class="command">cd ..
dpkg -i pure-ftpd-common_1.0.21-11.4_all.deb pure-ftpd-mysql_1.0.21-11.4_i386.deb
/etc/init.d/pure-ftpd-mysql restart</p></pre><br
/> To prevent that apt overwrites these manually compiled packages with the default packages from the Debian repositorys, execute these commands:<br
/><pre><p class="command">echo &#039;pure-ftpd-common hold&#039; | dpkg --set-selections
echo &#039;pure-ftpd-mysql hold&#039; | dpkg --set-selections</p></pre><br
/> This tutorial is based on the german tutorial from <a
href="http://www.howtoforge.de/howto/pureftpd-ohne-capabilities-unter-debian-lenny-selbst-bauen/" target="_blank">planet_fox</a></p> ]]></content:encoded> <wfw:commentRss>http://www.faqforge.com/linux/controlpanels/how-to-build-a-pure-ftpd-debian-package-for-openvz-virtual-machines-without-capabilities-enabled/feed/</wfw:commentRss> <slash:comments>1</slash:comments> </item> <item><title>How to update Spamassassin on ISPConfig 2</title><link>http://www.faqforge.com/linux/controlpanels/how-to-update-spamassassin-on-ispconfig-2/</link> <comments>http://www.faqforge.com/linux/controlpanels/how-to-update-spamassassin-on-ispconfig-2/#comments</comments> <pubDate>Thu, 27 May 2010 11:21:18 +0000</pubDate> <dc:creator>Till</dc:creator> <category><![CDATA[Controlpanels]]></category> <category><![CDATA[Debian]]></category> <category><![CDATA[Distributions]]></category> <category><![CDATA[Email]]></category> <category><![CDATA[ISPConfig 2]]></category> <category><![CDATA[Server]]></category> <category><![CDATA[Ubuntu]]></category><guid
isPermaLink="false">http://www.faqforge.com/?p=462</guid> <description><![CDATA[The spamassassin installation on a ISPConfig 2 server is normally updated together with ISPConfig. Here are the steps iIf you want to update spamassassin manually without updating ISPConfig 2: Download the latest Spamassassin sources and unpack the tar.gz file cd /tmp wget http://ftp.fernuni-hagen.de/ftp-dir/pub/mirrors/\ www.apache.org/spamassassin/source/Mail-SpamAssassin-3.3.1.tar.gz tar xfz Mail-SpamAssassin-3.3.1.tar.gz Configure, make and install spamassassin cd Mail-SpamAssassin-3.3.1 perl [...]]]></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%2Fwww.faqforge.com%2Flinux%2Fcontrolpanels%2Fhow-to-update-spamassassin-on-ispconfig-2%2F"><br
/> <img
src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.faqforge.com%2Flinux%2Fcontrolpanels%2Fhow-to-update-spamassassin-on-ispconfig-2%2F&amp;source=tweetmeme&amp;style=normal&amp;service=bit.ly" height="61" width="50" /><br
/> </a></div><p>The spamassassin installation on a ISPConfig 2 server is normally updated together with ISPConfig. Here are the steps iIf you want to update spamassassin manually without updating ISPConfig 2:</p><p>Download the latest Spamassassin sources and unpack the tar.gz file<br
/><pre><p class="command">cd /tmp
wget http://ftp.fernuni-hagen.de/ftp-dir/pub/mirrors/\
www.apache.org/spamassassin/source/Mail-SpamAssassin-3.3.1.tar.gz
tar xfz Mail-SpamAssassin-3.3.1.tar.gz</p></pre><br
/> Configure, make and install spamassassin<br
/><pre><p class="command">cd Mail-SpamAssassin-3.3.1
perl Makefile.PL PREFIX=/home/admispconfig/ispconfig/tools/\
spamassassin/usr SYSCONFDIR=/home/admispconfig/ispconfig/\
tools/spamassassin/etc
make
make install</p></pre><br
/> Cleanup<br
/><pre><p class="command">cd ..
rm -f Mail-SpamAssassin-3.3.1.tar.gz
rm -rf Mail-SpamAssassin-3.3.1</p></pre></p> ]]></content:encoded> <wfw:commentRss>http://www.faqforge.com/linux/controlpanels/how-to-update-spamassassin-on-ispconfig-2/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk
Page Caching using disk (enhanced) (user agent is rejected)
Database Caching 9/26 queries in 0.011 seconds using disk

Served from: www.faqforge.com @ 2010-09-03 21:11:15 -->