This chapter explains how to install Magic Collaboration Studio services by using the install_mcs<version_number>_<os_version>.sh installation script.


To install Magic Collaboration Studio services


  1. Install OpenJDK 11 (used with Magic Collaboration Studio) by executing the following command:

    yum -y install java-11-openjdk


  2. Find the magic_collaboration_studio_<version_number>_installer_linux64.bin file and place it in the same location as the install_mcs<version_number>_<os_version>.sh script.
  3. Install Magic Collaboration Studio by executing the install_mcs<version_number>_<os_version>.sh script.

    sudo ./install_mcs2022x_centos7.sh
    1. When executing the installation script, press ENTER until you are asked to configure the machine IP.
    2. Configure the machine IP by entering the local IP address or the host name of the machine (i.e. 192.168.130.10).
    3. Configure the cluster seed node IP by entering the local IP address or the host name of the machine (i.e. 19.168.130.10). 
    4. Configure the Teamwork Cloud service owner by entering twcloud.
    5. Configure JAVA_HOME by entering /etc/alternatives/jre_11.
    6. Press Enter to choose the default /opt/local/TeamworkCloud installation folder or type another installation folder address.

  4. When the Teamwork Cloud pre-installation summary is displayed, follow the instructions on the screen. The summary should look like this:

    ===============================================================================
    Pre-Installation Summary
    ------------------------
    Please Review the Following Before Continuing:
      
    Product Name:
        Magic Collaboration Studio
      
    Install Folder:
        /opt/local/MagicCollaborationStudio
      
    Machine ip:
        "192.168.130.10"
      
    Seed node ip:
        "192.168.130.10"
      
    JAVA_HOME:
        "/etc/alternatives/jre_11"
      
    Disk Space Information (for Installation Target):
        Required:  395,614,661 Bytes
        Available: 31,608,475,648 Bytes


    In the pre-installation summary, you should see the local IP address of your machine instead of "192.168.130.10" displayed in the example above.


  5. Start the twcloud, zookeeper, and webapp services (in this particular order) by executing the following commands:

    sudo systemctl start twcloud
    sudo systemctl start zookeeper
    sudo systemctl start webapp


  6. To ensure Magic Collaboration Studio services start after the reboot, execute the following commands:

    sudo systemctl enable twcloud
    sudo systemctl enable zookeeper
    sudo systemctl enable webapp


  7. Make sure that Magic Collaboration Studio is operational by going to https://<server_address>:8443/webapp. You should see the Teamwork Cloud login screen.

    For more information, see Accessing Teamwork Cloud Admin.


When you complete the steps above, the preliminary Magic Collaboration Studio configuration is created. This means that your system is functional and you can login to the server. After making sure that Magic Collaboration Studio is operational, you can optionally perform the post-installation configuration described in the section below.


Post-installation Configuration

For security reasons, it is recommended to make the following changes to the Magic Collaboration Studio configuration.

The post-installation configuration is an optional step and should only be performed after making sure that Magic Collaboration Studio is operational.


To perform the post-installation configuration


  1. Edit the /opt/local/TeamworkCloud/configuration/application.conf configuration file and make the following changes:
  2. Edit the /opt/local/TeamworkCloud/WebAppPlatform/shared/conf/authserver.properties configuration file and make the following changes:

  3. Edit the /opt/local/TeamworkCloud/WebAppPlatform/shared/conf/webappplatform.properties configuration file and make the following changes:
  4. Restart the affected Magic Collaboration Studio services.