Parallel Installations
Parallel installations refer to installing and
running two instances of Zend Server Community Edition
on the same machine. A typical requirement for this type of installation
is an environment that services two different sites on the same machine
and requires different configurations.
The package combinations that can be installed
in parallel are as follows:
Tarball
+ Tarball
RPM + Tarball
DEB + Tarball
Any other combination should not be used in parallel.
|
|

|
To install two instances of Zend Server Community Edition on your machine:
- For the first installation, use only a Tarball package
and install to a non-default location (i.e., anything other
than /usr/local/).
- Change the Lighttpd and Java Bridge port settings to different
available ports( i.e., any other free ports you have).
To view a list of ports that are currently in use, run netstat
-plnt.
The lighttpd ports are found in /gui/lighttpd/etc/lighttpd.conf.
- Change the original SSL connection: SERVER["socket"]
== ":10082"
- Change the original non-secure connection:server.port=
10081
- The Java Bridge ports are found in <install_path>/etc/watchdog-jb.ini.
Change the port settings: Dzend.javamw.port=10001
- Restart the Zend Server Community Edition
Daemon by running <install_path>/bin/zendctl.sh restart.
- The second installation should follow the regular installation
process. If you are going to use a combination of RPM + Tarball
or DEB + Tarball, make sure to install the RPM or DEB first
because those packages can only be installed in the default
location.
|
You
are now able to access two different instances of Zend Server Community Edition. To view the different
Administration Interfaces, call the new port number in your browser.
|
Notes:
There is no need to change the Web server (Apache for
Linux), as the Tarball's Apache listens to port 10088 and the DEB/RPM
Apache listens to port 80.