mirror of
https://github.com/pterodactyl/documentation.git
synced 2025-12-10 00:09:39 -06:00
debian-changes
This commit is contained in:
parent
381ffec0c7
commit
2cdfb2b850
@ -1,30 +1,39 @@
|
|||||||
# Debian 11 & 12
|
# Debian 11, 12 & 13
|
||||||
|
|
||||||
[[toc]]
|
[[toc]]
|
||||||
|
|
||||||
::: tip
|
::: 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
|
## Dependency Installation
|
||||||
|
|
||||||
In this guide, we will install the required dependencies for the Pterodactyl panel. After that, you can follow the official installation documentation.
|
In this guide, we will install the required dependencies for the Pterodactyl panel. After that, you can follow the official installation documentation.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
# Install necessary packages
|
# 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
|
# 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
|
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
|
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
|
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
|
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
|
curl -LsS https://r.mariadb.com/downloads/mariadb_repo_setup | sudo bash
|
||||||
|
|
||||||
|
# Update repositories list
|
||||||
|
apt update
|
||||||
|
|
||||||
# Install Dependencies
|
# 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
|
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
|
### 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).
|
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.
|
||||||
|
|||||||
@ -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.
|
|
||||||
@ -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`!
|
|
||||||
@ -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. |
|
| | 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. |
|
| **RHEL / Rocky Linux / AlmaLinux** | 8 | :white_check_mark: | Extra repos are required. |
|
||||||
| | 9 | :white_check_mark: | |
|
| | 9 | :white_check_mark: | |
|
||||||
| **Debian** | 11 | :white_check_mark: | |
|
| **Debian** | 11 | :white_check_mark: | [Debian Dependencies](/community/installation-guides/panel/debian.md) |
|
||||||
| | 12 | :white_check_mark: | |
|
| | 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
|
## Dependencies
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user