Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kwabena Antwi-Boasiako
slapos
Commits
c0cfed3d
Commit
c0cfed3d
authored
Jul 03, 2013
by
Marco Mariani
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
zimbra: README and INSTALL fixes
parent
d8ae3ef7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
56 additions
and
23 deletions
+56
-23
software/zimbra/INSTALL.txt
software/zimbra/INSTALL.txt
+42
-18
software/zimbra/README.txt
software/zimbra/README.txt
+14
-5
No files found.
software/zimbra/INSTALL.txt
View file @
c0cfed3d
...
...
@@ -102,7 +102,7 @@ How to install Zimbra
Note that `id -u` and `id -g` are the user and group that will run Zimbra.
- Create the directory to contain zimbra build and clone the
{slapos, zimbra} repositories
.
- Create the directory to contain zimbra build and clone the
slapos repository
.
$ mkdir zbuild; cd zbuild
$ git clone http://git.erp5.org/repos/slapos.git -b zimbra slapos
...
...
@@ -129,22 +129,40 @@ How to install Zimbra
$ python bootstrap.py
$ ./bin/buildout
You should find the following files:
Some Java warnings are expected.
$ ls parts/zimbra-sources/ZimbraBuild/amd64/*deb
Third party libraries build with the messages:
*** Building in openssl SUCCEEDED.
...
*** Building in zeromq SUCCEEDED.
XXX insert list of files here XXX
If any of them shows FAILED, check the dependencies, then read the section "Partial third-party build"
Be patient, and do NOT run buildout twice. If you do, the content
When buildout has finished, you should find the following files:
$ ls parts/zimbra-sources/ZimbraBuild/amd64/*deb
zimbra-apache_8.0.4.GA.5682.UBUNTU12.64_amd64.deb
zimbra-core_8.0.4.GA.5682.UBUNTU12.64_amd64.deb
zimbra-ldap_8.0.4.GA.5682.UBUNTU12.64_amd64.deb
zimbra-logger_8.0.4.GA.5682.UBUNTU12.64_amd64.deb
zimbra-memcached_8.0.4.GA.5682.UBUNTU12.64_amd64.deb
zimbra-mta_8.0.4.GA.5682.UBUNTU12.64_amd64.deb
zimbra-proxy_8.0.4.GA.5682.UBUNTU12.64_amd64.deb
zimbra-snmp_8.0.4.GA.5682.UBUNTU12.64_amd64.deb
zimbra-spell_8.0.4.GA.5682.UBUNTU12.64_amd64.deb
zimbra-store_8.0.4.GA.5682.UBUNTU12.64_amd64.deb
Be patient, and do not run buildout twice. If you do, the content
of parts/zimbra-sources will be removed, and that part will be built again.
You may backup the *.deb files to be sure you don't lose them by mistake.
- Run
buildout agai
n to install the *.deb files
- Run
the deployment sectio
n to install the *.deb files
$ ./bin/buildout install zimbra-deploy-all
The files will not be really installed by dpkg,
only
uncompressed under the 'zbuild/home' directory.
The files will not be really installed by dpkg,
but
uncompressed under the 'zbuild/home' directory.
If setcap is required at this point (for ldap and postfix) a root password might be asked.
...
...
@@ -158,20 +176,24 @@ How to install Zimbra
$ source /home/user/zbuild/home/.bashrc
Now
you
run the actual configuration script.
Now run the actual configuration script.
$ cd /home/user/zbuild/home/; ZIMBRA_INSTALLED_PKGS="zimbra-core zimbra-ldap zimbra-mta zimbra-store" ./libexec/zmsetup.pl
the last two lines are printed after you run 'buildout install zimbra-deploy-all'
.
The last two lines are printed after running "buildout install zimbra-deploy-all"
.
- Using the configuration menu, set up an admin password and other options.
Usually, only an admin password is required.
- Fill the required options in the configuration menu.
Usually, only an admin password is required: menu 3 and then 4.
Other mandatory options (as in case of zimbra-deploy-store) are be marked by an asterisk.
Refer to the official Zimbra documentation for this part of the setup.
Here you can also change things like ipv4/ipv6, etc.
Here you can also change things like IPv4/IPv6, etc.
After typing (a)pply, many configuration files, certificates, and databases are created.
A verbose log will show up on the screen.
After you type (a)pply, a lot of configuration files, certificates, and databases are created.
At the end of this process, the log is copied in home/log/zmsetup.*.txt
and the zimbra services are run.
...
...
@@ -180,12 +202,13 @@ How to install Zimbra
$ cd /home/user/zimbra-target/home/bin
$ ./zmcontrol status
XXX include zmcontrol output XXX
antispam Running
[...]
zmconfigd Running
- You should now be able to connect to https://myserver.mydomain.com
and send/receive emails, and log in to the administration interface.
and send/receive emails, and log in to the administration interface
(drop-down menu, top right).
- Before running any of the maintenance commands in bin/ or libexec/,
...
...
@@ -196,7 +219,8 @@ How to install Zimbra
To install a multi-server system, use the deploy-zimbra-ldap, deploy-zimbra-mta
and deploy-zimbra-store parts, configuring as described by the official documentation.
and deploy-zimbra-store parts. Only the "configuration menu" part is different
and should be completed as described by the official documentation.
...
...
software/zimbra/README.txt
View file @
c0cfed3d
...
...
@@ -2,7 +2,7 @@
The following is a detailed list of the changes made to the Zimbra sources,
and also explains parts of the buildout.cfg profile.
If you only need to build Zimbra, you may skip this and just read INSTALL.txt
If you only need to build Zimbra, you may skip this
file
and just read INSTALL.txt
...
...
@@ -10,10 +10,12 @@ If you only need to build Zimbra, you may skip this and just read INSTALL.txt
Changes in the SlapOS repository
================================
The zimbra branch includes
two
additional components:
The zimbra branch includes additional components:
- components/pax
- components/p7zip
- components/unzip
- components/cloog-ppl (not used at the moment)
Also, in the software/zimbra directory:
...
...
@@ -26,12 +28,12 @@ Also, in the software/zimbra directory:
After the build, it copies the compiled library where needed.
- authbind_2.1.1_amd64.deb
Pre-compiled backport of authbind built
unde
r Ubuntu 12.04.
Pre-compiled backport of authbind built
fo
r Ubuntu 12.04.
Needed for IPv6, because only versions >= 2.0 support it.
- software.cfg
- instance.cfg
Experimental.
Ignore them.
Experimental.
...
...
@@ -39,7 +41,7 @@ Also, in the software/zimbra directory:
Changes in the Zimbra repository
================================
The official VCS of Zimbra is Perforce
.
Perforce is the official VCS tool of the Zimbra project
.
Since Perforce keeps no state on the client, it has poor performance and very
poor visibility for anonymous users.
...
...
@@ -369,6 +371,10 @@ Assumption 5: processes can be run by a specific user (zimbra, postfix, postdrop
The latter form is required to grant the privilege to future subprocesses as well.
For openldap and postfix, we still use setcap inside the buildout.
This requires the sudo password, and could be dispensed with, now that there is support for
authbind. But it would require some changes to the wrapper scripts, as described above.
Other context-specific changes
...
...
@@ -377,6 +383,9 @@ Other context-specific changes
In the script buildThirdParty.sh, explicit checks for the presence of required libraries
have been removed.
The script zmsetup.pl has been modified to look in $ZIMBRA_INSTALLED_PKGS for the list
of packages to setup. This would normally go through apt-get and detect what has been installed.
Other changes not described in the previous section:
- clamav:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment