Git Product home page Git Product logo

zimbra-automated-installation's Introduction

Zimbra

In this Repository you will find different Zimbra Scripts for install Zimbra Collaboration on an automated way

ZimbraEasyInstall

##What is the ZimbraEasyInstall This Script install and configures bind9 with the domain and IP that is defined while invoke the command. After that the Scripts prepare the keystroke script with a default installation of Zimbra Collaboration 8.8.x (without dnscache) and the config.defaults script, using the domain, IP and password that is defined while invoke the command. Once everything is ready the Script download the latest version of Zimbra Collaboration 8.8.x/9.0.0(Network ONLY), uncompress it and install it using the keystrokes script and the config script.

Advantages of use the Script

Usage and Example

The ZimbraEasyInstall Script is an easy way to install Zimbra Collaboration, without be worry of the DNS configuration, OS depencies, etc. Just execute it and after a few minutes have Zimbra up and running.

Just run the Script adding the TLD domain for your Zimbra Collaboration server, the IP of the DNS server (usually will be the same of the server, but instead you are using different eth interfaces), and add the password for the Zimbra Collaboration server.

./ZimbraEasyInstall.sh zimbra.io --ip 192.168.211.40 --password Zimbra2017

Bind as a DNS Server

You can now choose if you want dnsmasq or bind for your DNS Server with ZimbraEasyInstall, by default if you don't select anything after the password, it will automatically install dnsmasq, if you add the flag bind, then it will install bind before ZCS:

./ZimbraEasyInstall.sh zimbra.io --ip 192.168.211.40 --password Zimbra2017 --resolver bind

Access to the Web Client and Admin Console

The Script will take care of everything and after a few minutes you can go to the IP of your server and use the next URL:

ZimbraEasyInstall

If you want to deploy the latest LTS version of Zimbra, ZCS , now you can, with the new Script ready for ZCS, which detects your OS and installs the proper version depending the OS ##Usage and Example The ZimbraEasyInstall Script is an easy way to install Zimbra Collaboration, without be worry of the DNS configuration, OS depencies, etc. Just execute it and after a few minutes have Zimbra up and running.

Just run the Script adding the TLD domain for your Zimbra Collaboration server, the IP of the DNS server (Autodetects if not provided) (usually will be the same of the server, but instead you are using different eth interfaces), and add the password for the Zimbra Collaboration server.

.ZimbraEasyInstall.sh zimbra.io --ip 192.168.211.40 --password Zimbra2017

Or alternatively download and execute all in one go.

link='https://github.com/whattheserver/zimbra-automated-installation/raw/master/ZimbraEasyInstall.sh'; bash <(curl -s ${link} || wget -qO - ${link}) zimbra.io --ip 192.168.211.40 --password Zimbra2017 

Access to the Web Client and Admin Console

The Script will take care of everything and after a few minutes you can go to the IP of your server and use the next URL:

Help Menu on latest script

.ZimbraEasyInstall.sh -h
This Script installs and configures latest Zimbra with the domain and optionally provided ip,password,resolvers that are provided
Usage: ZimbraEasyInstall.sh [-i|--ip <arg>] [-p|--password <arg>] [-r|--resolver <arg>] [-e|--edition <arg>] [-t|--timezone <arg>] [--keystrokes <arg>] [--zimbrascript <arg>] [-u|--(no-)upgrade] [-z|--(no-)zextras] [--(no-)certbot-zimbra] [--(no-)interactive] [--(no-)csf] [--(no-)debug] [-h|--help] [-v|--version] <domain>
        <domain>: Domain to install Zimbra for
        -i, --ip: Specify the public IPv4 address (no default)
        -p, --password: Admin password to use (no default)
        -r, --resolver: DNS Resolver to setup (optional) (default: 'dnsmasq')
        -e, --edition: Zimbra edition to install 'network' or 'ose' Open Source Edition (optional) (default: 'ose')
        -t, --timezone: Timezone to set the server to user (optional) (default: 'UTC')
        --keystrokes: Custom Keystrokes file to use for Zimbra Installer (optional) (no default)
        --zimbrascript: Custom installZimbraScript file to use for Zimbra Installer (optional) (no default)
        -u, --upgrade, --no-upgrade: Upgrade Zimbra (and implicit default: off) (off by default)
        -z, --zextras, --no-zextras: Install Zextras (and implicit default: off) (off by default)
        --certbot-zimbra, --no-certbot-zimbra: Install certbot-zimbra (and implicit default: off) (off by default)
        --interactive, --no-interactive: Interactive mode walk through just the installations settings part interactively (and implicit default: off) (off by default)
        --csf, --no-csf: Install CSF Firewall (and implicit default: off) (off by default)
        --debug, --no-debug: Run Installer with bash debugging enabled (and implicit default: off) (off by default)
        -h, --help: Prints help
        -v, --version: Prints version

Legacy scripts

ZimbraEasyInstall-87-CentOS-RHEL

Thank you to Luis Perez, @dbinary, we have now a version for CentOS/RHEL. All you need to do is download the file called ZimbraEasyInstall-87-CentOS-RHEL give it execution privileges and run it as usual:

./ZimbraEasyInstall-87-CentOS-RHEL zimbralab.io 192.168.211.40 Zimbra2017

ZimbraEasyInstall-86

In the case that you want to run an old ZCS version like ZCS 8.6, in Ubuntu 14.04, you can download and give executin privileges to the file called ZimbraEasyInstall-86, and then run it as usual:

./ZimbraEasyInstall-86 zimbralab.io 192.168.211.40 Zimbra2017

ToDo

  • Prepare and configure automatically the Reverse DNS Zone
  • Make it Multi-Server, to install in each server only the role that selects (LDAP, Mailbox, MTA, PROXY, UI)

Distributed under MIT license

Copyright (c) 2017 Jorge de la Cruz

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

zimbra-automated-installation's People

Contributors

jorgedlcruz avatar meramsey avatar mrlpm avatar whattheserver avatar nvtienanh avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.