minor formatting

This commit is contained in:
Ariel Rin 2023-10-31 23:52:34 +10:00
parent 60084de3db
commit ce25deeca1
No known key found for this signature in database
6 changed files with 22 additions and 36 deletions

View File

@ -75,20 +75,20 @@ nano /etc/default/docker
Uncomment this line: Uncomment this line:
```ini ```ini
DOCKER_OPTS="--dns 8.8.8.8 --dns 8.8.4.4" DOCKER_OPTS="--dns 8.8.8.8 --dns 8.8.4.4"
``` ```
Restart Docker: Restart Docker:
```shell ```shell
service docker restart service docker restart
``` ```
Now build: Now build:
```shell ```shell
./launcher bootstrap app ./launcher bootstrap app
./launcher start app ./launcher start app
``` ```
## Web Server Configuration ## Web Server Configuration

View File

@ -27,7 +27,6 @@ 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. 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} ::::{tabs}
:::{group-tab} Ubuntu 2004, 2204 :::{group-tab} Ubuntu 2004, 2204
```shell ```shell
@ -458,7 +457,7 @@ The default configuration is good enough for most installations. Additional info
You will need to exit the allianceserver user back to a user with sudo capabilities to install supervisor:: You will need to exit the allianceserver user back to a user with sudo capabilities to install supervisor::
```shell ```shell
exit exit
``` ```
::: :::

View File

@ -11,45 +11,31 @@ If you're using a small VPS to host services with very limited memory, consider
::::{tabs} ::::{tabs}
:::{group-tab} Ubuntu 2004, 2204 :::{group-tab} Ubuntu 2004, 2204
:::
:::{group-tab} CentOS 7
:::
:::{group-tab} CentOS Stream 8
:::
:::{group-tab} CentOS Stream 9
:::
::::
Ubuntu 1804, 2004:
```shell ```shell
apt-get install apache2 apt-get install apache2
``` ```
:::
CentOS 7: :::{group-tab} CentOS 7
```shell ```shell
yum install httpd yum install httpd
``` ```
:::
Centos Stream 8, Stream 9 :::{group-tab} CentOS Stream 8
```shell ```shell
dnf install httpd dnf install httpd
``` ```
:::
:::{group-tab} CentOS Stream 9
```shell
systemctl enable httpd
systemctl start httpd
```
:::
::::
CentOS 7, Stream 8, Stream 9 CentOS 7, Stream 8, Stream 9
```shell
systemctl enable httpd
```
```shell
systemctl start httpd
```
## Configuration ## Configuration

View File

@ -83,6 +83,7 @@ Start by navigating to your main project folder (the one that has `manage.py` in
:::{note} :::{note}
If you installed Alliance Auth under the allianceserver user, as reccommended. Remember to switch users for easier permission management:: If you installed Alliance Auth under the allianceserver user, as reccommended. Remember to switch users for easier permission management::
:::
```bash ```bash
sudo su allianceserver sudo su allianceserver

View File

@ -25,8 +25,8 @@ Make sure the background processes are running: `supervisorctl status myauth:`.
Stop celery workers with `supervisorctl stop myauth:worker` then clear the queue: Stop celery workers with `supervisorctl stop myauth:worker` then clear the queue:
```shell ```shell
redis-cli FLUSHALL redis-cli FLUSHALL
celery -A myauth worker --purge celery -A myauth worker --purge
``` ```
Press Control+C once. Press Control+C once.

View File

@ -3,7 +3,7 @@
The official installation guide will install a stable version of Alliance Auth that will work fine for most cases. However, there are a lot of levels that can be used to optimize a system. For example some installations may we short on RAM and want to reduce the total memory footprint, even though that may reduce system performance. Others are fine with further increasing the memory footprint to get better system performance. The official installation guide will install a stable version of Alliance Auth that will work fine for most cases. However, there are a lot of levels that can be used to optimize a system. For example some installations may we short on RAM and want to reduce the total memory footprint, even though that may reduce system performance. Others are fine with further increasing the memory footprint to get better system performance.
:::{warning} :::{warning}
Tuning usually has benefits and costs and should only be performed by experienced Linux administrators who understand the impact of tuning decisions on to their system. Tuning usually has benefits and costs and should only be performed by experienced Linux administrators who understand the impact of tuning decisions on to their system.
::: :::
:::{toctree} :::{toctree}