Purpose
This article presents a step-by-step guide on installing the Theater Node (Film Node) on Ubuntu Linux. Knowing how to install the Theater Node on Ubuntu Linux will help users run their node properly to both help support the network and get credit in the distribution.
Assumptions Made
This article assumes a user has a valid node license and understands the information in the following articles:
Sign Up for a Gala Games and Entertainment Account
Procedure
The Gala Node software will allow a user to run their Theater Node. Before installing the Gala Node software on Ubuntu Linux, there are two prerequisites to running the Theater Node.
Gala Theater Node Prerequisites
Docker
Unique IP Address
Update Ubuntu Linux
1) Open the Terminal and enter the command below:
sudo NEEDRESTARTMODE=a apt update && sudo apt upgrade -y
This will ensure that the computer has the latest package list for installing programs.
Docker Installation
1) Enter the command to install Docker:
sudo apt install docker.io -y
2) After running the installation, enter this command to see Docker’s status:
sudo systemctl status docker
Press q or CTRL + C and Enter to exit the Docker Status Menu.
If docker is not in active status, use the command to start it:
sudo systemctl enable --now docker
Unique Public IP Address
The Film Node requires a unique Public IP Address to properly operate as a Decentralized Physical Network. These nodes host film content, which is erasure-encoded and sharded across multiple storage volumes for efficient distribution in the Gala Film Content Delivery Network.
Gala Node Software Installation
1) Enter this command below to download the Gala Node software for Linux.
sudo wget --trust-server-names https://links.gala.com/DownloadLinuxNode
It downloads a file name called gala-node-vX.X.X.tar.gz.
2) After downloading, run the command below to extract the Gala Node software. Ensure to update the [version number] based on what version they download. Please see the screenshot highlighted below to find the software's version number.
sudo tar xzvf gala-node-v3[version number].tar.gz
3) This next command runs the installation script for the Gala Node software.
sudo gala-node/install.sh
Read the End User License Agreement, Type Y, and press Enter to accept and proceed with the installation.
4) After successfully installing the Gala Node software, an API key is needed to access a user’s Gala Games and Entertainment account and pull up the available workloads. Please read the Gala Node Dashboard article for creating an API key. This API key will be used in the following command:
sudo gala-node config api-key <Your API key Here>
• Example: sudo gala-node config api-key qmlQZxDDQWERTYhwwrpfUWv8n2wE+XoGADnUWpDIVoI=5) After entering the account’s API key, run this command to see the currently available workloads available.
sudo gala-node licenses
Available workloads:
Configure Theater Node Workload
1) You can use this command to setup the Film workload:
sudo gala-node workload add film
If you have multiple workloads you wish to add, you will need to enter the command for each type of workload individually.
2) Once the configuration is complete, run this command to start the Gala Node software.
sudo gala-node start
3) Now that the workload is added, run this command to ensure the software is running.
sudo gala-node status
4) Configure Port Forwarding as the Theater Node requires the following ports to be open to operate as a decentralized Content Delivery Network:
- TCP Port 4002
- TCP Port 9096
- TCP Port 5443
Check with your Internet Service or VPS provider if there are issues. Follow these guides to learn more.
5) Go to the Gala Node Dashboard to verify the Theater Node is online.
The installation is now completed!
Note: It may take up to 10 minutes for this node’s status to reflect on a user’s Gala Node Dashboard.
Optional: Run the command to name your node so you can identify your node on the dashboard:
sudo gala-node rename
Visit Linux Gala Node Software Commands to learn more about the available commands to manage the Gala Node software.