ID: 10

Installing Zoom Server (Linux)

Step-by-step to installing Zoom Server on RedHat Linux or CentOS

Zoom Server is certified to run on CentOS / Red Hat Linux for server (Please check the system requirements for exact OS version supported at the current time). The following instructions describe how to perform a basic install of Zoom on CentOS / RHEL. This guide assumes that CentOS / RHEL has already been installed.

Install Libraries

Library Yum Installation Command glib2.x86_64 yum install glib2.x86_64
yum install glib2.x86_64 libstdc++.x86_64
yum install libstdc++.x86_64 compat-libstdc++-33 yum install compat-libstdc++-33 libgomp yum install libgomp libasound.so.2 yum install libasound.so.2 libX11 yum install libX11 fontconfig yum install fontconfig.x86_64 libwmf.x86_64 yum install libwmf.x86_64 libXext.x86_64 yum install libXext.x86_64 libXt.x86_64 yum install libXt.x86_64 libICE.x86_64 yum install libICE.x86_64 ld-linux.so.2 yum install ld-linux.so.2 libSM.x86_64 yum install libSM.x86_64

You can also run the following command in your terminal:
yum install glib2.x86_64 libstdc++.x86_64 compat-libstdc++-33 libgomp libasound.so.2 libX11 fontconfig.x86_64 libwmf.x86_64 libXext.x86_64 libXt.x86_64 libICE.x86_64 ld-linux.so.2 libSM.x86_64

Create Service User

  1. Log into the RedHat Linux server running Zoom as root user.
  2. Type the following command to add a user called with a name you like, for instance “evolphin”:
    $ useradd -r -m evolphin

Setup Firewall Settings

Zoom must have the following ports open for normal operation:

In order to access the Zoom Server, the following ports have to be opened:

Port Required for Desktop Required for Web Client Required for Web Approval (Lightbox) Description
8880 Yes No No Zoom Server
8443 Yes No No Web Administration & API access
8873 Yes Yes Yes Preview Server
9443 Yes* No No *SSL/TLS Web Administration
8973 Yes* Yes* Yes *SSL/TLS Preview Server 
8983 No No No Zoom Curator Service
8984 No No No *SSL/TLS Zoom Curator Service
8874 No No No Zoom NonStop Server to Server Data Transfer
18880 No No No Zoom NonStop Server to Server Control Messages
7770 Yes No No Zoom Client Proxy to Adobe plugins

To test TCP port connectivity, you may find this article useful.

  1. Edit the IPTABLES by typing the following:
    $ nano /etc/sysconfig/iptables
  2. Append following code to open the ports for Zoom:
    $ nano /etc/sysconfig/iptables
  3. Add the following to the file:
    -A INPUT -m state --state NEW -m tcp -p tcp --dport 22 -j ACCEPT
    -A INPUT -m state --state NEW -m tcp -p tcp --dport 8443 -j ACCEPT
    -A INPUT -m state --state NEW -m tcp -p tcp --dport 8880 -j ACCEPT
    -A INPUT -m state --state NEW -m tcp -p tcp --dport 8873 -j ACCEPT
  4. On the keyboard, hit Ctrl+X to close document.
  5. To save document, hit Y and Enter on your keyboard.
  6. Restart the iptables service:
    $ service iptables restart

Moving Files

  1. Make sure you sudo or login into the evolphin zoom user account. Assuming the account is evolphin (could be evolphin or whatever Zoom service user you created in the previous step):
    $ sudo su - evolphin
  2. Copy the Linux server distribution, zoom*.tar.bz2 installation file to a preferred folder such as /home/evolphin on the Zoom Server. Rest of the instructions assume the installation folder is /home/evolphin/ , this is not required, you can use any preferred folder.
  3. Make sure you are NOT a root user at this point:
    $ whoami
    evolphin
  4. Extract the *.tar.bz2 into the /home/evolphin/ directory using a command such as:
    $ tar -jxvf zoom-server-linux64.tar.bz2
  5. The folder you extracted into, will now be the Zoom home directory, [zoomDirectory] .
  6. Ensure the ownership for the zoom folder is with the evolphin user:
    [root@rhel6 zoom]# ls -ald ./zoom
    drwxrwxr-x. 13 evolphin evolphin 4096 Dec 2 16:06 ./zoom
  7. Change the ownership for the zoom folder to evolphin user if you accidentally extracted as root:
    $ chown -R evolphin /home/evolphin/zoom

Setup Init Script

  1. Make a copy of the init.d scripts for Zoom and Preview Server from [zoomDirectory]/bin by typing the following command:
    $ cp /home/evolphin/zoom/bin/zoom_init.d.sh /etc/init.d/zoom
    $ cp /home/evolphin/zoom/bin/preview-server_init.d.sh /etc/init.d/preview-server
    • In Zoom 5.2 or greater if remote hot folder features are needed only then do this: $ cp /home/evolphin/zoom/bin/clientproxy_init.d.sh /etc/init.d/zmclientproxy
  2. Add to the zoom init.d file the ZOOM_HOME and ZOOM_USER variables to add the path to Zoom and the username to run the Zoom respectively.
    $ nano /etc/init.d/zoom
    #!/bin/sh
    # chkconfig: 35 - -
    # description: Start and stops zoom server.
    ### BEGIN INIT INFO
    # Provider: Revzoom
    # Required-Start: $network# Required-Stop:
    # Default-Start: 3 4 5
    # Default-Stop: All
    # Description: Zoom Server.
    ### END INIT INFO
    ZOOM_HOME="/home/evolphin/zoom"
    ZOOM_USER="evolphin"
    if [ -z "$ZOOM_HOME" ]; then echo "ERROR: cannot start Zoom."
    echo "Please set ZOOM_HOME to the installation directory using export ZOOM_HOME OR set it in zoom init.d script"
    ...
  3. In the top, change the chkconfig:
    Before:
    # chkconfig: 35 - -
    After:
    # chkconfig: 345 55 25
  4. On the keyboard, hit Ctrl+X to close document.
  5. Add to the preview-server init.d file the ZOOM_HOME and ZOOM_USER variables to add the path to Zoom and the username to run the Zoom respectively.
    $ nano /etc/init.d/preview-server
    #!/bin/sh
    #
    # chkconfig: 35 - -
    # description: Start and stops preview server.
    ### BEGIN INIT INFO
    # Provider: Revzoom
    # Required-Start: $network
    # Required-Stop:# Default-Start: 3 4 5
    # Default-Stop: All
    # Description: Preview Server.
    ### END INIT INFO
    ZOOM_HOME="/home/evolphin/zoom"
    ZOOM_USER="evolphin"
    if [ -z "$ZOOM_HOME" ]; then
    echo "ERROR: cannot start Preview Server."

    echo “Please set ZOOM_HOME to the installation directory using export ZOOM_HOME OR set it in preview server$
  6. In the top, change the chkconfig:
    Before:
    # chkconfig: 35 - -
    After:
    # chkconfig: 345  55 25
  7. On the keyboard, hit Ctrl+X to close document.
  8. To save the document, hit Y and Enter on your keyboard.
  9. Add to the zmclientproxy init.d (if remote hot folder feature is needed) file the ZOOM_HOME and ZOOM_USER variables to add the path to Zoom and the username to run the Zoom respectively.
    $ nano /etc/init.d/zmclientproxy
    #!/bin/sh
    #
    # chkconfig: 35 - -
    # description: Start and stops zmclientproxy.
    ### BEGIN INIT INFO
    # Provider: Revzoom
    # Required-Start: $network
    # Required-Stop:# Default-Start: 3 4 5
    # Default-Stop: All
    # Description: zmclientproxy.
    ### END INIT INFO
    ZOOM_HOME="/home/evolphin/zoom"
    ZOOM_USER="evolphin"
    if [ -z "$ZOOM_HOME" ]; then
    echo "ERROR: cannot start zmclientproxy."

    echo “Please set ZOOM_HOME to the installation directory using export ZOOM_HOME OR set it in zmclientproxy$
  10. In the top, change the chkconfig:
    Before:
    # chkconfig: 35 - -
    After:
    # chkconfig: 345  55 25
  11. On the keyboard, hit Ctrl+X to close document.
  12. To save the document, hit Y and Enter on your keyboard.
  1. Add the Zoom and Preview-Server services to chkconfig using the command:

    $ sudo chkconfig --add zoom

    $ sudo chkconfig --add preview-server

    Zoom Client Proxy service is an optional service that you can run on zoom linux server machine to set up service like hot folder ingest.  Additionally, this service can also be useful when you want to set up a hot folder on a headless linux machine. Use the following link for instructions to set up a hot folder on a headless machine.

     

    $ sudo chkconfig --add zmclientproxy

Starting and Stopping Services

For information on how to start and stop services for a Windows Server, see Starting and Stopping Zoom Services (Windows)

 

The following instructions describe how to properly stop Zoom Services on RedHat and CentOS Linux.

Start Zoom Server and Preview Server

Please follow the following procedures for starting Zoom Services:

  1. In Terminal, run the following command to start the Zoom Server Service:
    $ sudo service zoom start
  2. In Terminal, run the following command to start the Zoom Preview Server Service:
    $ sudo service preview-server start

Stop Zoom Server and Preview Server

Please follow the following procedures for stopping Zoom Services:

  1. In Terminal, run the following command to stop the Zoom Server Service:
    $ sudo service zoom stop
  2. In Terminal, run the following command to stop the Zoom Preview Server Service:
    $ sudo service preview-server stop

Zoom Client Proxy Service

In Zoom 5.2 or greater, you can optionally configure and run the zoom client proxy on Linux server machines if you want to avail of the services like Hot Folder ingests. The commands to start and stop the client proxy service is similar to the ones listed above.

  1. In Terminal, run the following command to start the Zoom Client Proxy Service:
    $ sudo service zmclientproxy start
  2. In Terminal, run the following command to stop the Zoom Client Proxy Service:
    $ sudo service zmclientproxy stop

If you need to change the network settings such as DNS host name or IP addresses of the servers please look at: