mirror of
https://gitlab.com/allianceauth/allianceauth.git
synced 2025-07-09 04:20:17 +02:00
minor formatting
This commit is contained in:
parent
60084de3db
commit
ce25deeca1
@ -75,20 +75,20 @@ nano /etc/default/docker
|
||||
Uncomment this line:
|
||||
|
||||
```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:
|
||||
|
||||
```shell
|
||||
service docker restart
|
||||
service docker restart
|
||||
```
|
||||
|
||||
Now build:
|
||||
|
||||
```shell
|
||||
./launcher bootstrap app
|
||||
./launcher start app
|
||||
./launcher bootstrap app
|
||||
./launcher start app
|
||||
```
|
||||
|
||||
## Web Server Configuration
|
||||
|
@ -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.
|
||||
|
||||
::::{tabs}
|
||||
|
||||
:::{group-tab} Ubuntu 2004, 2204
|
||||
|
||||
```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::
|
||||
|
||||
```shell
|
||||
exit
|
||||
exit
|
||||
```
|
||||
|
||||
:::
|
||||
|
@ -11,45 +11,31 @@ If you're using a small VPS to host services with very limited memory, consider
|
||||
::::{tabs}
|
||||
|
||||
:::{group-tab} Ubuntu 2004, 2204
|
||||
|
||||
:::
|
||||
:::{group-tab} CentOS 7
|
||||
|
||||
:::
|
||||
:::{group-tab} CentOS Stream 8
|
||||
|
||||
:::
|
||||
:::{group-tab} CentOS Stream 9
|
||||
|
||||
:::
|
||||
::::
|
||||
Ubuntu 1804, 2004:
|
||||
|
||||
```shell
|
||||
apt-get install apache2
|
||||
```
|
||||
|
||||
CentOS 7:
|
||||
|
||||
:::
|
||||
:::{group-tab} CentOS 7
|
||||
```shell
|
||||
yum install httpd
|
||||
```
|
||||
|
||||
Centos Stream 8, Stream 9
|
||||
|
||||
:::
|
||||
:::{group-tab} CentOS Stream 8
|
||||
```shell
|
||||
dnf install httpd
|
||||
```
|
||||
:::
|
||||
:::{group-tab} CentOS Stream 9
|
||||
```shell
|
||||
systemctl enable httpd
|
||||
systemctl start httpd
|
||||
```
|
||||
|
||||
:::
|
||||
::::
|
||||
|
||||
CentOS 7, Stream 8, Stream 9
|
||||
|
||||
```shell
|
||||
systemctl enable httpd
|
||||
```
|
||||
|
||||
```shell
|
||||
systemctl start httpd
|
||||
```
|
||||
|
||||
## Configuration
|
||||
|
||||
|
@ -83,6 +83,7 @@ Start by navigating to your main project folder (the one that has `manage.py` in
|
||||
|
||||
:::{note}
|
||||
If you installed Alliance Auth under the allianceserver user, as reccommended. Remember to switch users for easier permission management::
|
||||
:::
|
||||
|
||||
```bash
|
||||
sudo su allianceserver
|
||||
|
@ -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:
|
||||
|
||||
```shell
|
||||
redis-cli FLUSHALL
|
||||
celery -A myauth worker --purge
|
||||
redis-cli FLUSHALL
|
||||
celery -A myauth worker --purge
|
||||
```
|
||||
|
||||
Press Control+C once.
|
||||
|
@ -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.
|
||||
|
||||
:::{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}
|
||||
|
Loading…
x
Reference in New Issue
Block a user