Informations :
Dates
- Publish : : Monday 23 august 2010
- Modification : Thursday 01 september 2011
Share :
Suppression des services inutiles
/etc/init.d/exim4 stop aptitude remove exim4 nfs-common rm /etc/init.d/exim4
Ajout des paquets pré-requis et recommandés
aptitude install libidn11 libpcre3 libgmp3c2 libexpat1 libstdc++5 libstdc++6 libperl5.10 libltdl3 sudo sysstat openssh-server ntp fetchmail arj cabextract lha lzop nomarch tnef unrar zoo
Configurer les hôtes
Vérifiez dans /etc/hosts que le nom pleinement qualifié apparaisse en premier :
127.0.0.1 localhost.yourdomain.com localhost your.ip.address yourhostname.yourdomain.com yourhostname
Installer le serveur Zimbra
Allez sur www.zimbra.com/downloads/os-downloads.html et vérifiez la version courante, à remplacer ci-dessous :
wget http://h.yimg.com/lo/downloads/6.0.5_GA/zcs-6.0.5_GA_2213.DEBIAN5_32.20100131185825.tgz tar xvzf zcs-6.0.5_GA_2213.DEBIAN5_32.20100131185825.tgz cd zcs-6.0.5_GA_2213.DEBIAN5_32.20100131185825
./install.sh Appuyer sur [Entrée] pour continuer Operations logged to /tmp/install.log.9250 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-convertd...NOT FOUND zimbra-memcached...NOT FOUND zimbra-proxy...NOT FOUND zimbra-archiving...NOT FOUND zimbra-cluster...NOT FOUND zimbra-core...NOT FOUNDPLEASE 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,License Terms for the Zimbra Collaboration Suite: http://www.zimbra.com/license/zimbra_public_eula_2.1.htmlPress Return to continue
Inscrire Y à tous les packages qui vont être installés sauf pour le proxy, memcached où vous indiquerez N
Checking for prerequisites... FOUND: NPTL FOUND: sudo-1.6.9p17-2 FOUND: libidn11-1.8+20080606-1 FOUND: libpcre3-7.6-2.1 FOUND: libgmp3c2-2:4.2.2+dfsg-3 FOUND: libexpat1-2.0.1-4+lenny3 FOUND: libstdc++6-4.3.2-1.1 FOUND: libstdc++5-1:3.3.6-18 FOUND: libperl5.10-5.10.0-19lenny2 Checking for suggested prerequisites... FOUND: perl-5.10.0 FOUND: sysstatPrerequisite check complete. Checking for installable packages Found zimbra-coreFound zimbra-ldap Found zimbra-loggerFound zimbra-mta Found zimbra-snmp Found zimbra-store Found zimbra-apache Found zimbra-spell Found zimbra-memcached Found zimbra-proxy 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-apache [Y] y Install zimbra-spell [Y] y Install zimbra-memcached [N] n Install zimbra-proxy [N] n
Appuyer sur Y pour valider
Checking required space for zimbra-core checking space for zimbra-storeInstalling: zimbra-core zimbra-ldap zimbra-logger zimbra-mta zimbra-snmp zimbra-store zimbra-apache zimbra-spell The system will be modified. Continue? [N] Y
L'installation se déroule
Installing packages zimbra-core......zimbra-core_6.0.4_GA_2038.DEBIAN5_32_amd64.deb...done zimbra-ldap......zimbra-ldap_6.0.4_GA_2038.DEBIAN5_32_amd64.deb...done zimbra-logger......zimbra-logger_6.0.4_GA_2038.DEBIAN5_32_amd64.deb...done zimbra-mta......zimbra-mta_6.0.4_GA_2038.DEBIAN5_32_amd64.deb...done zimbra-snmp......zimbra-snmp_6.0.4_GA_2038.DEBIAN5_32_amd64.deb...done zimbra-store......zimbra-store_6.0.4_GA_2038.DEBIAN5_32_amd64.deb...done zimbra-spell......zimbra-spell_6.0.4_GA_2038.DEBIAN5_32_amd64.deb...done Operations logged to /tmp/zmsetup.02042010-120719.log Installing LDAP configuration database...done. Setting defaults... MX: mail.domaine.dom (votre.ip.du.serveur) MX: mx01.1and1.fr (212.2.33.125) MX: mx01.1and1.fr (212.2.33.52) MX: mx01.1and1.fr (212.2.33.78) MX: mx01.1and1.fr (212.2.33.77) MX: mx00.1and1.fr (212.2.33.5) MX: mx00.1and1.fr (212.2.33.77) MX: mx00.1and1.fr (212.2.33.574) MX: mx00.1and1.fr (212.2.33.111) done. Checking for port conflicts
Une fois l'installation déroulée, une première configuration en mode console est nécessaire. Il faut définir le mot de passe d'administration. Appuyer sur la touche [3], un sous menu va apparaître.
Main menu 1) Common Configuration: 2) zimbra-ldap: Enabled 3) zimbra-store: Enabled +Create Admin User: yes +Admin user to create: admin@domaine.com +Admin Password UNSET +Enable automated spam training: yes +Spam training user: spam.hrmabpvwwp@domaine.com +Non-spam(Ham) training user: ham.3psk_dcg@domaine.com +Global Documents Account: wiki@domaine.com +SMTP host: domaine.com +Web server HTTP port: 80 +Web server HTTPS port: 443 +Web server mode: http +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://domaine.com:7780/aspell.php +Configure for use with mail proxy: FALSE +Configure for use with web proxy: FALSE +Enable version update checks: TRUE +Enable version update notifications: TRUE +Version update notification email: admin@domaine.com +Version update source email: admin@domaine.com 4) zimbra-mta: Enabled 5) zimbra-snmp: Enabled 6) zimbra-logger: Enabled 7) zimbra-spell: Enabled Default Class of Service Configuration: r) Start servers after configuration yes s) Save config to file x) Expand menu q) Quit Address unconfigured (**) items (? - help) 3 Presser la touche [4] Admin Password 1) Status: Enabled 2) Create Admin User: yes 3) Admin user to create: admin@domaine.com 4) Admin Password UNSET 5) Enable automated spam training: yes 6) Spam training user: spam.hrmabpvwwp@domaine.com 7) Non-spam(Ham) training user: ham.3psk_dcg@domaine.com 8) Global Documents Account: wiki@domaine.com 9) SMTP host: domaine.com 10) Web server HTTP port: 80 11) Web server HTTPS port: 443 12) Web server mode: http 13) IMAP server port: 143 14) IMAP server SSL port: 993 15) POP server port: 110 16) POP server SSL port: 995 17) Use spell check server: yes 18) Spell server URL: http://domaine.com:7780/aspell.php 19) Configure for use with mail proxy: FALSE 20) Configure for use with web proxy: FALSE 21) Enable version update checks: TRUE 22) Enable version update notifications: TRUE 23) Version update notification email: admin@domaine.com 24) Version update source email: admin@domaine.com Select, or 'r' for previous menu [r] 4 Saisir le mot de passe et appuyer sur [Entrée] pour valider Password for admin@domaine.dom (min 6 characters): [MNVGHOwaHK8] motdepasse Revenir au menu précédent en appuyant sur [r] Select, or 'r' for previous menu [r] r
Pour valider la configuration et finir l'installation, appuyer sur [a] puis taper [yes] deux fois
*** CONFIGURATION COMPLETE - press 'a' to apply Select from menu, or press 'a' to apply config (? - help) a Save configuration data to a file? [Yes] Yes Save config in file: [/opt/zimbra/config.24175] Saving config in /opt/zimbra/config.24175...done. The system will be modified - continue? [No] yes
La configuration se déroule et saisir [yes] pour recevoir une notification d'installation.
Operations logged to /tmp/zmsetup.02042010-120719.log Setting local config values...done. Setting up CA...done. Deploying CA to /opt/zimbra/conf/ca ...done. Creating SSL certificate...done. Installing mailboxd SSL certificates...done. Initializing ldap...done. Setting replication password...done. Setting Postfix password...done. Setting amavis password...done. Setting nginx password...done.Creating server entry for domaine.com...done. Saving CA in ldap ...done.Saving SSL Certificate in ldap ...done. Setting spell check URL...done.Setting service ports on domaine.com...done. Adding domaine.com to zimbraMailHostPool in default COS...done.Installing webclient skins... bare...done. lemongrass...done. hotrod...done. steel...done. bones...done. yahoo...done. smoke...done. lavender...done. zmail...done. beach...done. goldrush...done. sand...done. waves...done. sky...done. Finished installing webclient skins. Setting zimbraFeatureIMEnabled=FALSE...done. Setting zimbraFeatureTasksEnabled=TRUE...done. Setting zimbraFeatureBriefcasesEnabled=TRUE...done. Setting zimbraFeatureNotebookEnabled=TRUE...done. Setting MTA auth host...done. Setting TimeZone Preference...done. Initializing mta config...done. Setting services on domaine.com...done. Creating domain domaine.com...done. Setting default domain name...done. Creating domain domaine.com...already exists. Creating admin account admin@domaine.com...done. Creating root alias...done. Creating postmaster alias...done. Creating user wiki@domaine.com...done. Creating user spam.hrmabpvwwp@domaine.com...done. Creating user ham.3psk_dcg@domaine.com...done. Setting spam training accounts...done. Initializing store sql database...done. Setting zimbraSmtpHostname for domaine.dom...done. Configuring SNMP...done. Checking for default IM conference room...not present. Initializing default IM conference room...done. Setting up syslog.conf...updateSyslog: Updating /etc/rsyslog.conf....done. done. You have the option of notifying Zimbra of your installation. This helps us to track the uptake of the Zimbra Collaboration Suite. The only information that will be transmitted is: The VERSION of zcs installed (6.0.5_GA_2038_DEBIAN5_32) The ADMIN EMAIL ADDRESS created (admin@domaine.com) Notify Zimbra of your installation? [Yes] Yes Presser [Entrée] pour finir. Notifying Zimbra of installation via http://www.zimbra.com/cgi-bin/notify.cgi?VER=6.0.5_GA_2038_DEBIAN5_32&MAIL=admin@domaine.com Notification completeStarting servers...done.Installing common zimlets... com_zimbra_cert_manager...done. com_zimbra_email...done. com_zimbra_ymemoticons...done. com_zimbra_url...done. com_zimbra_phone...done. com_zimbra_local...done. com_zimbra_bulkprovision...done. com_zimbra_date...done. com_zimbra_adminversioncheck...done. Finished installing common zimlets. Initializing Documents...done. Restarting mailboxd...done. Setting up zimbra crontab...done. Moving /tmp/zmsetup.02042010-120719.log to /opt/zimbra/logConfiguration complete - press return to exit
Ajout de Zimlets
Par défaut, Zimbra n'installe que quelques Zimlets de base. Pour en rajouter, tapez :
su - zimbracd zimlets-extra (ou zimlets-experimental)cshforeach i (*) zmzimletctl deploy $iend
Finalisation
Tout le reste se configure via l'interface d'administration, à https://hostname:7071/