Editing Zimbra on OpenVZ on Debian
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
− | These are instructions for getting [http://www.zimbra.com | + | These are instructions for getting Zimbra |
+ | [[http://www.zimbra.com|Zimbra]] | ||
to work under OpenVZ | to work under OpenVZ | ||
− | using a Debian-3.1 (sarge) base. They are | + | using a Debian-3.1 (sarge) base. They are inpired by |
[[Zimbra on OpenVZ on CentOS]]... | [[Zimbra on OpenVZ on CentOS]]... | ||
− | == Prepare the | + | == Prepare the VE == |
=== Template === | === Template === | ||
Line 12: | Line 13: | ||
=== Create === | === Create === | ||
− | Create a | + | Create a VE for Zimbra. Make sure it has at least 6GB of free |
disk space available. | disk space available. | ||
Line 19: | Line 20: | ||
Adjust its resource limts: | Adjust its resource limts: | ||
<code> | <code> | ||
− | vzctl set $ | + | vzctl set $VEID \ |
--kmemsize 30000000:30000000 \ | --kmemsize 30000000:30000000 \ | ||
--privvmpages 2400000:2400000 \ | --privvmpages 2400000:2400000 \ | ||
Line 49: | Line 50: | ||
Use vzctl to give it an IP address but not a hostname: | Use vzctl to give it an IP address but not a hostname: | ||
− | <code>vzctl set $ | + | <code>vzctl set $VEID --ip A.B.C.D</code> |
== Add/Remove packages == | == Add/Remove packages == | ||
− | Enter the | + | Enter the VE and install/remove some packages: |
<code> | <code> | ||
dpkg --purge exim4 | dpkg --purge exim4 | ||
− | apt-get install sudo libidn11 curl fetchmail \ | + | apt-get install install sudo libidn11 curl fetchmail \ |
libgmp3 libxml2 openssl libstdc++6 | libgmp3 libxml2 openssl libstdc++6 | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
apt-get install perl perl-modules libexpat1 ssh file | apt-get install perl perl-modules libexpat1 ssh file | ||
</code> | </code> | ||
Line 78: | Line 70: | ||
Check /proc/user_beancounters. If there is anything but zero | Check /proc/user_beancounters. If there is anything but zero | ||
in the <code>failcnt</code> column, start over with higher limits. | in the <code>failcnt</code> column, start over with higher limits. | ||
− | |||
− |