Installing Pterodactyl
So I was planning to install pterodactyl, and found the docs here I was planning to follow: https://pterodactyl.io/panel/1.0/getting_started.html
Though I had a question about the dependencies to start. From my understanding the "Example Dependency Installation" section should be everything that I need, other than the "composer" dependency, correct? If so, I guess I'm wondering if all the curl commands are the best way to install the dependencies. I only ask because for docker, their install docs say that the "convenience script" using curl is only recommended for testing and development environments. I guess I wasn't sure what exactly that means, but I avoided the "convenience script" and was wondering if any other of the dependencies for pterodactyl were the same where there was a better way to install them. If I'm totally off base, please let me know as well.
72 Replies
Thanks for asking your question!
Make sure to provide as much helpful information as possible such as logs/what you tried and what your exact issue is
Make sure to mark solved when issue is solved!!!
/close
!close
!solved
!answered
Requested by 9tt2#0
you will be just fine (dependency install wise) by installing pterodactyl by just following the guide,
aslong as you have a supported OS
Ok, can do. I wasn't sure due to some concerns I saw about other convenience scripts.
Also, for debian install, do you know what I'd want to select for "software selection"?
dont use debian desktop
so just ssh server should be fine and standard system utilities
(i generally dont use debian, and stick to ubuntu)
It auto selected desktop environment, gnome, and standard system utilities. I figure I need system utils, but wasn't sure about anything else. Yeah SSH server is there, but wasn't sure if it was something less obvious than basic ssh capability.
And ah, why ubuntu over debian?
Debian 11 & 12 | Pterodactyl
Pterodactyl is an open-source game server management panel built with PHP, React, and Go. Designed with security in mind, Pterodactyl runs all game servers in isolated Docker containers while exposing a beautiful and intuitive UI to end users.
personal choice
both work fine
+ ptero's official guide is based on ubuntu
I only thought Debian since that's what all my Pis basically run, I think. and ah, gotcha. mb
I guess I can just wipe it and start over if something goes wrong.
Here now: https://pterodactyl.io/panel/1.0/getting_started.html#installation
It specifies mysql, but I was recomended to install mariadb. Are the commands the same or am I missing something?
Debian 11 & 12 | Pterodactyl
Pterodactyl is an open-source game server management panel built with PHP, React, and Go. Designed with security in mind, Pterodactyl runs all game servers in isolated Docker containers while exposing a beautiful and intuitive UI to end users.
Yeah, Im paste that point and back on the main doc instructions. Im at the isntallation section
sudo
isn't working so i was running the install commands as root, which im not sure if thats a big deal or not??? But when I got to the composer install --no-dev
command, it said not to use root, so I switched back to regular account, but it gave an error that vendor
directory does not exist and count not be created. Then got an error in the php key gen
command and when I got to the Back up your encryption key
warning, I checked the .env file and app_key is empty.you should always be as root
Ignore what composer says, just say ‘yes’
oh, ok. rip. let me try it again
hope you're not joshin me
nope thats what youre meant to do
always be as root. Number one point.
If anything warns you ignore it
always a good procedure
well
always ‘read’ the warns but don’t necessarily act upon them
depends xd
Yeah, I get that. Helps if you know what theyre talking about lol
I know just enough linux to break stuff
one thing pterodactyl lacks is the ease of install
like yeah, if you can read documentation you’re fine but one thing that panels like Moonlight are doing well are the one line installs and the cli they offer for things like updating, logs
so that's why you recommended moonlight?
you can use pterodactyl docker install which does ease the install sometimes but yeah
pelican going docker primary install is gonna be interesting
is the
php artisan p:environment:setup
stuff required? It starts by asking email, but idk what it wants it for or what else it will ask forWell among other things (such as it actually being in development lmfao) but Moonlight v2 is in EA and there isn’t things like schedules, .zip unloads, ftp (yet)
yeah
just don’t do the environment:mail one (further down in the docs)
assuming you don’t want a mail server which you typically dont
So skip
php artisan p:environment:mail
?yes
but do the other two
the setup & database
but do ?
Does the datat go anywhere or is it local?
If it asks for an email, do a fake one or whatever, doesn’t matter
local
it’s just for the setup of ptero
can I change them later?
these are easy setup methods for .env
so yes can be changed
Ah ok, mb. thanks
nano is too hard? lol, or vi if I wanna get stuck
nano isn’t hard at all, just use the arrow keys to navigate, then CTRL + X, then Y to save buffer or whatever
you can use vim if you want (I wouldn’t unless you prefer it)
but nano is fine
Yeah, no I've used nano. just sarcasm
sorry, I just woke up
didn't you just wake up like 12 hours ago as well? maybe that was someone else ha
12 hours ago would be midnight for me
I was awake at like 2am
then slept
now it's asking about application url, is that like local url for access or like what my ddns would be. right now I just want to set it up locally and once I figure it out I can open it up
If you’re using a domain, then it would be your domain (https).
If not, it’s public IP (http)
so if I was using a domain (e.g. panel.domain.com) I would put https://panel.domain.com
The installation isn't that hard to be fair, the docs explain it very well
ish
For me it was very explanatory
Some things could be clearer
Like the composer thing
It's fine
There are some worse stuff
yeah true
I left the App URL blank, so hopefully thats not an issue for the moment?
why?
you can’t connect the panel without the app url xd
Can't connect externally or internally?
Right now Im just trying to set it up for me to figure stuff out with the system
well kind of both
plus you need to use the same app url for the webserver configuration which is later
so can I just put the server ip for now?
like local ip address
that my router gives out
put the public IP yeah
(http://xxx.xx.x.x/) or whatever
or you can do local yeah
mhm
and do the same for webserver configuration when you get to it
ok, manually wrote that with nano since I already did the rest of that setup portion so hopefully I didnt break anything so far
yeah that’s fine
@9tt2Do you intend on sharing the panel with other people?
Not at the moment. Right now I'm just testing anyway. Once I figure it out, likely not but I figured I can fix it later.
You could use Tailscale and not expose the panel to the internet
It's somewhat easy to setup
The basic rule is that you don't expose shit to the internet if you don't know what you're doing
I'm a pretty big Tailscale guy lol
Right now I use WG to access things on my network.
That works too
So now I'm at the webserver config, should I set up ssl right away or will that have issues since I set the app_url to a local ip?
I don't plan to have ports exposed to it for the moment anyway either so not sure if it would renew the certs correctly anyway.
SSL is only for domains
so if you’re configuring SSL you need a domain
and yes, typically domain is the same as app url
this can all be changed in the future permitting you change .env, webserver and wings node config
Ok, that's kinda what I thought but wanted to check. Wasn't sure since I think I set up ssl for some location ips in the past, but can't recall the process exactly.
At the enabling swap portion if Wings install (https://pterodactyl.io/wings/1.0/installing.html#enabling-swap), I didn't get
WARNING: No swap limit support
warning. Does that mean I don't need to do anything with the swapaccount
stuff?
Had a hard time finding relevant info on it when I googled swapaccount
, but did find this: Not sure if that is correct or not.
It says it's not needed, so if I do need to modify it, I should be able to do it later, right?yes
Ok, then I shouldn't have to update grub or reboot, so can go to actually installing wings. cool
What are the consequences of public vs private
node visibility
? Right not I'm just going to run everything local, for testing, so not sure which I should select. I see this By setting a node to private you will be denying the ability to auto-deploy to this node.
, but don't really know how lack of auto-deploy would impact my usage or management of the node/servers.
Also, do I need to really set anything in "New Node" Configuration
section if it's just a single mode for the server? I'm guessing you can have multiple servers per node, which I think would be fine for me right now (?), but not sure if leaving them plank with just default to use whatever resources it needs or whatnot.nothing really if you arent a host
its meant for api use
with something like whmcs for hosting providers
gotcha, so set it to private should be fine, if not totally necessary?
both work fine, would just keep it at public
Ok thanks, and do you know about the
Configuration
section I mentioned?well yes, you need to change memory, memory overallocation, disk, disk overallocation, fqdn (so full ip or domainname), node name
Yeah, all the "base details" I have set, I'm talking about this section but from your repsonse it seems that's still a "yes".
yes
Memory I will have to figure out myself I guess, but for disk space, do you have a recommendation for a node that may have like a dozen on/off servers? I think I have a 1TB drive in it right now, so space shouldn't be too big a concern I think. Right now this is just local usage for testing
just like 800 gb, you can subdivide after
its a changeable number
Ok, thanks
Ok, think I have everything installed correctly. Now I just need to figure out how to set up an actual MC instance. thanks for all the help.