Package Wings Installation
Please see the Minimum Requirements section in the Wings Overview documentation.
With the APT/RPM repository, you can directly install Calagopus from your package manager. Select your package manager below:
Install Docker
The Calagopus Wings Daemon requires Docker to be installed and running on the host machine to manage game server containers. You can validate your Docker installation by running:
docker --versionIf Docker is not installed, please refer to the official Docker installation guide for your operating system. In many cases running Dockers installation script is the easiest way to get started:
curl -sSL https://get.docker.com/ | CHANNEL=stable bashAdd the repository
The first step to install Wings is to add the Calagopus APT repository. If the APT repository is already added, you can skip this step. To do so, on your server run theses commands:
curl -fsSL https://packages.calagopus.com/pub.gpg -o /usr/share/keyrings/calagopus-archive-keyring.gpg
echo "deb [signed-by=/usr/share/keyrings/calagopus-archive-keyring.gpg] https://packages.calagopus.com/deb stable main" | sudo tee /etc/apt/sources.list.d/calagopus.list
apt updateInstall Calagopus Wings
Now that the repository has been added, you need to download and install the Wings package. You can do this by running the following commands:
apt install -y calagopus-wingsThis will download the latest version of Wings for your architecture and make it executable using calagopus-wings. To test that the installation was successful, you can run:
calagopus-wings versionAdd alias (optional)
By default, to interact with Wings, you need to add calagopus- infront of wings, which can be annoying sometimes. You can instead make a symbolic link for Wings to allow using wings instead of calagopus-wings. To do so, run theses commands:
ln -s $(whereis -b calagopus-wings | awk '{print $2}') /usr/local/bin/wingsIf Wings is installed somewhere else than /usr/local/bin/, make sure to replace that to the directory where Wings is installed.
Configure Wings
Before starting Wings, you need to configure it to connect to your Calagopus Panel. To do this, create the Node on the Panel ((WIP INSERT GUIDE LINK HERE)) Then, paste the copied configuration command into your terminal, which will look something like this:
calagopus-wings configure --join-data xxxxxxTo test the configuration, you can run:
calagopus-wingsThis will start Wings in the foreground, and you should see it connecting to the Panel.
Install Wings as a Service
To ensure that Wings starts automatically on system boot, you can install it as a systemd service. Create a new service file by running:
calagopus-wings service-installThis will also start the service and enable it to start on boot. To check the status of the Wings service, you can run:
systemctl status wings