Changing Zimbra IP

1. Set the new IP address in:
* The relevant DNS entries
* /etc/network/interfaces
* /etc/hosts
# ifdown eth0 && ifup eth0
2. Make sure zimbraMtaMyNetworks contain your subnet
# vi /opt/zimbra/config.27024
zimbraMtaMyNetworks=”127.0.0.0/8 10.0.0.0/24 [::1]/128 [fe80::]/64″
3. Restart network service
RedHat:
# /etc/init.d/zimbra stop
# /etc/init.d/networking restart
# /etc/init.d/zimbra start
Ubuntu:
# /etc/init.d/zimbra stop
# ifdown eth0 && ifup eth0
# /etc/init.d/zimbra start
4. Check zimbra status
# sudo su – zimbra
zimbra@zimbra:~$ zmcontrol status
Host zimbra.poc.com
amavis                  Running
antispam                Running
antivirus               Running
ldap                    Running
logger                  Running
mailbox                 Running
memcached               Running
mta                     Running
opendkim                Running
proxy                   Running
service webapp          Running
snmp                    Running
spell                   Running
stats                   Running
zimbra webapp           Running
zimbraAdmin webapp      Running
zimlet webapp           Running
zmconfigd               Running
5. Login to Web Admin

Zimbra Installation on ESXi

REQUIREMENT

-Download zimbra from
-install Linux with “Thick provisioned Eager Zeroed format” hard disk
1. Update your system
RedHat:
# yum update -y
Ubuntu:
# apt-get update && apt-get upgrade && apt-get dist-upgrade
2. Install prerequisite packages for zimbra
RedHat:
# yum install -y gmp glibc libidn libtool-ltdl make nano nc ntp perl sudo sysstat wget
Ubuntu:
# apt-get install libgmp10 libperl5.18 libaio1 pax sqlite3 sysstat unzip
3. Modify /etc/hosts file and add zimbra server in dns A/PTR record
10.0.0.170      zimbra.poc.com  zimbra
# vi /etc/resolvconf/resolv.conf.d/base
nameserver 10.0.0.2
# resolvconf -u
4. Disable start-up services if any
RedHat:
# service postfix stop && chkconfig postfix off
# service sendmail stop && chkconfig sendmail off
Ubuntu:
# service postfix stop && update-rc.d -f postfix remove
# service sendmail stop && update-rc.d -f sendmail remove
5. Modify /etc/sudoers (if needed)
comment out * Defaults     requiretty * line
6. Disable or adjust your firewall
# ufw disable
7. Disable selinux (if needed)
For Redhat, CentOS and Fedora linux system:
#cat /etc/selinux/config
SELINUX=disabled
SELINUXTYPE=targeted
For Ubuntu Server, it use apparmor
# update-rc.d -f apparmor remove
#reboot
8. Permit root login (not recommended)
# vi /etc/ssh/sshd_config
Modify this section
#PermitRootLogin without-password
PermitRootLogin yes
# service ssh restart
9. Alllow only certain admin to sudo
Add admin user member into /etc/group
10. Run zimbra installer
# tar -xzvf zcs-8.5.1_GA_3056.UBUNTU14_64.20141103151510.tgz
# cd zcs-8.5.1_GA_3056.UBUNTU14_64.20141103151510
# ./install.sh
Operations logged to /tmp/install.log.16667
Checking for existing installation…
zimbra-ldap…NOT FOUND
zimbra-logger…NOT FOUND
zimbra-mta…NOT FOUND
zimbra-dnscache…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 FOUND
PLEASE 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, OR USING THE PRODUCT, YOU ARE CONSENTING TO BE BOUND BY
THIS AGREEMENT. IF YOU DO NOT AGREE TO ALL OF THE TERMS OF THIS
AGREEMENT, THEN DO NOT DOWNLOAD, INSTALL OR USE THE PRODUCT.
Do you agree with the terms of the software license agreement? [N] y
Checking for prerequisites…
FOUND: NPTL
FOUND: netcat-openbsd-1.105-7ubuntu1
FOUND: sudo-1.8.9p5-1ubuntu1
FOUND: libidn11-1.28-1ubuntu2
FOUND: libpcre3-1:8.31-2ubuntu2
FOUND: libgmp10-2:5.1.3+dfsg-1ubuntu1
FOUND: libexpat1-2.1.0-4ubuntu1
FOUND: libstdc++6-4.8.2-19ubuntu1
FOUND: libperl5.18-5.18.2-2ubuntu1
FOUND: libaio1-0.3.109-4
FOUND: resolvconf-1.69ubuntu1.1
FOUND: unzip-6.0-9ubuntu1.2
Checking for suggested prerequisites…
FOUND: pax
FOUND: perl-5.18.2
FOUND: sysstat
FOUND: sqlite3
Prerequisite check complete.
Checking for installable packages
Found zimbra-core
Found zimbra-ldap
Found zimbra-logger
Found zimbra-mta
Found zimbra-dnscache
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]
Install zimbra-logger [Y]
Install zimbra-mta [Y]
Install zimbra-dnscache [Y]
Install zimbra-snmp [Y]
Install zimbra-store [Y]
Install zimbra-apache [Y]
Install zimbra-spell [Y]
Install zimbra-memcached [Y]
Install zimbra-proxy [Y]
Checking required space for zimbra-core
Checking space for zimbra-store
Checking required packages for zimbra-store
zimbra-store package check complete.
Installing:
zimbra-core
zimbra-ldap
zimbra-logger
zimbra-mta
zimbra-dnscache
zimbra-snmp
zimbra-store
zimbra-apache
zimbra-spell
zimbra-memcached
zimbra-proxy
The system will be modified.  Continue? [N] y
Checking for port conflicts
Main menu
   1) Common Configuration:
   2) zimbra-ldap:                             Enabled
   3) zimbra-logger:                           Enabled
   4) zimbra-mta:                              Enabled
   5) zimbra-dnscache:                         Enabled
   6) zimbra-snmp:                             Enabled
   7) zimbra-store:                            Enabled
        +Create Admin User:                    yes
        +Admin user to create:                 admin@poc.com
******* +Admin Password                        UNSET
        +Anti-virus quarantine user:           virus-quarantine.30kebn4c@poc.com
        +Enable automated spam training:       yes
        +Spam training user:                   spam.ajdvo4efj5@poc.com
        +Non-spam(Ham) training user:          ham.0nnbwtgqmg@poc.com
        +SMTP host:                            zimbra.poc.com
        +Web server HTTP port:                 8080
        +Web server HTTPS port:                8443
        +Web server mode:                      https
        +IMAP server port:                     7143
        +IMAP server SSL port:                 7993
        +POP server port:                      7110
        +POP server SSL port:                  7995
        +Use spell check server:               yes
        +Spell server URL:                     http://zimbra.poc.com:7780/aspell.php
        +Enable version update checks:         TRUE
        +Enable version update notifications:  TRUE
        +Version update notification email:    admin@poc.com
        +Version update source email:          admin@poc.com
        +Install mailstore (service webapp):   yes
        +Install UI (zimbra,zimbraAdmin webapps): yes
   8) zimbra-spell:                            Enabled
   9) zimbra-proxy:                            Enabled
  10) Default Class of Service Configuration:
   s) Save config to file
   x) Expand menu
   q) Quit
Address unconfigured (**) items  (? – help) 1
Common configuration
   1) Hostname:                                zimbra.poc.com
   2) Ldap master host:                        zimbra.poc.com
   3) Ldap port:                               389
   4) Ldap Admin password:                     set
   5) Secure interprocess communications:      yes
   6) TimeZone:                                America/Los_Angeles
   7) IP Mode:                                 ipv4
   8) Default SSL digest:                      sha256
Select, or ‘r’ for previous menu [r] 6
1 Africa/Algiers
2 Africa/Cairo
3 Africa/Casablanca
4 Africa/Harare
5 Africa/Monrovia
6 Africa/Nairobi
7 Africa/Windhoek
8 America/Anchorage
9 America/Argentina/Buenos_Aires
10 America/Asuncion
11 America/Bogota
12 America/Caracas
13 America/Cayenne
14 America/Chicago
15 America/Chihuahua
16 America/Cuiaba
17 America/Denver
18 America/Godthab
19 America/Guatemala
20 America/Guyana
21 America/Halifax
22 America/Indiana/Indianapolis
23 America/Los_Angeles
24 America/Mexico_City
25 America/Montevideo
26 America/New_York
27 America/Phoenix
28 America/Regina
29 America/Santiago
30 America/Sao_Paulo
31 America/St_Johns
32 America/Tijuana
33 Asia/Almaty
34 Asia/Amman
35 Asia/Baghdad
36 Asia/Baku
37 Asia/Bangkok
38 Asia/Beirut
39 Asia/Colombo
40 Asia/Damascus
41 Asia/Dhaka
42 Asia/Hong_Kong
43 Asia/Irkutsk
44 Asia/Jerusalem
45 Asia/Kabul
46 Asia/Karachi
47 Asia/Kathmandu
48 Asia/Kolkata
49 Asia/Krasnoyarsk
50 Asia/Kuala_Lumpur
51 Asia/Kuwait
52 Asia/Magadan
53 Asia/Muscat
54 Asia/Novosibirsk
55 Asia/Rangoon
56 Asia/Seoul
57 Asia/Taipei
58 Asia/Tashkent
59 Asia/Tbilisi
60 Asia/Tehran
61 Asia/Tokyo
62 Asia/Ulaanbaatar
63 Asia/Vladivostok
64 Asia/Yakutsk
65 Asia/Yekaterinburg
66 Asia/Yerevan
67 Atlantic/Azores
68 Atlantic/Cape_Verde
69 Atlantic/South_Georgia
70 Australia/Adelaide
71 Australia/Brisbane
72 Australia/Darwin
73 Australia/Hobart
74 Australia/Perth
75 Australia/Sydney
76 Etc/GMT+12
77 Europe/Athens
78 Europe/Belgrade
79 Europe/Berlin
80 Europe/Brussels
81 Europe/Helsinki
82 Europe/Istanbul
83 Europe/Kaliningrad
84 Europe/London
85 Europe/Minsk
86 Europe/Moscow
87 Europe/Warsaw
88 Indian/Mauritius
89 Pacific/Auckland
90 Pacific/Fiji
91 Pacific/Guadalcanal
92 Pacific/Guam
93 Pacific/Honolulu
94 Pacific/Midway
95 Pacific/Tongatapu
96 UTC
Enter the number for the local timezone: [23] 37
Select, or ‘r’ for previous menu [r]
Main menu
   1) Common Configuration:
   2) zimbra-ldap:                             Enabled
   3) zimbra-logger:                           Enabled
   4) zimbra-mta:                              Enabled
   5) zimbra-dnscache:                         Enabled
   6) zimbra-snmp:                             Enabled
   7) zimbra-store:                            Enabled
        +Create Admin User:                    yes
        +Admin user to create:                 admin@poc.com
******* +Admin Password                        UNSET
        +Anti-virus quarantine user:           virus-quarantine.30kebn4c@poc.com
        +Enable automated spam training:       yes
        +Spam training user:                   spam.ajdvo4efj5@poc.com
        +Non-spam(Ham) training user:          ham.0nnbwtgqmg@poc.com
        +SMTP host:                            zimbra.poc.com
        +Web server HTTP port:                 8080
        +Web server HTTPS port:                8443
        +Web server mode:                      https
        +IMAP server port:                     7143
        +IMAP server SSL port:                 7993
        +POP server port:                      7110
        +POP server SSL port:                  7995
        +Use spell check server:               yes
        +Spell server URL:                     http://zimbra.poc.com:7780/aspell.php
        +Enable version update checks:         TRUE
        +Enable version update notifications:  TRUE
        +Version update notification email:    admin@poc.com
        +Version update source email:          admin@poc.com
        +Install mailstore (service webapp):   yes
        +Install UI (zimbra,zimbraAdmin webapps): yes
   8) zimbra-spell:                            Enabled
   9) zimbra-proxy:                            Enabled
  10) Default Class of Service Configuration:
   s) Save config to file
   x) Expand menu
   q) Quit
Address unconfigured (**) items  (? – help) 5
DNS Cache configuration
   1) Status:                                  Enabled
   2) Master DNS IP address(es):               8.8.8.8 8.8.4.4
   3) Enable DNS lookups over TCP:             yes
   4) Enable DNS lookups over UDP:             yes
   5) Only allow TCP to communicate with Master DNS: no
Select, or ‘r’ for previous menu [r] 1
DNS Cache configuration
   1) Status:                                  Disabled
Select, or ‘r’ for previous menu [r]
Main menu
   1) Common Configuration:
   2) zimbra-ldap:                             Enabled
   3) zimbra-logger:                           Enabled
   4) zimbra-mta:                              Enabled
   5) zimbra-dnscache:                         Disabled
   6) zimbra-snmp:                             Enabled
   7) zimbra-store:                            Enabled
        +Create Admin User:                    yes
        +Admin user to create:                 admin@poc.com
******* +Admin Password                        UNSET
        +Anti-virus quarantine user:           virus-quarantine.30kebn4c@poc.com
        +Enable automated spam training:       yes
        +Spam training user:                   spam.ajdvo4efj5@poc.com
        +Non-spam(Ham) training user:          ham.0nnbwtgqmg@poc.com
        +SMTP host:                            zimbra.poc.com
        +Web server HTTP port:                 8080
        +Web server HTTPS port:                8443
        +Web server mode:                      https
        +IMAP server port:                     7143
        +IMAP server SSL port:                 7993
        +POP server port:                      7110
        +POP server SSL port:                  7995
        +Use spell check server:               yes
        +Spell server URL:                     http://zimbra.poc.com:7780/aspell.php
        +Enable version update checks:         TRUE
        +Enable version update notifications:  TRUE
        +Version update notification email:    admin@poc.com
        +Version update source email:          admin@poc.com
        +Install mailstore (service webapp):   yes
        +Install UI (zimbra,zimbraAdmin webapps): yes
   8) zimbra-spell:                            Enabled
   9) zimbra-proxy:                            Enabled
  10) Default Class of Service Configuration:
   s) Save config to file
   x) Expand menu
   q) Quit
Address unconfigured (**) items  (? – help) 7
Store configuration
1) Status:                                  Enabled
2) Create Admin User:                       yes
3) Admin user to create:                    admin@poc.com
** 4) Admin Password                           UNSET
5) Anti-virus quarantine user:              virus-quarantine.30kebn4c@poc.com
6) Enable automated spam training:          yes
7) Spam training user:                      spam.ajdvo4efj5@poc.com
8) Non-spam(Ham) training user:             ham.0nnbwtgqmg@poc.com
9) SMTP host:                               zimbra.poc.com
10) Web server HTTP port:                    8080
11) Web server HTTPS port:                   8443
12) Web server mode:                         https
13) IMAP server port:                        7143
14) IMAP server SSL port:                    7993
15) POP server port:                         7110
16) POP server SSL port:                     7995
17) Use spell check server:                  yes
18) Spell server URL:                        http://zimbra.poc.com:7780/aspell.php
19) Enable version update checks:            TRUE
20) Enable version update notifications:     TRUE
21) Version update notification email:       admin@poc.com
22) Version update source email:             admin@poc.com
23) Install mailstore (service webapp):      yes
24) Install UI (zimbra,zimbraAdmin webapps): yes
Select, or ‘r’ for previous menu [r] 4
Password for admin@poc.com (min 6 characters): [DCoFr2Jb] secret123
Select, or ‘r’ forb previous menu [r]
*** CONFIGURATION COMPLETE – press ‘a’ to apply
Select from menu, or press ‘a’ to apply config (? – help) a
Save configuration data to a file? [Yes]
Save config in file: [/opt/zimbra/config.27024]
Saving config in /opt/zimbra/config.27024…done.
The system will be modified – continue? [No] y
Operations logged to /tmp/zmsetup02082015-212744.log
Notify Zimbra of your installation? [Yes] no
Configuration complete – press return to exit
11. Check Zimbra Status
# sudo su – zimbra
zimbra@zimbra:~$ zmcontrol status
Host zimbra.poc.com
amavis                  Running
antispam                Running
antivirus               Running
ldap                    Running
logger                  Running
mailbox                 Running
memcached               Running
mta                     Running
opendkim                Running
proxy                   Running
service webapp          Running
snmp                    Running
spell                   Running
stats                   Running
zimbra webapp           Running
zimbraAdmin webapp      Running
zimlet webapp           Running
zmconfigd               Running
If services are not running, type zmcontrol start
12. Login to Web Admin
To list current open ports in ESXi
# esxcli network ip connection list

Set Office default paper size and font

For Microsoft Office Word 2007/2010/2013

* On Page Layout tab, click Size/More Paper Sizes option under Size to get the following dialogue, click on paper tab

Set your required paper size (A4 in this case) in there.
Then don’t forget to click on Default button on the left bottom corner, you will get a, as shown above. Select Yes. And you are done.
From now on, you’ll get default page size as A4, when you open MS Office word.

To change default font:
-press Ctrl+Shift+S
Style Name: Normal
click Modify
Change as needed
click New document based on this template

Cisco VXC 2112 connect to XenApp 6.5

DHCP:
Scope Options
3 Router 192.168.3.1
6 DNS Servers 192.168.3.61
15 DNS Domain Name poc.com
42 NTP Servers 192.168.3.61
161 FTP Server 10.10.50.112
162 FTP Path firmware$
184 FTP Username ftp
185 FTP Password P@$$w0r6
FTP:
WNOS.INI FILE
autoload=2
Timeserver=192.168.3.61
TimeZone=’GMT + 08:00′ ManualOverride=yes
SignOn=Yes
DomainList=”poc”
Seamless=yes
#PnliteServer=http://XenApp.poc.com/Citrix/PNAgent/Config.xml
FOLDER STRUCTURE
firmware
firmware\wnos
firmware\wnos\ini
XENAPP:
XML port: 8080
-XenApp Services Sites: PNAgent http://XenApp.poc.com/Citrix/PNAgent
XML port: 8080