# Install Panel & Wings on same machine

Run the script from the GitHub page\
`bash <(curl -s https://raw.githubusercontent.com/guldkage/Pterodactyl-Installer/main/installer.sh)`

Select 1) Install Panel

<figure><img src="/files/Aysi35kWJs5XRaLWiqWl" alt=""><figcaption></figcaption></figure>

Fill out all the fields and start the installation

<figure><img src="/files/34wPuTcdWgEmEX6jgtCD" alt=""><figcaption></figcaption></figure>

Recommended option is Webserver mode. If you can't port forward 80/443, you should use DNS challenge instead.\
For this guide, I will be using Webserver mode, but you can also use DNS challenge just fine.

<figure><img src="/files/MR3znR3TOjWBRWDTHWem" alt=""><figcaption></figcaption></figure>

If you selected webserver mode, agree (or dont) to Let's Encrypt Terms of Service. You will need to agree to them in order to get your SSL certificate.

<figure><img src="/files/Gv2crcriskibRFXFcaau" alt=""><figcaption></figcaption></figure>

Pterodactyl Panel is now installed. For this guide, we will be installing Wings as well. Answer Y.

<figure><img src="/files/YtQ1SDczaAjmvuHEaEWS" alt=""><figcaption></figcaption></figure>

Wings installation has been completed.

<figure><img src="/files/7Fn8f5cmKDaZ26VI4V5W" alt=""><figcaption></figcaption></figure>

Please navigate to your Pterodactyl Panel in your browser. Sign in with your credentials you entered at the start of the script.

<figure><img src="/files/3IYbvgsKsiqFFhBkejFf" alt=""><figcaption></figcaption></figure>

When logged in, go to Admin to administrate your Panel

<figure><img src="/files/H3fdExIIaJGD4VPfB7ed" alt=""><figcaption></figcaption></figure>

We need to create a location. To do that, navigate to "Locations".

<figure><img src="/files/TXRoxa3L4abag3OAUbwq" alt=""><figcaption></figcaption></figure>

Create a new location by clicking "Create New" on the top right corner.

<figure><img src="/files/Szq8G5Xc3wWCThk4ztIw" alt=""><figcaption></figcaption></figure>

Give your location a name. In this example, the machine is in Germany, so I will be using that as the name. You can however use whatever name you want, it does not matter.\
A description is not required.

<figure><img src="/files/kMVJ05jRrlXuxyQ26T4Q" alt=""><figcaption></figcaption></figure>

You have now created a Location. Now, navigate to "Nodes" on the left side of your screen.

<figure><img src="/files/nVbpXGPLA8SJPfVXfeZU" alt=""><figcaption></figcaption></figure>

Create a new node by clicking "Create New" in the top right corner.

<figure><img src="/files/NZ591MrNAbOjXzaJxdIY" alt=""><figcaption></figcaption></figure>

Fill out the required fields.\
\
Name = give your Node a name, be aware of the character limits.\
Description = give your Node a description, it is not needed.\
Location = You only have 1 location, so it will select it automatically.\
FQDN = your Panel URL, which is dev.malthe.cc in this example.\
\
Total Memory = enter how much RAM your machine has in MiB, so if you for example have 16GB, you need to do 16\*1024 = 16384.\
Total Disk Space =  enter how much disk your machine has in MiB, so if you for example have 100GB, you need to do 100\*1024 = 102400.\
These do not really need to be accurate, especially if you are not using API or have multiple nodes.\
\
You can do 0 for Memory Over-Allocation and Disk Over-Allocation\
\
Click "Create Node" in the bottom right corner.

<figure><img src="/files/vkjdcBCDg8j5oyhp2wWS" alt=""><figcaption></figcaption></figure>

Now, add allocations for your Node. These are the ports that your gameservers are going to use.\
I am going to add port 25565 in this example.

Enter your public (or local, depending if your server is behind NAT) IP for your server at "IP Address" and type in the port(s) you want in "Ports" then click "Submit".

<figure><img src="/files/hq8pVAd49CiF1ixlZMuE" alt=""><figcaption></figcaption></figure>

Now, go to "Configuration"

<figure><img src="/files/zkpRnbeq6QMqFn8sFXK1" alt=""><figcaption></figcaption></figure>

Click "Generate Token"

<figure><img src="/files/3g1P3tMEzH5Eg6Trezsr" alt=""><figcaption></figcaption></figure>

Copy the text and paste it into your servers terminal, the same terminal you ran the script with.

<figure><img src="/files/9WEaYjOdGgpiO31g1hQR" alt=""><figcaption></figcaption></figure>

Now you have configured Wings.

<figure><img src="/files/AViILXjQY5af4JsEn9X4" alt=""><figcaption></figcaption></figure>

Next step is to start and enable Wings:\
Run the command below in your terminal, the same terminal you just ran the command above in.

```
systemctl enable wings --now
```

Now go back to your Panel in your browser and click on "Nodes" in the left side of your Panel.

<figure><img src="/files/sAZmz9Mj6XxeOjr6cvOp" alt=""><figcaption></figcaption></figure>

As you can see, wings is now online and will be started at system start. That means if you restart the server, it will start automatically.

You can now create servers by navigating to "Servers" in the left side of your Panel then "Create New" in the right side of your Panel.

If something does not work, you can always get support on the discord server: <https://discord.gg/3UUrgEhvJ2>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://pterodactyl-installer.gitbook.io/docs/guides/install-panel-and-wings-on-same-machine.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
