Differences

This shows you the differences between two versions of the page.

Link to this comparison view

sesipod:linux:centos:zimbranew [2018/01/20 04:45] (current)
Line 1: Line 1:
 +  In this case:
 +  Server ip: 192.168.1.10
 +  DNS: 192.168.1.1
 +  mx: email.gamingtogether.us
  
 +---
 +
 +nano /​etc/​sysconfig/​network-scripts/​ifcfg-ens32
 +
 +  DEVICE=ens32
 +  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
 +  USERCTL=no
 +
 +** RESTART NETWORK **
 +
 +  service network restart
 +  chkconfig network on
 +
 +----
 +
 +Edit /​etc/​sysconfig/​selinux ​
 +
 +Change: SELINUX=enforcing to SELINUX=disabled
 +
 +----
 +
 +disable the following ​
 +
 +  setenforce 0
 +  service firewalld stop
 +  service iptables stop
 +  service ip6tables stop
 +  systemctl disable firewalld
 +  systemctl disable iptables
 +  systemctl disable ip6tables
 +
 +----
 +
 +open the following file /etc/hosts
 +
 +nano /etc/hosts
 +
 +add in the following ​
 +
 +  127.0.0.1 ​    ​localhost
 +  192.168.1.10 email.gamingtogether.us mail
 +
 +----
 +
 +open the following file /​etc/​resolv.conf
 +
 +nano /​etc/​resolv.conf
 +
 +add in the following ​
 +
 +  search gamingtogether.us
 +  nameserver 192.168.1.10
 +  nameserver 192.168.1.1
 +  nameserver 8.8.8.8
 +
 +----
 +
 +  hostname email.gamingtogether.us
 +  echo "​HOSTNAME=email.gamingtogether.us"​ >> /​etc/​sysconfig/​network
 +
 +----
 +
 +Disable the following
 +
 +  service sendmail stop
 +  service postfix stop
 +  systemctl disable sendmail
 +  systemctl disable postfix
 +
 +----
 +
 +  yum update
 +  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
 +
 +----
 +
 +open the following file /​etc/​named.conf
 +
 +nano /​etc/​named.conf
 +
 +add ( any; ) to the following lines.
 +
 +  listen-on port 53 { 127.0.0.1; };
 +  allow-query ​    { localhost; };
 +
 +should look like this when done 
 +
 +  listen-on port 53 { 127.0.0.1; any; };
 +  allow-query ​    { localhost; any; };
 +
 +then add the following to the bottom of the page.
 +
 +  zone "​gamingtogether.us"​ IN {
 +  type master;
 +  file "​db.gamingtogether.us";​
 +  allow-update { none; };
 +  };
 +
 +----
 +
 +Create databases ​
 +
 +  touch /​var/​named/​db.gamingtogether.us
 +  chgrp named /​var/​named/​db.gamingtogether.us
 +  nano /​var/​named/​db.gamingtogether.us
 +
 +add the following text. 
 +
 +  $TTL 1D
 +  @       IN SOA  ns1.gamingtogether.us. root.gamingtogether.us. (
 +                                          0       ; serial
 +                                          1D      ; refresh
 +                                          1H      ; retry
 +                                          1W      ; expire
 +                                          3H )    ; minimum
 +  @       ​IN ​     NS      ns1.gamingtogether.us.
 +  @       ​IN ​     MX      0 email.gamingtogether.us.
 +  ns1     ​IN ​     A       ​192.168.1.10
 +  email    IN      A       ​192.168.1.10
 +
 +----
 +
 +  service named restart
 +  systemctl enable named
 +  ​
 +  nslookup email.gamingtogether.us
 +  dig gamingtogether.us mx
 +
 +you should get back 
 +
 +  #nslookup email.gamingtogether.us
 +  Server: ​        ​192.168.1.10
 +  Address: ​       192.168.1.10#​53
 +  Name: mail.imanudin.net
 +  Address: 192.168.1.10
 +
 +----
 +
 +/ / \ \
 +
 +INSTALL TIME 
 +
 +if you are running in vm make a SNAPSHOT now!
 +
 +/ / \ \
 +
 +----
 +
 +Download links.
 +
 +  8.7.1 GA Release
 +  ​
 +  https://​files.zimbra.com/​downloads/​8.7.1_GA/​zcs-8.7.1_GA_1670.RHEL7_64.20161025045328.tgz
 +
 +  8.5.0 GA Release
 +  ​
 +  http://​files2.zimbra.com/​downloads/​8.5.0_GA/​zcs-8.5.0_GA_3042.RHEL7_64.20140828204420.tgz
 +
 +----
 +I'm going with 8.5.0
 +
 +  cd /opt/
 +  ​
 +  wget -c http://​files2.zimbra.com/​downloads/​8.5.0_GA/​zcs-8.5.0_GA_3042.RHEL7_64.20140828204420.tgz
 +  tar -zxvf zcs-8.5.0_GA_3042.RHEL7_64.20140828204420.tgz
 +  cd zcs-8.5.0_GA_3042.RHEL7_64.20140828204420
 +  sh install.sh
 +
 +Press Y through all of the promos
 +
 +** DO NOT INSTALL ** zimbra-dnscache [Y] **N**
 +
 +**if you get the following message**
 +  ​
 +  DNS ERROR resolving MX for mail.imanudin.net
 +  It is suggested that the domain name have an MX record configured in DNS
 +  Change domain name? [Yes] Yes
 +  Create domain: [mail.gamingtogether.us] gamingtogether.us
 +
 +**if you don't change your domain name, your domain name will become mail.gamingtogether.us and the email address will be ' example@mail.gamingtogether.us. So change this just to gamingtogether.us.**
 +
 +Press 6 and change the password of the admin account and then 4 and make a password.