cd /home/user/zbuild/parts/zimbra-sources/ThirdPartyBuilds/x86_64/java/junixsocket
tar --extract --bzip2 --file /home/user/zbuild/parts/junixsocket/junixsocket-1.3-bin.tar.bz2 --wildcards '*.so' --strip-components=2'
Unused options for junixsocket-sources: 'update-command'.
You might see instead:
BUILD FAILED
/home/user/zbuild/parts/junixsocket__compile__/junixsocket-1.3/build.xml:411: Test org.newsclub.net.unix.SoTimeoutTest failed
Total time: 24 seconds
junixsocket: Command failed with exit code 1: /home/user/zbuild/parts/ant/bin/ant
junixsocket: Compilation error. The package is left as is at /home/user/zbuild/parts/junixsocket__compile__/junixsocket-1.3 where you can inspect what went wrong
While:
Installing junixsocket.
Error: System error
This happens sometimes, and is an unpredictable timing issue.
Running buildout again fixes the problem.
*) Build Zimbra components
This is provided as a separate step to allow building and deploying on different machines.
$ source environment.sh
$ ./bin/buildout install zimbra-build
Some Java warnings are expected.
Third party libraries build with the messages:
...
...
@@ -153,12 +187,13 @@ How to install Zimbra
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.
You may backup the .deb files to be sure you don't lose them by mistake (i.e. if you run
this buildout step again, they will be deleted).
If you want to install zimbra on another or multiple servers, you can skip this step
by reusing the .deb files - but only if the username and path of the build directory are the same.
- Run the deployment section to install the *.deb files
*) Run the deployment section to install the .deb files
$ ./bin/buildout install zimbra-deploy-all
...
...
@@ -166,9 +201,9 @@ How to install Zimbra
If setcap is required at this point (for ldap and postfix) a root password might be asked.
- Configure zimbra
*) Configure zimbra
Source the environment variables for SlapOS components
Be sure to have sourced the environment variables for SlapOS components
$ source /home/user/zbuild/environment.sh
...
...
@@ -183,7 +218,7 @@ How to install Zimbra
The last two lines are printed after running "buildout install zimbra-deploy-all".
- Fill the required options in the configuration menu.
*) 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.
...
...
@@ -198,7 +233,7 @@ How to install Zimbra
and the zimbra services are run.
- Check that zimbra is running:
*) Check that zimbra is running:
$ cd /home/user/zimbra-target/home/bin
$ ./zmcontrol status
...
...
@@ -206,12 +241,12 @@ How to install Zimbra
[...]
zmconfigd Running
- You should now be able to connect to https://myserver.mydomain.com
*) You should now be able to connect to https://myserver.mydomain.com
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/,
*) Before running any of the maintenance commands in bin/ or libexec/,