Skip to content

Commit

Permalink
docs: improve Debian Requirements and acore.sh installation guide (#989)
Browse files Browse the repository at this point in the history
  • Loading branch information
sudlud authored Aug 18, 2024
1 parent 82abe33 commit de65c8d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 15 deletions.
4 changes: 3 additions & 1 deletion docs/ac-dashboard-core-installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ NOTE: on Windows it must be executed as an administrator

### Set-up the database

- Either connect to your MySQL database (with `sudo mysql -u root`) and manually create the `acore` MySQL user by running:
- Connect to your MySQL database (with `sudo mysql -u root`) and manually create the `acore` MySQL user by running:

```
DROP USER IF EXISTS 'acore'@'localhost';
Expand Down Expand Up @@ -106,6 +106,8 @@ The `worldserver` and `authserver` binaries are located in `azerothcore-wotlk/en
You can either run them directly or use the restarter (see below).
The first startup of the `worldserver` will install a full AzerothCore Database. No need to import any DB update at this point.

Please also see [Networking](networking) and [Final Server Steps](final-server-steps).

### Restarter

The AzerothCore dashboard comes with a bundled restarter suite:
Expand Down
21 changes: 7 additions & 14 deletions docs/linux-requirements.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,37 +47,30 @@ sudo apt install -y install libboost1.74-dev

---

#### Debian 10 / Debian 12
#### Debian 12


```sh
sudo apt-get update && sudo apt-get install git cmake make gcc g++ clang default-libmysqlclient-dev libssl-dev libbz2-dev libreadline-dev libncurses-dev libboost-all-dev lsb-release gnupg wget
apt-get update && apt-get install -y git cmake make gcc g++ clang default-libmysqlclient-dev libssl-dev libbz2-dev libreadline-dev libncurses-dev libboost-all-dev lsb-release gnupg wget
```

Remember that if you are using the `root` user, it is not necessary to use `sudo`.

**Note:** If you add the option `-y` and at the end of the list, it will start installing them without the need for you to confirm.

**Example:**

```sh
apt-get update && apt-get install git cmake make gcc g++ clang default-libmysqlclient-dev libssl-dev libbz2-dev libreadline-dev libncurses-dev libboost-all-dev lsb-release gnupg wget -y
```
**Note:** By using the option `-y`, it will start installing without the need for you to confirm.

---

#### Install MYSQL

Non-Interactive install using `DEBIAN_FRONTEND="noninteractive"` to install the latest MYSQL-LTS release, e.g. `mysql-8.4-lts` without any user prompts showing up.

```sh
wget https://dev.mysql.com/get/mysql-apt-config_0.8.32-1_all.deb
sudo dpkg -i ./mysql-apt-config_0.8.32-1_all.deb
sudo DEBIAN_FRONTEND="noninteractive" dpkg -i ./mysql-apt-config_0.8.32-1_all.deb
sudo apt-get update
sudo apt-get install mysql-server --yes
sudo mysql_secure_installation --use-default
sudo DEBIAN_FRONTEND="noninteractive" apt-get install -y mysql-server
```

Install the latest MYSQL-LTS release, e.g. select `MYSQL Server & Cluster` -> `mysql-8.4-lts`

---

#### Check your clang version
Expand Down

0 comments on commit de65c8d

Please sign in to comment.