Editing Zimbra on OpenVZ on Debian

Jump to: navigation, search

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/ Zimbra]
+
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 inspired by  
+
using a Debian-3.1 (sarge) base.  They are inpired by  
 
[[Zimbra on OpenVZ on CentOS]]...
 
[[Zimbra on OpenVZ on CentOS]]...
  
== Prepare the container ==  
+
== Prepare the VE ==  
  
 
=== Template  ===
 
=== Template  ===
Line 12: Line 13:
 
=== Create ===
 
=== Create ===
  
Create a container for Zimbra.  Make sure it has at least 6GB of free  
+
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 $CTID \
+
           vzctl set $VEID \
 
                 --kmemsize      30000000:30000000 \
 
                 --kmemsize      30000000:30000000 \
 
                 --privvmpages  2400000:2400000 \
 
                 --privvmpages  2400000:2400000 \
                 --shmpages      256:256 \
+
                 --shmpages      32:32 \
 
                 --numproc      2000:2000 \
 
                 --numproc      2000:2000 \
 
                 --numtcpsock    1000:1000 \
 
                 --numtcpsock    1000:1000 \
                 --numflock      10000:10000 \
+
                 --numflock      100:100 \
 
                 --tcpsndbuf    640000:650000 \
 
                 --tcpsndbuf    640000:650000 \
 
                 --tcprcvbuf    640000:650000 \
 
                 --tcprcvbuf    640000:650000 \
Line 43: Line 44:
 
                 --save
 
                 --save
 
  </code>
 
  </code>
 
{{Inconsistent UBC warning}}
 
  
 
=== No Hostname ===
 
=== No Hostname ===
  
 
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 $CTID --ip A.B.C.D --save</code>
+
   <code>vzctl set $VEID --ip A.B.C.D</code>
  
 
== Add/Remove packages ==
 
== Add/Remove packages ==
  
Enter the container and install/remove some packages:
+
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
 
</code>
 
 
 
For Debian 4 (etch) :
 
<code>
 
    dpkg --purge exim4
 
    apt-get install install sudo libidn11 curl fetchmail \
 
            libgmp3c2 libxml2 openssl libstdc++6 libltdl3
 
 
     apt-get install perl perl-modules libexpat1 ssh file
 
     apt-get install perl perl-modules libexpat1 ssh file
 
</code>
 
</code>
Line 78: Line 68:
 
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.
 
[[Category:Debian]]
 

Please note that all contributions to OpenVZ Virtuozzo Containers Wiki may be edited, altered, or removed by other contributors. If you don't want your writing to be edited mercilessly, then don't submit it here.
If you are going to add external links to an article, read the External links policy first!

To edit this page, please answer the question that appears below (more info):

Cancel Editing help (opens in new window)

Templates used on this page: