Difference between revisions of "Zimbra Setups"
Jump to navigation
Jump to search
Line 48: | Line 48: | ||
cd /root/zimbra/zcs-8.8.10_GA_3039.RHEL7_64.20180928094617 | cd /root/zimbra/zcs-8.8.10_GA_3039.RHEL7_64.20180928094617 | ||
zcs-8.8.10_GA_3039.RHEL7_64.20180928094617]# ./install.sh -u | zcs-8.8.10_GA_3039.RHEL7_64.20180928094617]# ./install.sh -u | ||
+ | ==Move from Old to New Server== | ||
+ | # On Old Server | ||
+ | tar -czvf zimbkp29Aug2021-17-39.tar.gz /opt/zimbra/ | ||
+ | # On New Server | ||
+ | # Install Same version of ZCS | ||
+ | rsync -avH [email protected]:/home/rhouser/*.t*z --progress --human-readable /home/rhouser | ||
+ | tar -xzvf zimbkp29Aug2021-17-39.tar.gz | ||
+ | mv /opt/zimbra /home | ||
+ | mv opt/zimbra /opt |
Revision as of 18:37, 29 August 2021
adduser rhouser
passwd rhouser
yum update -y ; reboot
yum -y install which openssh openssh-server openssh-clients openssl-libs nano rsync unzip net-tools NetworkManager-tui sysstat perl-core libaio nmap-ncat libstdc++.so.6 wget tar bind-utils -y
yum install psmisc
#Install and configure firewall-cmd
hostnamectl set-hostname "mail.rhomicom.com"
exec bash
# nano /etc/hosts
# 192.168.0.108 mail.rhomicom.com mail
echo 'mail.rhomicom.com' > /etc/hostname
echo '127.0.0.1 mail.rhomicom.com mail' >> /etc/hosts
hostname mail.rhomicom.com
hostname --fqdn
# Do all DNS settings and MX records on Domain Registrar's DNS
dig -t A mail.rhomicom.com
dig -t MX rhomicom.com
#Install Let'sencrypt CentOS7
yum install epel-release
yum install certbot
wget https://files.zimbra.com/downloads/8.8.10_GA/zcs-8.8.10_GA_3039.RHEL7_64.20180928094617.tgz --no-check-certificate
tar zxpvf zcs-8.8.10_GA_3039.RHEL7_64.20180928094617.tgz
cd zcs-8.8.10_GA_3039.RHEL7_64.20180928094617
./install.sh
#Answer Y to all options
# Answer Yes to Create Domain
# enter domain rhomicom.com
# enter MX mail.rhomicom.com
# Unconfigured Modules, Choose 7
# Choose 4 to set admin password
# choose r to go back
# choose a to apply all settings
# Wait for system to complete configuration and login
su - zimbra -c "zmcontrol start"
su - zimbra -c "zmcontrol stop"
su - zimbra -c "zmcontrol status"
su - zimbra -c "zmcontrol restart"
Uninstall
cd /root/zimbra/zcs-8.8.10_GA_3039.RHEL7_64.20180928094617 zcs-8.8.10_GA_3039.RHEL7_64.20180928094617]# ./install.sh -u
Move from Old to New Server
# On Old Server tar -czvf zimbkp29Aug2021-17-39.tar.gz /opt/zimbra/ # On New Server # Install Same version of ZCS rsync -avH [email protected]:/home/rhouser/*.t*z --progress --human-readable /home/rhouser tar -xzvf zimbkp29Aug2021-17-39.tar.gz mv /opt/zimbra /home mv opt/zimbra /opt