Install without prompts

Discuss your pilot or production implementation with other Zimbra admins or our engineers.
Post Reply
reason2008
Posts: 23
Joined: Fri Sep 12, 2014 11:51 pm

Install without prompts

Post by reason2008 »

Hello,
I'm running Zimbra 8.0.4 OSE. I have the production server synchronizing with a backup server on a regular basis. I have things set up so if I'm away on vacation and the production Zimbra server dies, my co-workers can bring up the backup server. Part of the process of bringing up the backup server is running the Zimbra installer. Is it possible to run the install.sh script without prompting for Y/N questions?
Thanks,

Rod
13445raj
Outstanding Member
Outstanding Member
Posts: 743
Joined: Fri Sep 12, 2014 9:59 pm
Location: Canada
Contact:

Install without prompts

Post by 13445raj »

yes you can

i.e:

./install.sh zimbra8_vars.ini
the input file is as below..you can customize it as you need by replacing DOMAIN_NAME and REALLY_COMPLEX_PASSWORD placeholders
----------------------

zimbra8_vars.ini

-----------------------

AVDOMAIN=DOMAIN_NAME

AVUSER=admin@DOMAIN_NAME

CREATEADMIN=admin@DOMAIN_NAME

CREATEDOMAIN=DOMAIN_NAME

DOCREATEADMIN=yes

DOCREATEDOMAIN=yes

DOTRAINSA=yes

EXPANDMENU=no

HOSTNAME=DOMAIN_NAME

HTTPPORT=80

HTTPPROXY=FALSE

HTTPPROXYPORT=8080

HTTPSPORT=443

HTTPSPROXYPORT=8443

IMAPPORT=143

IMAPPROXYPORT=7143

IMAPSSLPORT=993

IMAPSSLPROXYPORT=7993

JAVAHOME=/opt/zimbra/java

LDAPBESSEARCHSET=set

LDAPHOST=DOMAIN_NAME

LDAPPORT=389

LDAPREPLICATIONTYPE=master

LDAPSERVERID=2

MAILBOXDMEMORY=512

MAILPROXY=FALSE

MODE=both

MTAAUTHHOST=DOMAIN_NAME

MYSQLMEMORYPERCENT=30

POPPORT=110

POPPROXYPORT=7110

POPSSLPORT=995

POPSSLPROXYPORT=7995

PROXYMODE=https

REMOVE=no

RUNARCHIVING=no

RUNAV=yes

RUNDKIM=yes

RUNSA=yes

RUNVMHA=no

SMTPDEST=admin@DOMAIN_NAME

SMTPHOST=DOMAIN_NAME

SMTPNOTIFY=yes

SMTPSOURCE=admin@DOMAIN_NAME

SNMPNOTIFY=yes

SNMPTRAPHOST=DOMAIN_NAME

SPELLURL=http://DOMAIN_NAME:7780/aspell.php

STARTSERVERS=yes

SYSTEMMEMORY=2.0

TRAINSAHAM=ham.s1zspij0s@DOMAIN_NAME

TRAINSASPAM=spam.kqjad0gtul@DOMAIN_NAME

UPGRADE=no

USESPELL=yes

VERSIONUPDATECHECKS=TRUE

VIRUSQUARANTINE=virus-quarantine.fbqjdcp3@DOMAIN_NAME

ZIMBRA_REQ_SECURITY=yes

INSTALL_PACKAGES="zimbra-core zimbra-ldap zimbra-logger zimbra-mta zimbra-snmp zimbra-store zimbra-apache zimbra-spell "

CREATEADMINPASS=REALLY_COMPLEX_PASSWORD


--------------------------------------------------------------
Raj
Post Reply