MyST conversion

This commit is contained in:
Ariel Rin
2023-10-31 23:31:41 +10:00
parent 7024552c4e
commit 98e91fe207
25 changed files with 348 additions and 332 deletions

View File

@@ -32,13 +32,7 @@ It is recommended to ensure your OS is fully up to date before proceeding. We ma
```shell
sudo apt-get update
```
```shell
sudo apt-get upgrade
```
```shell
sudo do-dist-upgrade
```
@@ -47,9 +41,6 @@ sudo do-dist-upgrade
```shell
yum install epel-release
```
```shell
sudo yum upgrade
```
@@ -58,13 +49,7 @@ sudo yum upgrade
```shell
sudo dnf config-manager --set-enabled powertools
```
```shell
sudo dnf install epel-release epel-next-release
```
```shell
sudo yum upgrade
```
@@ -73,13 +58,7 @@ sudo yum upgrade
```shell
sudo dnf config-manager --set-enabled crb
```
```shell
sudo dnf install epel-release epel-next-release
```
```shell
sudo yum upgrade
```
@@ -96,13 +75,7 @@ Install Python 3.11 and related tools on your system.
```shell
sudo add-apt-repository ppa:deadsnakes/ppa
```
```shell
sudo apt-get update
```
```shell
sudo apt-get install python3.11 python3.11-dev python3.11-venv
```
@@ -110,31 +83,13 @@ sudo apt-get install python3.11 python3.11-dev python3.11-venv
:::{group-tab} CentOS 7, Stream 8, Stream 9
We need to build Python from source
```shell
```bash
cd ~
```
```shell
sudo yum install gcc openssl-devel bzip2-devel libffi-devel wget
```
```shell
wget https://www.python.org/ftp/python/3.11.5/Python-3.11.5.tgz
```
```shell
tar xvf Python-3.11.5.tgz
```
```shell
cd Python-3.11.5/
```
```shell
./configure --enable-optimizations --enable-shared
```
```shell
sudo make altinstall
```
@@ -219,9 +174,6 @@ sudo yum install gcc gcc-c++ unzip git redis curl bzip2-devel openssl-devel libf
```shell
sudo systemctl enable redis.service
```
```shell
sudo systemctl start redis.service
```
@@ -234,9 +186,6 @@ sudo dnf install gcc gcc-c++ unzip git redis curl bzip2-devel openssl-devel libf
```shell
sudo systemctl enable redis.service
```
```shell
sudo systemctl start redis.service
```
@@ -249,9 +198,6 @@ sudo dnf install gcc gcc-c++ unzip git redis curl bzip2-devel openssl-devel libf
```shell
sudo systemctl enable redis.service
```
```shell
sudo systemctl start redis.service
```
@@ -285,7 +231,7 @@ mysql_tzinfo_to_sql /usr/share/zoneinfo | sudo mysql -u root mysql
:::{note}
You may see errors when you add the timezone tables. To make sure that they were correctly added run the following commands and check for the ``time_zone`` tables
```bash
```shell
mysql -u root -p
use mysql;
show tables;
@@ -476,7 +422,7 @@ python /home/allianceserver/myauth/manage.py check
:::{hint}
If you are using root, ensure the allianceserver user has read/write permissions to this directory before proceeding::
```
```shell
chown -R allianceserver:allianceserver /home/allianceserver/myauth
```
@@ -511,7 +457,7 @@ The default configuration is good enough for most installations. Additional info
:::{note}
You will need to exit the allianceserver user back to a user with sudo capabilities to install supervisor::
```bash
```shell
exit
```