The following assumes that you are installing Zimbra on Centos 5. But since Centos is pretty ceneric you should be fine on other distros
Pre-installation
When installing Centos (and any other Distro) make sure you have atleast the following installed
Editors
Text base Internet
Development Libraries
Development Tools
Administration Tools
Base
System Tools
NB You will also need access to a DNS server that can resolve mail.<yourdomain>.com to your Zimbra server. Without this your installation will fail.
Installing Zimbra
In a shell terminal type the following at the prompt
yum update
Wait till completed and reboot the server
Once rebooted, type the following in a shell to remove sendmail
yum remove sendmail
Now install the following one at a time
openssl097a
compat-libstdc++-296
compat-libstdc++-33
compat-db
sysstat
postfix
Open up a terminal from the icon on the desktop and edit the /etc/sudoers file with vim and comment out (put a “#” in front) “defaults requiretty”
Use “wq!” to save and close the file
Edit the /etc/sysconfig/i18n file and delete the line LANG=”en_US.UTF-8”
Edit the /etc/hosts file and make sure that it includes the following line:
mail..com mail
replacing with your domain name
reboot the server
install fetchmail from The “Add/Remove Software”, or from the command prompt by typing in the following:
yum install fetchmail
Open up the “setup” utility by typing the following at the command prompt:
setup
At the above use the arrow to navigate to “system services” and tab to “Run Tool”. Use the arrow key and space bar to deselect the following:
Bluetooth
Cups
Exim
Postfix
Exit by tabbing to “OK” and then to “Quit”
If you had to use another IP address and network now is the tme to change the settings to the way they should be. You can do this by going to “System” then “Administration” and “Network” on the tool bar at the top of the desktop. Double check your default gateway, DNS settings and your /etc/hosts file.
Once you have checked the above reboot the server
From the command prompt edit the /ect/inittab file using vim and change the default runlevel to 3 by editing the following line and changing the 5 to a 3.
id:5:initdefault:
Once you have double checked the above – reboot the server. It will now reboot to the command prompt.
Log in
Test your DNS setting by pinging mail..com with the following command at the prompt, you should get a reply from the ip address of the server.
ping mail..com
Change directory to the /zimbra folder and unzip the zimbra installation files
cd /zimbra
Check to the content of the folder with the “ls” command and the unzip the file with the following command:
tar -vzxf
You will then see the files being unzipped:
Once unzipped. Change directory to the folder it has created. You can see the name by typing “ls” at the prompt. Change directory by typing “cd” followed by the folder name.
Once in the folder type the following at the command prompt:
./install.sh –platform-override
type “y” to install all the components. (you will only say no to the ones like proxy and Zimbra-memcached which are (n) by default.
Read the questions asked. You will be required to confirm that you want to install and modify files. Type “y” to proceed.
The installation will stop at a menu which requires you to set the admin password.
At the menu type “3” and press enter. Press “4” and enter. You will now be asked to type in a password for admin@mail..com – type in new password or write down default in square brackets [] . press enter.
Type “r” for main menu. Type “a” to apply, and say “yes” to the other questions about whether you want to save etc.
You can leave the file name default by just pressing the “enter” key.
At this point the installation should continue, bringing you back to the command prompt without errors. Check if installation completed without errors by reading the screen.
If the installation installs without errors, reboot the server.