Wings is the next generation server control plane from Pterodactyl. It has been rebuilt from the ground up using Go and lessons learned from our first Nodejs Daemon.
You should only install Wings if you are running Pterodactyl 1.0. Do not install this software for previous versions of Pterodactyl.
|Ubuntu||18.04||✅||Documentation written assuming Ubuntu 18.04 as the base OS.|
In order to run Wings you will need a system capable of running Docker containers. Most VPS and almost all dedicated servers should be capable of running Docker, but there are edge cases.
If your provider makes use of
LXC then you will most likely be unable to
run Wings. If you are unsure what your host is using there are a couple of options. The easiest is to check
their website, or reach out to their support team.
If you want to take a different approach, try using
lscpu and checking what the virtualization type listed is. An
example of this is shown below which shows my hypervisor running with full virtualization — this means it will
support Docker without issues. If you see
KVM for the vendor, chances are you're fine as well.
[email protected]:~$ lscpu | grep 'vendor\|type' Hypervisor vendor: VMware Virtualization type: full
If that doesn't work for some reason, or you're still unsure, you can also run the command below and as long as it
LXC you're probably okay to continue.
[email protected]:~$ sudo dmidecode -s system-manufacturer VMware, Inc.
For a quick install of Docker CE, you can execute the command below:
curl -sSL https://get.docker.com/ | CHANNEL=stable bash
If you would rather do a manual installation, please reference the official Docker documentation for how to install Docker CE on your server. Some quick links are listed below for commonly supported systems.
Check your Kernel
Please be aware that some hosts install a modified kernel that does not support important docker features. Please
check your kernel by running
uname -r. If your kernel ends in
probably using a non-supported kernel. Check our Kernel Modifications guide for details.
If you are on an operating system with systemd (Ubuntu 16+, Debian 8+, CentOS 7+) run the command below to have Docker start when you boot your machine.
systemctl enable --now docker
On most systems, docker will be unable to setup swap space, you can check if this is the case by running
If it outputs
WARNING: No swap limit support near the bottom, this is the case. Enabling swap is completely optional,
but we recommended doing it if you will be hosting for others, and to prevent OOM errors.
To do so, open
/etc/default/grub as a root user, and find the line starting with
sure the line includes
After doing that, simply run
sudo update-grub followed by
sudo reboot to restart the server and have swap enabled.
Below is an example of what the line should look like, do not copy this line verbatium, it often has additional
OS specific parameters.
The first step for installing Wings is to make sure we have the required directory structure setup. To do so, run the commands below which will create the base directory and download the wings executable.
mkdir -p /etc/pterodactyl curl -L -o /usr/local/bin/wings https://github.com/pterodactyl/wings/releases/latest/download/wings_linux_amd64 chmod u+x /usr/local/bin/wings
If you are using a server provided by OVH or SoYouStart please be aware that your main drive space is probably allocated to
/home, and not
/ by default. Please consider using
/home/daemon-data for server data. This can be easily
set when creating the node.
Once you have installed Wings and the required components, the next step is to create a node on your installed Panel. Go to your Panel administrative view, select Nodes from the sidebar, and on the right side click Create New button.
After you have created a node, click on it and there will be a tab called Configuration. Copy the code block content, paste it into a new file called
/etc/pterodactyl and save it.
Alternatively, you can click on the Generate Token button, copy the bash command and paste it into your terminal.
To start Wings, simply move into the Wings directory and run the command below which will start it in
foreground mode. Once you are done, use
CTRL+C to terminate the process. Depending on your server's internet connection
pulling and starting Wings for the first time may take a few minutes.
sudo wings --debug
You may optionally add the
--debug flag to run Wings in debug mode.
Running Wings in the background is a simple task, just make sure that it runs without errors before doing
this. Place the contents below in a file called
wings.service in the
[Unit] Description=Pterodactyl Wings Daemon After=docker.service [Service] User=root WorkingDirectory=/etc/pterodactyl LimitNOFILE=4096 PIDFile=/var/run/wings/daemon.pid ExecStart=/usr/local/bin/wings Restart=on-failure StartLimitInterval=600 [Install] WantedBy=multi-user.target
Then, run the commands below to reload systemd and start Wings.
systemctl enable --now wings