Installation
You should download the CommuniGate Pro software either from the CommuniGate Systems Web site, or from any authorized mirror site. Make sure you have the latest version of the software, and that the downloaded version is designed to work on the selected platform.
Install the Server following the instructions below, and then proceed with Initial Configuration.
Installation
On all systems, the CommuniGate Pro uses 2 directories (folders):
- the application directory containing the Server application and supplementary files (as Web Interface page templates). Files in this folder are not modified when the system runs.
- the base directory containing Account data, Settings, Queued messages, Logs, and other Server data.
Installing on a Linux System
Log in as a super-user (root).
- Using the Red Hat Package Manager (the .rpm file):
rpm -i CGatePro-Linux-_version_.rpm
- Using the Debian Package Manager (the .deb file):
dpkg -i CGatePro-Linux__version_.deb
Though CommuniGate Pro has a minimal dependence on external libraries, for the sake of resolving the remaining ones it may be preferable to use the advanced package managers such as
yum
orapt
:yum install CGatePro-Linux-_version_.rpm
apt install CGatePro-Linux__version_.deb
The CommuniGate Pro software will be installed in the
/opt
directory.- Using the Red Hat Package Manager (the .rpm file):
The installer will create the
/etc/rc.d/init.d/CommuniGate
startup script. To make the CommuniGate Pro Server start and stop automatically when the system starts up and shuts down, the installer adds the startup file links to the/etc/rc.d/rc_n_.d
directories.If your system was running some standalone SMTP server/MTA (such as Postfix, Exim or sendmail), you need to stop and disable that server.
For example, you can use this command to disable sendmail (need to restart the server computer to take effect):
/sbin/chkconfig sendmail off
or these commands to stop and remove Postfix:
systemctl stop postfix yum remove postfix
If your system was running POP, IMAP, or poppwd servers, remove the lines describing those servers from the
/etc/inetd.conf
file (or put the hash#
symbol into the first position of those lines).The Installer renames the
/bin/mail
program into the/bin/LegacyMail
. If you decide to uninstall the CommuniGate Pro system, the legacy mail program will be renamed back to/bin/mail
.The Installer creates the new
/bin/mail
application - a drop-in substitution for the legacymail
program.The Installer creates the "base directory"
/var/CommuniGate
and the Server uses it by default. You can move the "base directory" to any other location. In this case, open the/etc/rc.d/init.d/CommuniGate
file and update it.Restart the system or launch the start-up script manually:
/etc/rc.d/init.d/CommuniGate start
Proceed with Initial Configuration.
Initial Configuration
When the CommuniGate Pro software is installed:
Restart the OS or start the CommuniGate Pro Server manually.
Within 10 minutes, connect to the WebAdmin Interface with any Web browser, using the port number 8010. Type the following URL in your browser:
http://_your.server.domain_:8010
where your.server.domain is the domain name or the IP address of the computer running the CommuniGate Pro Server.
Read the License Agreement, enter the preferred password for the
postmaster
Account, and click the Accept button.You will be redirected to the QuickStart page. Use the
postmaster
name and the selected password to open the page.Proceed using the Quick Start instructions.
If you failed to enter a new postmaster password within 10 minutes, the Server will be shut down. When you are ready to enter the password, repeat the steps listed above.
The Migration section can help you to schedule your CommuniGate Pro deployment process.
Upgrading to a Newer Version
When you upgrade to a new version, the files in the application directory are substituted with the new files.
The base directory and all its files are not modified when you upgrade the CommuniGate Pro Server software, so all Accounts, Mailboxes, messages, settings, File Storage files, Licenses, customized Web Skin, and Real-Time Application files stay in place and continue to work with the new version of the CommuniGate Pro software.
Note
If you chose to manually modify Web Skin or Real-Time Application files right in the application directory, then you should save them before upgrading.
To upgrade:
- Download the new version of the CommuniGate Pro Software.
- Stop the CommuniGate Pro Server.
- Remove the previous version of the software using the same installation utility you used to install the software (the base directory will not be removed). This step is needed if the OS installer does not allow you to install a new version "on top" of the old one.
- Install the new version of the CommuniGate Pro Software.
- Start the CommuniGate Pro Server.
Moving to a New Hardware Server
You may want to move your CommuniGate Pro server to a different computer - running the same or a different OS. All your module settings, Account and Domain settings, Mailboxes, licenses, and other data can be preserved.
CommuniGate Pro keeps all its data in the base directory. This is the only directory you need to copy to your new server computer.
CommuniGate Pro uses the same file formats on all hardware and software (OS) platforms, so usually you can just pack the entire CommuniGate Pro base directory into an archive file (using tar
and gzip
on Unix systems, zip
on MS Windows systems), and unpack the archive on the new server computer.
Additional processing is needed when you move the CommuniGate Pro Server from a computer running any MS Windows operating system to a computer running any flavor of Unix, or vice versa. CommuniGate Pro files are text files, and text files on MS Windows and Unix have different EOL (end of line) symbols: CR-LF (return - linefeed) on MS Windows and bare LF (linefeed) symbol on Unix systems. To copy files properly, you may want to use any FTP software to copy files between those systems: when an FTP client is instructed to transfer files in the ASCII mode, it properly converts EOL symbols.
Note
CommuniGate Pro base directory can contain non-text (binary) files in the WebSkins
and PBXApps
directories inside the Account and Domains subdirectories - graphic, audio, and video files used in the custom Skin Interfaces and Real-Time Applications.
Account File Storage can also contain binary files. These files are stored in the account.web
directories inside the Account directories.
The mailbox files with .mb4
and .emb4
extensions are binary and must not be converted.
When you move a CommuniGate Pro base directory between systems using different EOL conventions, check that those binary files are copied in the BINARY mode (i.e. without EOL re-coding).
If the new server computer is running a Unix system, check that the copied directory and all its files and subdirectories have the same access rights as they had on the old system.
After the CommuniGate Pro base directory is copied, download and install the proper version of the CommuniGate Pro Server on the new server computer. There is no need to copy the content of application directory from the old server computer, even if both new and old computers are running the same operating system.
Check that the newly installed copy of the CommuniGate Pro Server (its startup script, if any) is configured to use the copied base directory, and then start the CommuniGate Pro Server on the new computer. Use the WebAdmin Interface to modify the computer-related settings on the new server. For example, you may need to update the Client IP Addresses table or re-assign IP addresses to CommuniGate Pro Domains.