From 9b4321281ad60762d36b10ddba6052403f3ec6da Mon Sep 17 00:00:00 2001 From: colcrunch Date: Mon, 9 Sep 2024 03:58:47 +0000 Subject: [PATCH] [Docs] Add shell option to adduser command for Ubuntu install docs --- docs/installation/allianceauth.md | 18 +++++++++--------- docs/installation/apache.md | 6 +++--- docs/installation/nginx.md | 2 +- docs/installation/upgrade_python.md | 2 +- 4 files changed, 14 insertions(+), 14 deletions(-) diff --git a/docs/installation/allianceauth.md b/docs/installation/allianceauth.md index 117b8fd7..de0f9de4 100644 --- a/docs/installation/allianceauth.md +++ b/docs/installation/allianceauth.md @@ -27,7 +27,7 @@ To install on your favorite flavour of Linux, identify and install equivalent pa It is recommended to ensure your OS is fully up-to-date before proceeding. We may also add Package Repositories here, used later in the documentation. ::::{tabs} -:::{group-tab} Ubuntu 2004, 2204 +:::{group-tab} Ubuntu 2004, 2204, 2404 ```shell sudo apt-get update @@ -70,7 +70,7 @@ Install Python 3.11 and related tools on your system. ::::{tabs} -:::{group-tab} Ubuntu 2004, 2204 +:::{group-tab} Ubuntu 2004, 2204, 2404 ```shell sudo add-apt-repository ppa:deadsnakes/ppa @@ -128,7 +128,7 @@ sudo make altinstall It's recommended to use a database service instead of SQLite. Many options are available, but this guide will use MariaDB 10.11 ::::{tabs} -:::{group-tab} Ubuntu 2004, 2204 +:::{group-tab} Ubuntu 2004, 2204, 2404 Follow the instructions at to add the MariaDB repository to your host. ```shell @@ -164,7 +164,7 @@ sudo dnf install mariadb mariadb-server mariadb-devel :::::{important} ::::{tabs} -:::{group-tab} Ubuntu 2004, 2204 +:::{group-tab} Ubuntu 2004, 2204, 2404 If you don't plan on running the database on the same server as auth you still need to install the `libmysqlclient-dev` package ::: :::{group-tab} CentOS 7 @@ -185,7 +185,7 @@ A few extra utilities are also required for the installation of packages. ::::{tabs} -:::{group-tab} Ubuntu 2004, 2204 +:::{group-tab} Ubuntu 2004, 2204, 2404 ```shell curl -fsSL https://packages.redis.io/gpg | sudo gpg --dearmor -o /usr/share/keyrings/redis-archive-keyring.gpg @@ -282,10 +282,10 @@ mysql_secure_installation For security and permissions, it’s highly recommended you create a separate user to install auth under. Do not log in as this account. ::::{tabs} -:::{group-tab} Ubuntu 2004, 2204 +:::{group-tab} Ubuntu 2004, 2204, 2404 ```shell -sudo adduser --disabled-login allianceserver +sudo adduser --disabled-login allianceserver --shell /bin/bash ``` ::: @@ -497,7 +497,7 @@ exit ::::{tabs} -:::{group-tab} Ubuntu 2004, 2204 +:::{group-tab} Ubuntu 2004, 2204, 2404 ```shell sudo apt-get install supervisor @@ -554,7 +554,7 @@ sudo systemctl start supervisord.service Once installed, it needs a configuration file to know which processes to watch. Your Alliance Auth project comes with a ready-to-use template which will ensure the Celery workers, Celery task scheduler and Gunicorn are all running. ::::{tabs} -:::{group-tab} Ubuntu 2004, 2204 +:::{group-tab} Ubuntu 2004, 2204, 2404 ```shell ln -s /home/allianceserver/myauth/supervisor.conf /etc/supervisor/conf.d/myauth.conf diff --git a/docs/installation/apache.md b/docs/installation/apache.md index ab911057..1065eb50 100644 --- a/docs/installation/apache.md +++ b/docs/installation/apache.md @@ -10,7 +10,7 @@ If you're using a small VPS to host services with very limited memory, consider ::::{tabs} -:::{group-tab} Ubuntu 2004, 2204 +:::{group-tab} Ubuntu 2004, 2204, 2404 ```shell apt-get install apache2 @@ -50,7 +50,7 @@ CentOS 7, Stream 8, Stream 9 Apache needs to be able to read the folder containing your auth project's static files. ::::{tabs} -:::{group-tab} Ubuntu 2004, 2204 +:::{group-tab} Ubuntu 2004, 2204, 2404 ```shell chown -R www-data:www-data /var/www/myauth/static @@ -87,7 +87,7 @@ Apache serves sites through defined virtual hosts. These are located in `/etc/ap A virtual host for auth needs only proxy requests to your WSGI server (Gunicorn if you followed the installation guide) and serve static files. Examples can be found below. Create your config in its own file e.g. `myauth.conf` ::::{tabs} -:::{group-tab} Ubuntu 2004, 2204 +:::{group-tab} Ubuntu 2004, 2204, 2404 To proxy and modify headers a few mods need to be enabled. ```shell diff --git a/docs/installation/nginx.md b/docs/installation/nginx.md index ed8136e2..ba6ea3c7 100644 --- a/docs/installation/nginx.md +++ b/docs/installation/nginx.md @@ -42,7 +42,7 @@ You will need to have [Gunicorn](gunicorn.md) or some other WSGI server setup fo ## Install ::::{tabs} -:::{group-tab} Ubuntu 2004, 2204 +:::{group-tab} Ubuntu 2004, 2204, 2404 ```shell sudo apt-get install nginx diff --git a/docs/installation/upgrade_python.md b/docs/installation/upgrade_python.md index 8bbff7ab..4449c574 100644 --- a/docs/installation/upgrade_python.md +++ b/docs/installation/upgrade_python.md @@ -25,7 +25,7 @@ sudo dnf install python39 python39-devel ::: ::::{tabs} -:::{group-tab} Ubuntu 2004, 2204 +:::{group-tab} Ubuntu 2004, 2204, 2404 ```shell sudo add-apt-repository ppa:deadsnakes/ppa