Alternative Installations

It is recommended that Myst be installed on Docker as it is the easiest rollout process of Myst and its components along with effortless upgrades. For details on installing Myst with Docker please visit this link.

Recommendations aside, it is important to recognise there can be some internal constraints within an organization which prevents the use of Docker, at least in the short-term. This guide is designed for such scenarios.

Enterprise constraints preventing use of Docker

An enterprise may lag behind high-performing companies for various reasons. Below are a list of common constraints in an enterprise that may prevent the use of Docker.

  • Unable to use up-to-date kernel Docker requires a new-ish kernel version. Enterprises may have a Standard Operating Environment (SOE) and may not be ready to upgrade their Linux kernel to support Docker. Please refer to the Docker documentation for your specific Operating System to determine the kernel version required.

  • Require out-of-date Docker version This is related to the previous point. If an organisation's SOE prevents the use of an up-to-date kernel then there may be a need to install an older version of Docker. Alternatively, an organisation may have an out-of-date Operating System package manager responsible for delivering out-of-date Docker versions to an operation system.

    Myst relies on the v2 compose file format meaning that it will not work with earlier versions of Docker. If you wish to use an earlier version of Docker, please raise a support ticket for assistance in configuring Myst to work with earlier versions of Docker.

  • Waiting on a purchasing decision Organisation's may choose to use RedHat or Oracle Linux. Since version 17.3+, Docker Enterprise Edition (EE) must be licensed for Red Hat / Oracle Linux.

    In this case, an organisation can choose to use Docker Community Edition (CE) with non-RedHat / Oracle Linux operating systems such as the RedHat-based CentOS or other Linux derivatives such as Ubuntu. If an organisation is not willing to license EE, downgrade Docker or use a CE supporting operating system, Docker may no longer be a viable option.

This document exists for edge cases where an alternative means for installing Myst Studio is required. While the Docker-based installation can take minutes, the manual installation could take several hours and should be followed as a late resort only.

Install Myst Manually

Myst can be installed to run without Docker through a three step process.

  1. Install MySQL
  2. Install Myst on a Docker supporting system to extract the Myst application and configuration or download the Myst zip bundle directly.
  3. Copy the extracted Myst application and configuration to the non-Docker host and wire it to the MySQL database.

Install MySQL Community Edition

Myst Studio uses MySQL Community Edition 5.7.15 to store its data. Before we install Myst Studio we must ensure that a running instance of MySQL is available and configured. General MySQL installation details can be found at

  1. Download the yum repo file that is needed for the specific target operating system. The available repo file for RedHat/Oracle Linux based systems are listed at so you download to the box with a command line this: wget

  2. Install the repo sudo yum localinstall mysql57-community-release-el6-9.noarch.rpm

  3. Install MySQL Community Edition 5.7.15. If you are migrating from docker to non-docker make sure your MySQL is the same version. sudo yum install mysql-community-server

  1. Start MySQL sudo service mysqld start
  1. Verify that it is running sudo service mysqld status
  1. At the initial start-up of the server, the following happens, given that the data directory of the server is empty:
    • The server is initialized.
    • An SSL certificate and key files are generated in the data directory.
    • The validate_password plugin is installed and enabled.
    • A superuser account 'root'@'localhost is created. A password for the superuser is set and stored in the error log file. To reveal it, use the command described in the next step.
  1. Get the super user password sudo grep 'temporary password' /var/log/mysqld.log

  2. Change the root password as soon as possible by logging in with the generated, temporary password and set a custom password for the superuser account.

    MySQL's validate_password plugin is installed by default. This will require that passwords contain at least one upper case letter, one lower case letter, one digit, and one special character, and that the total password length is at least 8 characters.

    The default Myst password is not allowed by the password validation. You may choose to remove that module and set it to the default Myst password (welcome1).

    mysql -uroot -p 
    ALTER USER 'root'@'localhost' IDENTIFIED BY 'MyNewPass4!';
    uninstall plugin validate_password;
    ALTER USER 'root'@'localhost' IDENTIFIED BY 'welcome1';
  3. Create the fusioncloud schema and user

    CREATE USER 'fusioncloud'@'localhost' IDENTIFIED BY 'welcome1';
    CREATE DATABASE fusioncloud;
    GRANT ALL PRIVILEGES ON fusioncloud.* to 'fusioncloud'@'localhost' WITH GRANT OPTION;
  4. Increase MySQL max allowed packet by editing /etc/my.cnf with the following under [mysqld] section

    max_allowed_packet = 256M

Obtain the Myst product

Obtain the MysT Studio zip bundle from the Docker image

To keep the Myst installation in line with what is built and delivered as part of the Docker image for Myst, we obtain a non-Docker copy of Myst product by first installing Myst on a machine which supports Docker, followed by retrieving the Myst file system and copying it to a non-Docker host.

This will involve installing Docker on a supporting operating system and pulling down a specific version of a docker image for Myst, followed by creating a tar achive of the tomcat directory with the related Myst application and configuration. For information on Docker and Myst Studio installation refer to Docker install for your operating system version and the Myst Studio installation.

  1. Once Myst and Docker are installed, retrieve the desired image

    cd /opt/myst-studio/bin
  2. Obtain the image name for Myst. You can see a list of Docker images on the host by running docker images that will yiel an output similar to:

    REPOSITORY                                               TAG    IMAGE ID     CREATED     SIZE latest 91c4a4f58d2c 4 weeks ago 484.3 MB
  3. Start a container from the Myst Studio docker image using:

    docker run -ti --name myststudio-tomcat <image name>:<tag> /bin/bash

    where <image name>:<tag> is obtained from previously running the docker images command

  4. Tar the contents of the tomcat directory by first entering the container. For example:

    docker run -ti --name myststudio-tomcat /bin/bash

    Then, once inside the Docker container run:

    cd /usr/local
    tar -zcvf tomcat-myststudio.tar.gz tomcat

    Your container will shutdown as soon as you exit it.

  5. Copy the tomcat-myststudio.tar.gz out of the shutdown docker container.

    docker cp myststudio-tomcat:/usr/local/tomcat-myststudio.tar.gz .

Install Myst Studio

  1. Verify that the JAVA_HOME is set and the current java version is 1.7. When running java -version you should see an output similar to the following:
    OpenJDK Runtime Environment (IcedTea 2.6.7) (7u111-2.6.7-2~deb8u1)
    OpenJDK 64-Bit Server VM (build 24.111-b01, mixed mode)
  2. Copy tomcat-myststudio.tar.gz to the Myst Studio server.
  3. Extract the tar to /opt/myst-studio

    cd /opt/
    mkdir myst-studio
    tar -xvf /path/to/tomcat-myststudio.tar.gz -C myst-studio
  4. Add " db" to /etc/hosts so that db resolves to Check that a ping db sends to localhost.

    sudo vi /etc/hosts localhost localhost.localdomain localhost4 localhost4.localdomain4 db
  5. Install the Myst license by copying the Myst.lic to tomcat/conf/fusioncloud/license

    mkdir -p /opt/myst-studio/tomcat/conf/fusioncloud/license
    cp Myst.lic /opt/myst-studio/tomcat/conf/fusioncloud/license

    The Myst.lic can be obtained from the Myst license bundle as follows: tar -xf /path/to/Myst-*.lic.tar.gz Myst.lic

  6. We need to change the tomcat port to 8085. Modify the following tag in /opt/myst-studio/tomcat/conf/server.xml. <Connector connectionTimeout="20000" port="8085" protocol="HTTP/1.1" redirectPort="8443"/>
  7. To reflect the port change and allow authentication to work properly, update the following value in /opt/myst-studio/tomcat/conf/fusioncloud/ fc.oauth.endpoint=http://localhost:8085/fc
  8. Update /opt/myst-studio/tomcat/conf/context.xml with the password you used the fusioncloud MySQL user.
  9. Set the java memory parameters by adding the following line to /opt/myst-studio/tomcat/bin/ export JAVA_OPTS="-Dfile.encoding=UTF-8 -Xms128m -Xmx1024m -XX:PermSize=64m -XX:MaxPermSize=256m"
  10. Start Tomcat as follows: /opt/myst-studio/tomcat/bin/
  11. Access Myst Studio by going to http://<host>:8085/console

You are now finished. The steps below are optional.

(OPTIONAL) Install Myst Studio as a service

Myst can be setup to run as a service so that it automatically starts up on system boot. The steps to do this different depending on the Operating System version.

RedHat/OracleLinux/Centos distribution prior to 7

Take the below myst sysvinit script and place it in /etc/rc.d/init.d. Make sure that you update the paths to the Myst Studio installation location in the start, stop and restart actions if needed

# /etc/rc.d/init.d/myst
# <description of the *service*>
# <any general comments about this init script>
# <tags -- see below for tag definitions. *Every line* from the top
# of the file to the end of the tags section must begin with a #
# character. After the tags section, there should be a blank line.
# This keeps normal comments in the rest of the file from being
# mistaken for tags, should they happen to fit the pattern.>

# chkconfig: 2345 95 05
# description: Myst Studio start script

# Source function library.
. /etc/rc.d/init.d/functions

case "$1" in
          echo -n "Starting Myst Studio services: "
          daemon --user=myst /opt/myst-studio/tomcat/bin/
          touch /var/lock/subsys/myststudio
          echo -n "Shutting down Myst Studio services: "
          daemon --user=myst /opt/myst-studio/tomcat/bin/
          rm -f /var/lock/subsys/myststudio
                pid=`ps -eo pid,command | grep tomcat | grep -v grep | awk '{print $1}'`
                if [[ ! -z $pid ]] 
                   echo "Myst Studio is running: $pid"
                   echo "Myst Studio is not running"
                daemon --user=myst /opt/myst-studio/tomcat/bin/
                daemon --user=myst /opt/myst-studio/tomcat/bin/
          echo "Usage: <servicename> {start|stop|status|restart}"
          exit 1

Now you should be able to start, stop and restart Myst Studio by

service myst start
service myst restart
service myst stop

RedHat/OracleLinux/Centos distribution on 7+

7+ operating systems use systemd to manage services, and uses the concept of unit files. We place the unit file (called myst.service) in to /etc/systemd/system/.

Make sure that you update (if needed):

  • The path to the Myst Studio installation
  • The users who Myst Studio is supposed to run as (e.g. myst, oracle, etc.)
Description=Myst Studio



Set the correct file permissions

chmod 664 /etc/systemd/system/myst.service

Load the new service

systemctl daemon-reload

Make the service start a boot

systemclt enable myst

Start the Myst Studio now

systemctl start myst

Automated installation reference

Below are the details steps for installing Myst from scratch on a RedHat/OracleLinux/Centos based machine on 7+. These steps are completely headless so are ideal for automating in a bash script or adapting for a Operating System Configuration Management tool of choice.

For the automated steps below, it is assumed that the following files are copied to /usr/share/myst and accessible (ideally owned) by the myst user.

  • tomcat-myststudio-bundle-$VERSION.tar.gz
  • Myst.lic.tar.gz
  • myst.service

The steps below are designed to be performed by root user or by a user with sudo access.

Setup Myst user group and path

groupadd -r myst
useradd -m -d /home/myst -s /bin/bash -g myst myst
mkdir -p /opt/myst-studio
chown -R myst:myst /opt/myst-studio
echo 'myst:myst' | sudo chpasswd

(OPTIONAL) Provide sudo access for myst

echo "myst ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers

Install MySQL

yum localinstall -y mysql57-community-release-el7-11.noarch.rpm
yum install -y mysql-community-server

Start MySQL

service mysqld start
service mysqld status mysqld

Configure MySQL

MYSQL_TEMP_PASSWORD=$(grep 'temporary password' /var/log/mysqld.log | awk 'NF>1{print $NF}')
mysql -uroot -p$MYSQL_TEMP_PASSWORD --connect-expired-password -e "ALTER USER 'root'@'localhost' IDENTIFIED BY '$MYSQL_TEMP_PASSWORD'; uninstall plugin validate_password; ALTER USER 'root'@'localhost' IDENTIFIED BY '$MYSQL_ROOT_PASSWORD';"
mysql -uroot -p$MYSQL_ROOT_PASSWORD --connect-expired-password -e "CREATE USER 'fusioncloud'@'localhost' IDENTIFIED BY '$MYSQL_FUSIONCLOUD_PASSWORD'; CREATE DATABASE fusioncloud; GRANT ALL PRIVILEGES ON fusioncloud.* to 'fusioncloud'@'localhost' WITH GRANT OPTION;"
echo "max_allowed_packet = 256M" >> /etc/my.cnf

Install and Configure Myst Studio

Be sure to replace MYST_VERSION with your desired version.

cd /opt
mkdir myst-studio
tar -xvf /usr/share/myst/tomcat-myststudio-bundle-$MYST_VERSION.tar.gz -C myst-studio
mkdir /opt/myst-studio/bin
mkdir -p /opt/myst-studio/tomcat/conf/fusioncloud/license
cp /usr/share/myst/Myst.lic.tar.gz /opt/myst-studio/tomcat/conf/fusioncloud/license
# If you do not want to do this step....
sed -i.bak '/^127\.0\.0\.1/ s/$/ db/' /etc/hosts
# can do this instead
sed -i.bak 's/db:/localhost:/' /opt/myst-studio/tomcat/conf/context.xml
sed -i.bak 's/8080/8085/' /opt/myst-studio/tomcat/conf/server.xml
sed -i.bak 's/8080/8085/' /opt/myst-studio/tomcat/conf/fusioncloud/
# Begin workaround
# This contains Jenkins params but the memory and UTF-8 args are for Myst Studio
printf "#!/bin/sh\nexport JAVA_OPTS=\"-DJENKINS_HOME=/opt/myst-studio/jenkins -Dorg.apache.tomcat.util.buf.UDecoder.ALLOW_ENCODED_SLASH=true -Dfile.encoding=UTF-8 -Xms128m -Xmx1024m -XX:PermSize=64m -XX:MaxPermSize=256m\"\n/opt/myst-studio/tomcat/bin/" > /opt/myst-studio/bin/
unset histchars
# The above histchars unset is to workaround exclamation mark expansion in bash
# as described at
# End workaround
ln -s /opt/myst-studio/tomcat/logs /opt/myst-studio/logs
ln -s /opt/myst-studio/tomcat/bin/ /opt/myst-studio/bin/
chmod +x /opt/myst-studio/bin/
chown -R myst:myst /opt/myst-studio

(OPTIONAL) Install Jenkins

Be sure to replace JENKINS_VERSION with your desired version.

wget$JENKINS_VERSION/jenkins.war -P /opt/myst-studio/tomcat/webapps
mkdir -p /opt/myst-studio/jenkins

(OPTIONAL) Setup Myst Studio as a Service

cp /usr/share/myst/myst.service /etc/systemd/system/myst.service
chmod 664 /etc/systemd/system/myst.service
systemctl daemon-reload
systemctl enable myst
systemctl start myst

results matching ""

    No results matching ""