Zimbra-install-Zimbra-backup-Zimbra-Upgrade-Zimbra-Integrity
Zimbra provides open source email and calendar groupware software, Zimbra is a popular choice for Linux and Mac OS X email servers.
Install for ubuntu
rm -f /bin/sh
ln -s /bin/bash /bin/sh
apt-get install curl fetchmail libpcre3 libgmp3c2 libexpat1 libxml2 libtie-ixhash-perl
http://www.mirrorservice.org/sites/download.sourceforge.net/pub/sourceforge/z/zi/zimbra/
http://www.zimbra.com/community/downloads.html and download the Ubuntu 6 (.tgz) package to /usr/src, for
cd /usr/src
wget http://kent.dl.sourceforge.net/sourceforge/zimbra/zcs-4.5.3_GA_733.UBUNTU6.tgz
tar xvfz zcs-4.5.3_GA_733.UBUNTU6.tgz
cd zcs/
./install.sh
To test if all Zimbra services are running, become the zimbra user
su - zimbra
and run
zmcontrol status
If not all services are started, run
zmcontrol start
Type
exit
Log in with the username admin and the password you specified during the Zimbra installation:
Uninstall Zimbra
If you want to uninstall Zimbra, do it like this:
Go the the Zimbra installation directory :
cd /usr/src/zcs
Then run
./install.sh -u
and delete the Zimbra installation directory afterwards:
cd /usr/src
rm -rf zcs
Links
Zimbra: http://www.zimbra.com
Zimbra Documentation: http://www.zimbra.com/community/documentation.html
Zimbra Wiki: http://wiki.zimbra.com
http://www.mirrorservice.org/sites/download.sourceforge.net/pub/sourceforge/z/zi/zimbra/ Zimbra_RedHat5_Downloads_Moved_README.txt
http://www.zimbra.com/community/downloads.html
http://files.zimbra.com/downloads/5.0.0_RC1/zcs-5.0.0_RC1_1538.RHEL5.20071002152418.tgz
http://files.zimbra.com/downloads/5.0.0_RC1/zcs-5.0.0_RC1_1538-src.tgz
What happens during install
[root@washington zcs]# ./install.sh chown: `zimbra:zimbra': invalid user Operations logged to /tmp/install.log.16825 Checking for existing installation... zimbra-ldap...NOT FOUND zimbra-logger...NOT FOUND zimbra-mta...NOT FOUND zimbra-snmp...NOT FOUND zimbra-store...NOT FOUND zimbra-apache...NOT FOUND zimbra-spell...NOT FOUND zimbra-core...NOT FOUND PLEASE READ THIS AGREEMENT CAREFULLY BEFORE USING THE SOFTWARE. ZIMBRA, INC. ("ZIMBRA") WILL ONLY LICENSE THIS SOFTWARE TO YOU IF YOU FIRST ACCEPT THE TERMS OF THIS AGREEMENT. BY DOWNLOADING OR INSTALLING THE SOFTWARE, OR USING THE PRODUCT, YOU ARE CONSENTING TO BE BOUND BY THIS AGREEMENT. IF YOU DO NOT AGREE TO ALL OF THE TERMS OF THIS AGREEMENT, THEN DO NOT DOWNLOAD, INSTALL OR USE THE PRODUCT. License Terms for the Zimbra Collaboration Suite: http://www.zimbra.com/license/zimbra_public_eula_2.1.html Press Return to continue Checking for prerequisites... NPTL...FOUND sudo...FOUND sudo-1.6.7p5-30.1.3 libidn...FOUND libidn-0.5.6-1 curl...FOUND curl-7.12.1-5 fetchmail...FOUND fetchmail-6.2.5-6 gmp...FOUND gmp-4.1.4-3 compat-libstdc++-296...FOUND compat-libstdc++- 296-2.96-132.7.2 compat-libstdc++-33...FOUND compat-libstdc++-33-3.2.3-47.3 /usr/lib/libstdc++.so.5...FOUND Checking for installable packages Found zimbra-core Found zimbra-ldap Found zimbra-logger Found zimbra-mta Found zimbra-snmp Found zimbra-store Found zimbra-apache Found zimbra-spell Select the packages to install Install zimbra-ldap [Y] y Install zimbra-logger [Y] y Install zimbra-mta [Y] y Install zimbra-snmp [Y] y Install zimbra-store [Y] y Install zimbra-spell [Y] y Checking required space for zimbra-core checking space for zimbra-store Installing: zimbra-core zimbra-ldap zimbra-logger zimbra-mta zimbra-snmp zimbra-store zimbra-apache zimbra-spell You appear to be installing packages on a platform different than the platform for which they were built This platform is CentOS4 Packages found: zimbra-core-4.5.8_GA_1394.RHEL4-20071002233417.i386.rpm This may or may not work Install anyway? [N] y The system will be modified. Continue? [N] y Removing /opt/zimbra Installing packages zimbra-core......zimbra-core-4.5.8_GA_1394.RHEL4-20071002233417.i386.rpm...done zimbra-ldap......zimbra-ldap-4.5.8_GA_1394.RHEL4-20071002233417.i386.rpm...done zimbra-logger......zimbra-logger-4.5.8_GA_1394.RHEL4-20071002233417.i386.rpm...done zimbra-mta......zimbra-mta-4.5.8_GA_1394.RHEL4-20071002233417.i386.rpm...done zimbra-snmp......zimbra-snmp-4.5.8_GA_1394.RHEL4-20071002233417.i386.rpm...done zimbra-store......zimbra-store-4.5.8_GA_1394.RHEL4-20071002233417.i386.rpm...done zimbra-apache......zimbra-apache-4.5.8_GA_1394.RHEL4-20071002233417.i386.rpm...done zimbra-spell......zimbra-spell-4.5.8_GA_1394.RHEL4-20071002233417.i386.rpm...done Operations logged to /tmp/zmsetup.log.20428 Setting defaults...No results returned for A lookup of washington.armia.com Checked nameservers: 4.2.2.2 4.2.2.4 DNS ERROR resolving washington.armia.com It is suggested that the hostname be resolveable via DNS Change hostname [Yes] No DNS ERROR resolving MX for washington.armia.com It is suggested that the domain name have an MX record configured in DNS Change domain name? [Yes] No Done Checking for port conflicts Port conflict detected: 25 (zimbra-mta) Port conflicts detected! - Any key to continue Main menu 1) Hostname: washington.armia.com 2) Ldap master host: washington.armia.com 3) Ldap port: 389 4) Ldap password: set 5) TimeZone: (GMT-08.00) Pacific Time (US & Canada) 6) zimbra-ldap: Enabled 7) zimbra-store: Enabled +Create Admin User: yes +Admin user to create: [email protected] ******* +Admin Password UNSET +Enable automated spam training: yes +Spam training user: [email protected] +Non-spam(Ham) training user: [email protected] +Global Documents Account: [email protected] +SMTP host: washington.armia.com +Web server HTTP port: 80 +Web server HTTPS port: 443 +Web server mode: http +Enable POP/IMAP proxy: no +IMAP server port: 143 +IMAP server SSL port: 993 +POP server port: 110 +POP server SSL port: 995 +Use spell check server: yes +Spell server URL: http://washington.armia.com:7780/aspell.php 8) zimbra-mta: Enabled 9) zimbra-snmp: Enabled 10) zimbra-logger: Enabled 11) zimbra-spell: Enabled r) Start servers after configuration yes s) Save config to file x) Expand menu q) Quit Address unconfigured (**) items (? - help)
Zimbar new release 5.0.1 is out.
-- Zimbra demo is at http://www.zimbra.com/products/hosted_demo.php
Submit a bug at http://bugzilla.zimbra.com/
Network Edition: http://www.zimbra.com/products/downloads_network_edition_betas.html
Open Source Edition: http://www.zimbra.com/community/downloads.html
http://www.zimbra.com/products/downloads.html
Restore mailboxes, including the LDAP directory server, database, index directory, and message directory for each mailbox
The redo logs are a journal of every activity that has been logged.
You can restore the LDAP directory without restoring the message server
Each Zimbra server generates redo logs that contain every transaction processed by that server
The Zimbra default backup directory is /opt/zimbra/backup.
Perform full and incremental backups, restore the mail server, or restore the LDAP server
zmschedulebackup. This command is used to schedule full backups and incremental backups and add the backup schedule to your cron table.
zmbackupabort. This command stops a full backup that is in process.
zmbackupabort -r. This command stops an ongoing restore.
zmbackupquery. This command lists the information about ongoing and completed backups
zmrestore. This command executes a full or incremental restore to the Zimbra mail server. The zmrestore command is performed on a server that is running.
zmrestoreldap. This command restores the complete LDAP directory server, including accounts, domains, servers, COS and other data.
Enter the command zmschedulebackup -D for the default schedule.
zmbackup. This command executes full or incremental backup of the mail server.
By default, the backup files are saved to the server's backup directory. /opt/zimbra/backup
Steps to backup the message store, the database, the indexes, and the LDAP directory
You can use the zmbackupquery command to check the status of the running backup at any time.
Incremental backups are run using the CLI command, zmbackup
Perform a full backup of all mailboxes on server1 to target at /mnt/disk.
zmbackup -f -s server1.domain.com -a all -t /mnt/disk
Perform incremental backup of all mailboxes on server1 since last full backup.
zmbackup -i -s server1.domain.com -a all -t /mnt/disk
Perform full backup of only user1's mailbox on server1, to the default backup target
zmbackup -f -s server1.domain.com -a [email protected]
Perform incremental backup of user1's mailbox on server1, to the default backup target.
zmbackup -i -s server1.domain.com -a [email protected]
The zmbackupquery command is used to find full backup sets
The backup session temporary file can be found at <backup target>/sessions_tmp
zmbackupabort to stop a backup that is in progress
use zmbackupquery to find the label name
zmbackupabort -lb backup200507121559510 -s server1
Sources: Zimbra.com/http://wiki.zimbra.com/index.php?title=Network_Edition_Backup_Procedure
Zimbra Upgarde.
The upgrade script will remove any zimlets that are not compatible with Zimbra 5.0. Skins from 4.5 also may not work under 5.0
Zimbra Download.
http://files.zimbra.com/downloads/5.0.0_GA/5_0_OS_Release%20Notes.pdf http://files.zimbra.com/downloads/5.0.0_GA/zcs-5.0.0_GA_1869.RHEL4.20071218182359.tgz http://files.zimbra.com/downloads/5.0.0_GA/zcs-5.0.0_GA_1869.UBUNTU6.20071218195304.tgz http://files.zimbra.com/downloads/5.0.0_GA/zcs-5.0.0_GA_1869.DEBIAN4.0.20071218200820.tgz
The Jetty Web Server is now used as the server container that the zimbra software runs within.
Domains name can be changed fromt he zmprov cli command
Ngnix is now used to support more scalable POP/IMAP proxy
memcache is dhipped as the caching layer to cache LDAP lookups.
Server should firewall setup up properly.
Zimbar administrative port number is 7071
Migrations of exchange server email accounts from Exchange 2000, 2003, Lotus Domino can be done.
Users can import the .pst file that they are using with outlook.
After the backup is done the server also need to be backed up.
Upgrading zimbra will not delete the accounts or make changes to the configuraions
Configurations settings are stored in LDAP
All custom made changes will be removed -- themes, logo, crontabs etc.
How to check the zimbra Database Integrity Check.
Check the mysql database using the command zmdbintegrityreport prior to making any system changes.
SINGLE SERVER UPGRADE.
-- For multi server upgarde
-- For MAC machines:
/opt/zimbra/libexec/zmsetup.pl is the ZCS configuration upgrade.
To check the status of the server run the command zmcontrol status Or to start the service type zmcontrol start
To see the password on a serve, type zmlocalconfig -s