Chetak project deployment
Appearance
Auto-generated from the uploaded PDF Chetak_project_deployment.pdf. This is an extracted-text rendering for searchability; see the original PDF for exact formatting, diagrams, tables, and images.
Chetak project
INSTALATION OF ZIMBRA 10 IN (WITHOUT INTERNET) OFFLINE MODE (LEH
LADAKH)
We installed there zimbra 10 on centos 7 OS
Prerequisite which I carry with me to client location
1. CENTOS 7 OS
2. ZIMBRA REPOS
3. CENTOS 7 REPOS
4. Zimbra 10 NE tar file
5. ZIMBRA LICENSE ACTIVATION KEY
First I transferred all above mention things in physical server
First mounted centos 7 iso
mount -o loop /root/CentOS-7-x86_64-DVD-2009.iso /mnt/
then
cd /var/repositories/ -----put zimbra repos inside this directory
then make zimbra and centos repos as mentioned
cd /etc/yum.repos.d/
make file-
vi centos7.repo
[Centos7]
name=Centos 7 Linux
gpgcheck=0
enabled=1
baseurl=file:///mnt/
make file-
vi zimbra.repo
[zimbra]
name=Zimbra RPM Repository
baseurl=file:///var/repositories/rpm/87
gpgcheck=0
enabled=1
[zimbra-10]
name=Zimbra New RPM Repository
baseurl=file:///var/repositories/rpm/1000
gpgcheck=0
enabled=1
[zimbra-10-ne]
name=Zimbra New network RPM Repository
baseurl=file:///var/repositories/rpm/1000-ne
gpgcheck=0
enabled=1
next step-
yum repolist
disable firewall
systemctl stop firewalld
systemctl disable firewalld
disable selinux
and postfix disable
systemctl stop postfix
systemctl disable postfix
setup local DNS same as mention below
set local dns
vi /etc/named.conf
listen-on port 53 { 127.0.0.1; 172.26.15.137; };
allow-query { localhost; 172.26.15.137; };
zone "14c.mail " {
type master;
file "/var/named/14c.mail.hosts";
};
vi /var/named/14c.mail.hosts
$ttl 38400
14c.mail. IN SOA fireandfury.14c.mail. root (
1432996394
10800
3600
604800
38400 )
14c.mail. IN NS fireandfury.14c.mail.
fireandfury.14c.mail. IN A 172.26.15.137
14c.mail. IN MX 0 fireandfury.14c.mail.
vi /etc/resolv.conf
nameserver 172.26.15.137
nameserver 127.0.0.1
do entry
vi /etc/hosts
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
172.26.15.137 fireandfury.14c.mail mail
Then install zimbra 10
Cd zcs-NETWORK-10.0.0_GA_4518.RHEL7_64.20230301065514
./install.sh
Created 172 user through script
example
vi commands.zmp
createAccount andy@domain.com password displayName 'Andy Anderson' givenName
Andy sn Anderson
createAccount betty@domain.com password displayName 'Betty Brown' givenName Betty
sn Brown
ex-
ca it14c@14c.mail support@123
chown zimbra:zimbra commands.zmp
Then send the contents of the file to zmprov.
As zimbra: run this command
zmprov -f commands.zmp
Note- steps to follow to download repos from internet
cat /etc/os-release
yum install python3-pip -y
rpm -qa | grep -i python3-pip
pip3 install awscli
mkdir /var/repositories
cd /var/repositories
aws s3 sync s3://repo.zimbra.com/rpm/87/rhel7 /var/repositories/rpm/87 --
no-sign-request --delete
aws s3 sync s3://repo.zimbra.com/rpm/1000/rhel7
/var/repositories/rpm/1000 --no-sign-request --delete
aws s3 sync s3://repo.zimbra.com/rpm/1000-ne/rhel7
/var/repositories/rpm/1000-ne --no-sign-request --delete