Here you can learn how to start Magic Collaboration Studio using the no-installer .zip file.
Prerequisites
To run Magic Collaboration Studio:
- You must have a working instance of Cassandra. Learn how to install and configure Cassandra.
- You have to obtain the magic_collaboration_studio_<version_number>_no_install_win64.zip file (the magic_collaboration_studio_190_sp2_no_install_linux64.zip file if you use Linux). Contact your sales executive to get the file.
Running Magic Collaboration Studio on Windows
To run Magic Collaboration Studio by using no-installer
- Extract the magic_collaboration_studio_<version_number>_no_install_win64.zip file.
Go to <magic_collaboration_studio_no-installer_directory>\MagicCollaborationStudio\AuthServer\config and open the authserver.properties file.
Specify the values of the following properties:
server.public.host
authentication.redirect.uri.whitelist
twc.server.host
- Save and close the authserver.properties file.
- Go to <magic_collaboration_studio_no-installer_directory>\MagicCollaborationStudio\scripts\windows and run the genkey.bat file as administrator.
- Go to <magic_collaboration_studio_no-installer_directory>\MagicCollaborationStudio\WebAppPlatform\bin and run the certgen.bat file as administrator.
Specify CATALINA_HOME_WEBAPP and JRE_HOME variables the following way:
- Open Control Panel and go to System and Security > System.
- Select the Advanced system settings option on the left side of the System dialog.
- In the System Properties dialog, click the Environment Variables button.
In the System variables area of the Environment Variables dialog, specify the values for the JRE_HOME and CATALINA_HOME_WEBAPP variables as shown below:
CATALINA_HOME_WEBAPP=/<magic_collaboration_studio_no-installer_directory>\MagicCollaborationStudio\WebAppPlatform JRE_HOME=/<Java_install_directory>
Click OK.
Start twcloud.exe (magic_collaboration_studio_[version]_no_install_win64\MagicCollaborationStudio) as Administrator
- Start Authserver server - run.bat (magic_collaboration_studio_[version]_no_install_win64\MagicCollaborationStudio\AuthServer\bin) as Administrator
- Start tomcat server- startup.bat (magic_collaboration_studio_[version]_no_install_win64\MagicCollaborationStudio\WebAppPlatform\bin) as Administrator
Open a web browser and go to https://localhost:8443/webapp (if default options are used)
But if you want to run as services:
Run the Teamwork Cloud service installation script -magic_collaboration_studio_[version]_no_install_win64\MagicCollaborationStudio\scripts\windows>installService.bat
Run the Authserver service installation script - magic_collaboration_studio_[version]_no_install_win64\MagicCollaborationStudio\AuthServer\registerWindowsService.bat
Run the Webapp service installation script - invoke terminal in magic_collaboration_studio_[version]_no_install_win64\MagicCollaborationStudio\WebAppPlatform\bin and run the command:
service.bat install
Linux
- Unzip magic_collaboration_studio_[version]_no_install_win64.zip no install file
Open and edit authserver.properties file (magic_collaboration_studio_[version]_no_install_linux64\MagicCollaborationStudio\AuthServer\config) and update properties:
server.public.host
authentication.redirect.uri.whitelist
twc.server.host- Run genkey file (magic_collaboration_studio_[version]_no_install_linux64\MagicCollaborationStudio\scripts\)
- Run certgen file (magic_collaboration_studio_[version]_no_install_linux64\MagicCollaborationStudio\WebAppPlatform\bin)
Set JRE_HOME and CATALINA_HOME_WEBAPP variables:
CATALINA_HOME_WEBAPP=/<WebApp install directory>
JRE_HOME=/<Java install directory (should be in Webapp folder (WebAppPlatform\jre)- JAVA 11)>How-to set variables:
1. Open terminal
2 export JAVA_HOME=magic_collaboration_studio_[version]_no_install_linux64\MagicCollaborationStudio/WebAppPlatform/jre specify your own path
3. export CATALINA_HOME_WEBAPP=magic_collaboration_studio_[version]_no_install_linux64\MagicCollaborationStudio/WebAppPlatform specify your own pathTo check variable command:
echo $JRE_HOME
- Start twcloud.exe (magic_collaboration_studio_[version]_no_install_linux64\MagicCollaborationStudio)
- Start AuthServer server - run.sh (magic_collaboration_studio_[version]_no_install_linux64\MagicCollaborationStudio\AuthServer\bin)
- Start tomcat server - startup.sh (magic_collaboration_studio_[version]_no_install_linux64\MagicCollaborationStudio\bin)
- Open a web browser and go to https://localhost:8443/webapp (if default options are used)
But if you want to run as services:
- Run the Teamwork Cloud service installation script -magic_collaboration_studio_[version]_no_install_linux64\MagicCollaborationStudio\scripts\windows>installService.sh
- Run the Authserver service installation script - magic_collaboration_studio_[version]_no_install_linux64\MagicCollaborationStudio\AuthServer\registerWindowsService.sh
- Run the Webapp service installation script - invoke terminal in magic_collaboration_studio_[version]_no_install_linux64\MagicCollaborationStudio\WebAppPlatform\bin and run the command:
sudo service.sh install |
---|