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:

  1. Tarball + Tarball

  2. RPM + Tarball

  3. DEB + Tarball

Any other combination should not be used in parallel.

 

 

Instructions on how to complete a procedure

To install two instances of Zend Server Community Edition on your machine:

  1. For the first installation, use only a Tarball package and install to a non-default location (i.e., anything other than /usr/local/).
  2. 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.
  3. Change the original SSL connection: SERVER["socket"] == ":10082"
  4. Change the original non-secure connection:server.port= 10081
  5. The Java Bridge ports are found in <install_path>/etc/watchdog-jb.ini.
    Change the port settings: Dzend.javamw.port=10001
  6. Restart the Zend Server Community Edition Daemon by running <install_path>/bin/zendctl.sh restart.
  7. 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.

 

 

Related Links

Related Links:

Tarball Installation

DEB Installation

RPM Installation