Automated installation of Zimbra

This article introduces the zinstaller script that can be used for automating the installation of Zimbra. The zinstaller script will install a Zimbra 9 single server on Ubuntu 20 and will also obtain and install a 60-day trial license.

If you are new to Zimbra, the zinstaller script makes it easy to evaluate Zimbra on premise. If you already run Zimbra you can use zinstaller to preview the latest features. Developers can use zinstaller as an easy way to set-up a development server.

Running the script

If your mail server is reachable under mail.example.com and you want your email addresses to look like info@example.com, you can run zinstaller as follows:

wget https://raw.githubusercontent.com/Zimbra/zinstaller/master/zinstaller -O /root/zinstaller
chmod +x /root/zinstaller
/root/zinstaller -p put-a-password-here -n mail -t 'Europe/London' -a n --letsencrypt y example.com

Having a poor connection over SSH? Try using screen:

apt -y install screen
screen
wget https://raw.githubusercontent.com/Zimbra/zinstaller/master/zinstaller -O /root/zinstaller
chmod +x /root/zinstaller
/root/zinstaller -p put-a-password-here -n mail -t 'Europe/London' -a n --letsencrypt y example.com

Should your connection drop, you can use the ssh command like normal and resume your session using:

screen -r

Screenshots

image
Installed trial license.

imageModern UI after installation.

Further reading

https://github.com/Zimbra/zinstaller

, ,

4 Responses to Automated installation of Zimbra

  1. SBrown October 17, 2022 at 5:11 AM #

    Hey, thanks, will work on Red Hat Linux 9.0?

    • Avatar photo
      Barry de Graaff October 17, 2022 at 6:43 AM #

      At this time we only scripted it for Ubuntu 20.

  2. Oren December 15, 2022 at 12:32 AM #

    Thanks for the script but will it always work? No troubleshooting? What to expect?

    • Avatar photo
      Barry de Graaff December 20, 2022 at 12:27 AM #

      It should just work…

Copyright © 2022 Zimbra, Inc. All rights reserved.

All information contained in this blog is intended for informational purposes only. Synacor, Inc. is not responsible or liable in any manner for the use or misuse of any technical content provided herein. No specific or implied warranty is provided in association with the information or application of the information provided herein, including, but not limited to, use, misuse or distribution of such information by any user. The user assumes any and all risk pertaining to the use or distribution in any form of any subject matter contained in this blog.

Legal Information | Privacy Policy | Do Not Sell My Personal Information | CCPA Disclosures