This chapter explains how to install Teamwork Cloud services by using the install_twc_mcs_centos_rhel.sh installation script.
To install Teamwork Cloud services
Install OpenJDK 11, if needed. If you used the Apache Cassandra installation script on the same server, then Java 11 is already installed and configured for the system. To install OpenJDK 11 on a new Teamwork Cloud server, execute the following command:
yum -y install java-11-openjdk |
Install Teamwork Cloud by executing the install_twc_mcs_centos_rhel.sh script.
sudo ./install_twc_mcs_centos_rhel.sh |
Press Enter to choose the default /opt/local/CATIANoMagicServices installation folder or type another installation folder address.
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: Teamwork Cloud Install Folder: /opt/local/CATIANoMagicServices 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. |
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 |
To ensure Teamwork Cloud services start after the reboot, execute the following commands:
sudo systemctl enable twcloud sudo systemctl enable zookeeper sudo systemctl enable webapp |
Make sure that Teamwork Cloud 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 web applications. |
When you complete the steps above, the preliminary Teamwork Cloud configuration is created. This means that your system is functional and you can login to Teamwork Cloud. After making sure that Teamwork Cloud is operational, you can optionally perform the post-installation configuration described in the section below.
The post-installation configuration is an optional step and should only be performed after making sure that Teamwork Cloud is operational. |
To perform the post-installation Teamwork Cloud configuration
Edit the /opt/local/CATIANoMagicServices/WebAppPlatform/shared/conf/authserver.properties configuration file and make the following changes:
If you are accessing the server by FQDN, change the value of the authentication.redirect.uri.whitelist property by adding an the FQDN entry to the whitelist (e.g., authentication.redirect.uri.whitelist=https://FQDN:8443/,https://FQDN:8111/,https://md_redirect). Make sure to add the public IP and/or FQDN for ports 8443 and 8111 to the whitelist.