miércoles, 8 de febrero de 2017

Instalación de Zimbra, CentOS

********************************

Domain     : dominio
Hostname   : mail
IP Address : 192.168.1.10
Gateway    : 192.168.1.1
********************************


## actualizar 

yum -y update 

## configuracion de Interface

vi /etc/sysconfig/network-scripts/ifcfg-eth0

DEVICE=eth0
ONBOOT=yes
NM_CONTROLLED=no
BOOTPROTO=none
IPADDR=192.168.1.10
NETMASK=255.255.255.0
DNS1=192.168.1.10
GATEWAY=192.168.1.1
DNS2=192.168.1.1
DNS3=8.8.8.8
USERCTL=no

## reinicar interface 

service network restart
chkconfig network on

## desactivar firewall 

setenforce 0
service iptables stop
service ip6tables stop
chkconfig iptables off
chkconfig ip6tables off


## editar hosts

vi /etc/hosts

127.0.0.1     localhost
192.168.1.10 mail.orion.cl mail


## editar resolv 


vi /etc/resolv.conf

search orion.cl
nameserver 192.168.1.10
nameserver 192.168.1.1
nameserver 8.8.8.8

## ingresar hostname

hostname mail.orion.cl

## editar network

vi /etc/sysconfig/network

NETWORKING=yes
HOSTNAME=mail.orion.cl

## desactivar servicio 

service sendmail stop
service postfix stop
chkconfig sendmail off
chkconfig postfix off

## instalar complementos 

yum -y install perl perl-core wget screen w3m elinks openssh-clients openssh-server bind bind-utils unzip nmap sed nc sysstat libaio rsync telnet aspell

## editar named

vi /etc/named.conf

listen-on port 53 { 127.0.0.1; any; };
allow-query     { localhost; any; };

zone "orion.cl" IN {
type master;
file "db.orion.cl";
allow-update { none; };
}; 


## crear named 

touch /var/named/db.orion.cl
chgrp named /var/named/db.orion.cl
vi /var/named/db.orion.cl

$TTL 1D
@       IN SOA  ns1.orion.cl. root.orion.cl. (
                                        0       ; serial
                                        1D      ; refresh
                                        1H      ; retry
                                        1W      ; expire
                                        3H )    ; minimum
@       IN      NS      ns1.orion.cl.
@       IN      MX      0 mail.orion.cl.
ns1     IN      A       192.168.1.10
mail    IN      A       192.168.1.10


## reiniciar servicio DNS

service named restart
chkconfig named on


nslookup mail.orion.cl
dig orion.cl mx

##informacion que debe de aparecer 

nslookup mail.orion.cl
Server:         192.168.1.10
Address:        192.168.1.10#53
Name: mail.orion.cl
Address: 192.168.1.10



##################################################################################

## instalar zimbra

cd /opt/
wget -c https://files.zimbra.com/downloads/8.6.0_GA/zcs-8.6.0_GA_1153.RHEL6_64.20141215151155.tgz


## descomprimir  y iniciar instalacion 

tar -zxvf zcs-8.6.0_GA_1153.RHEL6_64.20141215151155.tgz
cd zcs-8.6.0_GA_1153.RHEL6_64.20141215151155
sh install.sh

#### proceso de instalacion 

Do you agree with the terms of the software license agreement? [N] Y

Install zimbra-ldap [Y] Y
Install zimbra-logger [Y] Y
Install zimbra-mta [Y] Y
Install zimbra-dnscache [Y] N
Install zimbra-snmp [Y] Y
Install zimbra-store [Y] Y
Install zimbra-apache [Y] Y
Install zimbra-spell [Y] Y
Install zimbra-memcached [Y] Y
Install zimbra-proxy [Y] Y

DNS ERROR resolving MX for mail.orion.cl
It is suggested that the domain name have an MX record configured in DNS
Change domain name? [Yes] Yes
Create domain: [mail.orion.cl] orion.cl


1) Common Configuration:                                                  
   2) zimbra-ldap:                             Enabled                       
   3) zimbra-logger:                           Enabled                       
   4) zimbra-mta:                              Enabled                       
   5) zimbra-snmp:                             Enabled                       
   6) zimbra-store:                            Enabled                       
        +Create Admin User:                    yes                           
        +Admin user to create:                 admin@orion.cl            
******* +Admin Password                        UNSET                         
        +Anti-virus quarantine user:           virus-quarantine.dgnsq8ewc@orion.cl
......
......
Address unconfigured (**) items  (? - help) 6
Store configuration

   1) Status:                                  Enabled                       
   2) Create Admin User:                       yes                           
   3) Admin user to create:                    admin@orion.cl            
** 4) Admin Password                           UNSET                         
   5) Anti-virus quarantine user:              virus-quarantine.dgnsq8ewc@orion.cl
......
......
Select, or 'r' for previous menu [r] 4

Password for admin@orion.cl (min 6 characters): [s8eNUeOms] Verys3cr3t


*** 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.24648] 
Saving config in /opt/zimbra/config.24648...done.

The system will be modified - continue? [No] Yes
Operations logged to /tmp/zmsetup10052014-214606.log



###ingresar a web  usuario

https://192.168.1.10   


###ingresar administrador 

https://192.168.1.10:7071 





No hay comentarios:

Publicar un comentario