From 2cdfb2b850034b719602948e2dd02c5327cd79d3 Mon Sep 17 00:00:00 2001 From: Red Banana <108609991+Red-Banana-Official@users.noreply.github.com> Date: Tue, 23 Sep 2025 15:15:05 +0000 Subject: [PATCH] debian-changes --- community/installation-guides/panel/debian.md | 23 +++-- community/installation-guides/wings/debian.md | 5 -- daemon/0.6/debian_8_docker.md | 87 ------------------- panel/1.0/getting_started.md | 5 +- 4 files changed, 21 insertions(+), 99 deletions(-) delete mode 100644 community/installation-guides/wings/debian.md delete mode 100644 daemon/0.6/debian_8_docker.md diff --git a/community/installation-guides/panel/debian.md b/community/installation-guides/panel/debian.md index 7f963c3c..6ab81ba4 100644 --- a/community/installation-guides/panel/debian.md +++ b/community/installation-guides/panel/debian.md @@ -1,30 +1,39 @@ -# Debian 11 & 12 +# Debian 11, 12 & 13 [[toc]] ::: tip -This guide is based off the [official installation documentation](/panel/1.0/getting_started.md) but is tailored specifically for Debian 11 and 12. +This guide is based off the [official installation documentation](/panel/1.0/getting_started.md) but is tailored specifically for Debian 11, 12 and 13. ::: +| Operating System | Version | Supported | Notes | +| ---------------------------------- | ------- | :----------------: | ----------------------------------------------------------- | +| **Debian** | 11 | :white_check_mark: | | +| | 12 | :white_check_mark: | | +| | 13 | :white_check_mark: | - MariaDB can be installed without the repo setup script - Redis can be installed without the Redis APT repository + ## Dependency Installation In this guide, we will install the required dependencies for the Pterodactyl panel. After that, you can follow the official installation documentation. ```bash # Install necessary packages -apt -y install software-properties-common curl ca-certificates gnupg2 sudo lsb-release +apt install -y curl ca-certificates gnupg2 sudo lsb-release # Add additional repositories for PHP echo "deb https://packages.sury.org/php/ $(lsb_release -sc) main" | sudo tee /etc/apt/sources.list.d/sury-php.list curl -fsSL https://packages.sury.org/php/apt.gpg | sudo gpg --dearmor -o /etc/apt/trusted.gpg.d/sury-keyring.gpg -# Add Redis official APT repository +# Add Redis official APT repository (Debian 11 & 12) curl -fsSL https://packages.redis.io/gpg | sudo gpg --dearmor -o /usr/share/keyrings/redis-archive-keyring.gpg echo "deb [signed-by=/usr/share/keyrings/redis-archive-keyring.gpg] https://packages.redis.io/deb $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/redis.list -# MariaDB repo setup script +# MariaDB repo setup script (Debian 11 & 12) curl -LsS https://r.mariadb.com/downloads/mariadb_repo_setup | sudo bash +# Update repositories list +apt update + # Install Dependencies apt install -y php8.3 php8.3-{common,cli,gd,mysql,mbstring,bcmath,xml,fpm,curl,zip} mariadb-server nginx tar unzip git redis-server ``` @@ -40,3 +49,7 @@ curl -sS https://getcomposer.org/installer | sudo php -- --install-dir=/usr/loca ### Download Files Great, now all of the dependencies have been dealt with. Continue the installation by following the [official documentation Download Files section](/panel/1.0/getting_started.md#download-files). + +### Wings + +There is no additional configuration required for Wings on Debian 11, 12 or 13. You can follow the [official Wings install documentation](/wings/1.0/installing.md), which covers Docker installation for Debian. diff --git a/community/installation-guides/wings/debian.md b/community/installation-guides/wings/debian.md deleted file mode 100644 index a9ac6590..00000000 --- a/community/installation-guides/wings/debian.md +++ /dev/null @@ -1,5 +0,0 @@ -# Debian 11 & 12 - -## Install - -There is no additional configuration required for Wings on Debian 11 or 12. You can follow the [official Wings install documentation](/wings/1.0/installing.md), which covers Docker installation for Debian. diff --git a/daemon/0.6/debian_8_docker.md b/daemon/0.6/debian_8_docker.md deleted file mode 100644 index d615bbfb..00000000 --- a/daemon/0.6/debian_8_docker.md +++ /dev/null @@ -1,87 +0,0 @@ ---- -meta: - - name: robots - content: noindex ---- -# Docker on Debian 8 - -[[toc]] - -::: warning -There is a potential for broken software after this upgrade as we are moving to a non-stable kernel (in regards -to mainline Debian). Please take backups and only proceed if you are comfortable with this process. -::: - -## Install Docker -To begin with, we're going to install docker just like we would for any other OS by following Docker's -[official documentation for Debian](https://docs.docker.com/install/linux/docker-ce/debian/#install-docker-ce). - -Once you've done that, if you run `docker info` you'll notice some missing features at the bottom, something -like the output below. - -``` text -WARNING: No memory limit support -WARNING: No swap limit support -WARNING: No kernel memory limit support -WARNING: No oom kill disable support -WARNING: No cpu cfs quota support -WARNING: No cpu cfs period support -``` - -## Update GRUB Startup -To fix the memory limit support issues, we just need to add two arguments to our default grub startup. Start by -opening `/etc/default/grub` and adding the following arguments to `GRUB_CMDLINE_LINUX_DEFAULT`. - -``` text -swapaccount=1 cgroup_enable=memory -``` - -The line should then look like the one below — assuming nothing else was in the quote to begin with. - -``` text -GRUB_CMDLINE_LINUX_DEFAULT="swapaccount=1 cgroup_enable=memory" -``` - -After doing that, run `sudo update-grub` to update our grub configuration. - -## Add Backports Repo -We then need to enable the `jessie-backports` apt repository to install a newer kernel. To do this, run the commands below. - -``` bash -echo deb http://http.debian.net/debian jessie-backports main > /etc/apt/sources.list.d/jessie-backports.list -echo deb http://http.debian.net/debian jessie-backports main contrib non-free > /etc/apt/sources.list.d/jessie-backports.list -sudo apt update -``` - -To find the most recent kernels, run `apt-cache search linux-image` which will list all of the ones available. In this -case, we'll install the `4.9.0` kernel using the command below. Once we've done that, it is time to reboot the server -to start using this kernel. - -``` bash -apt install -t jessie-backports linux-image-4.9.0-0.bpo.3-amd64 -reboot -``` - -## Update Software & Setup Docker -Now that we're on the new kernel you probably need to update some software to take advantage of it. To do this, -simply run the command below. - -``` bash -apt update && apt upgrade -``` - -Once that is done, we need to make an adjustment to docker to use `overlay2` rather than `aufs` since `aufs` is not -supported on this kernel currently. Run the command below to do so. - -``` bash -sed -i 's,/usr/bin/dockerd,/usr/bin/dockerd --storage-driver=overlay2,g' /lib/systemd/system/docker.service -``` - -Finally, update `systemd` and start docker using the following commands. - -``` bash -systemctl daemon-reload -service docker start -``` - -Docker should now be running and reporting no errors if you run `docker info`! diff --git a/panel/1.0/getting_started.md b/panel/1.0/getting_started.md index 8623ee3e..05a6db28 100644 --- a/panel/1.0/getting_started.md +++ b/panel/1.0/getting_started.md @@ -29,8 +29,9 @@ this software on an OpenVZ based system you will — most likely — not | | 24.04 | :white_check_mark: | MariaDB can be installed without the repo setup script. | | **RHEL / Rocky Linux / AlmaLinux** | 8 | :white_check_mark: | Extra repos are required. | | | 9 | :white_check_mark: | | -| **Debian** | 11 | :white_check_mark: | | -| | 12 | :white_check_mark: | | +| **Debian** | 11 | :white_check_mark: | [Debian Dependencies](/community/installation-guides/panel/debian.md) | +| | 12 | :white_check_mark: | [Debian Dependencies](/community/installation-guides/panel/debian.md) +| | 13 | :white_check_mark: | [Debian Dependencies](/community/installation-guides/panel/debian.md) ## Dependencies