Remote Server Install
To setup the remote server you need the following prerequisites:
- A Docker or Podman compatible Linux distro installed (Ubuntu, Debian, and Fedora have been tested) or WSL and Docker Desktop if you’re on Windows
- Docker Engine install instructions by distro
- Podman Install by Distro
- On Fedora you can use the following commands for full Podman functionality:
sudo dnf install podman(it may already be installed)sudo systemctl enable podmansudo systemctl enable podman-restart
- Either Docker Compose (included with Docker Engine) or Podman Compose (can be installed with
sudo dnf install podman-composeon Fedora) - SSH (and sudo) or root-level terminal access to the computer you’re using as a server
Loading in server images
Create a folder to download, extract, and load from (replace /var/tam3/images with a dir of your preference or to accommodate a specific distro):
mkdir -p /var/tam3/images
cd /var/tam3/images
Download the latest tam3-remote-server-offline-images_... file from the releases page. You can right-click it and click Copy Link, then Ctrl + Shift + V to put it into the terminal after the wget command:
wget https://github.com/dbob16/tam3/releases/download/0.1.1/tam3-remote-server-offline-images_0.1.1.tar.gz
Extract using tar. You can use tab autocomplete to match the file you downloaded. So after tar -xvzf you can put a space in, then type “tam3-remote-server” then press tab, it should fill the rest in, so it should look something like:
tar -xvzf tam3-remote-server-offline-images_0.1.1.tar.gz
Run the script.
./server-load.sh
Setup
Create directory if you don’t have one already and navigate to it, change as you see fit:
mkdir -p /var/tam3/server
cd /var/tam3/server
Download the latest tam3-remote-server_... or tam3-remote-server-secure_.... As above, you can right-click the link and click Copy Link, and paste into terminal using Ctrl + Shift + V.
For plain-text server
wget https://github.com/dbob16/tam3/releases/download/0.1.1/tam3-remote-server_0.1.1.tar.gz
For HTTPS Server
wget https://github.com/dbob16/tam3/releases/download/0.1.1/tam3-remote-server-secure_0.1.1.tar.gz
Extract the archive wget downloaded (using a space, typing in “tam3-remote” and Tab key after typing in the tar -xvzf part):
tar -xvzf tam3-remote-server_0.1.1.tar.gz
Or (For HTTPS Server):
tar -xvzf tam3-remote-server-secure_0.1.1.tar.gz
Run the script:
sudo ./start-server.sh
Generating API Keys
Each client should have its own API key. You can run the script and name them when asked from the same directory:
cd /var/tam3/server
sudo ./generate-key.sh
Listing keys
If you lose keys, you can list them by using the list script in the same directory:
cd /var/tam3/server
sudo ./list-keys.sh