Without further ado, let’s get started!
You Will Need
- Refer to the list of requirements from the previous article, where you set up the panel.
- Ubuntu >=18.04
- RHEL-based >=7
- Debian >=9
:::
A Primer on Virtualization
Wings requires that its server can run Docker containers, which is the case for most VPSes and almost, if not all dedicated servers. If your provider uses OpenVZ or LXC for virtualization, you’ll most likely be unable to run Docker, ruling out the ablility to run Wings - unless your provider has made changes to allow nested virtualization, which is what Docker requires when running on virtual machines. KVM-based servers are guaranteed to work. If in doubt, contact your hosting provider. To check your virtualization type, run the following command as root:Installing Docker
Docker can be installed in a single line, it’s easy!uname -r in the terminal. If it ends in -xxxx-grs-ipv6-64 or -xxxx-mod-std-ipv6-64 you may be using an unsupported kernel.
:::
Start on Boot
To have Docker start on machine boot, just run the following command:(Optional) Swap
This step is optional purely because it is recommended if you are hosting for others and want to avoid out-of-memory errors. Open/etc/default/grub in your favourite editor as root/sudo and find the line that says GRUB_CMDLINE_LINUX_DEFAULT - inside the quotes, add swapaccount=1 to the space-separated options list.
Run sudo update-grub and reboot your machine to finish up.
:::info
Distro-Specific GRUB Config
If for whatever reason GRUB_CMDLINE_LINUX_DEFAULT doesn’t work, try GRUB_CMDLINE_LINUX. Some distros may ignore the former.
:::
Installing Wings
Next, we need to set up Wings itself. Just run the following commands to create the config directory and install the Wings binary:/home. In that case, consider using /home/daemon-data for server data. This can be set when creating the node, which we will go over in the next document.
:::
Starting Wings
To start Wings, run the below command:CTRL+C to terminate the Wings process.
To run Wings in debug mode, pass the --debug flag to the command line.
:::
Assuming Wings ran without error, let’s move on to the next step.