From e1ff9de4b690909ec7c6da3c5b50304c5d3d9ef0 Mon Sep 17 00:00:00 2001 From: Barbz Date: Wed, 15 Jan 2020 19:52:35 +0100 Subject: fix: installation.md titles H1 title must be unique --- docs/Installation.md | 50 ++++++++++++++++++++++++++------------------------ 1 file changed, 26 insertions(+), 24 deletions(-) diff --git a/docs/Installation.md b/docs/Installation.md index 389d1c9..2b6461b 100644 --- a/docs/Installation.md +++ b/docs/Installation.md @@ -1,25 +1,27 @@ -# DOCKER INSTALLATION +# AZEROTHCORE INSTALLATION + +## DOCKER INSTALLATION This page describes how to use [AzerothCore with Docker](Install-with-Docker.md). -# AWS INSTALLATION +## AWS INSTALLATION This page describes how to use [AzerothCore with AWS](aws-tutorial.md) -# DIGITALOCEAN CLOUD +## DIGITALOCEAN CLOUD This page describes how to use [AzerothCore on a Digital Ocean droplet](digital-ocean-video-tutorial.md) -# CLASSIC INSTALLATION +## CLASSIC INSTALLATION /!\ For **macOS** users: the build on mac is currently broken (see [this issue](https://github.com/azerothcore/azerothcore-wotlk/issues/122)), but you can still use AzerothCore on macOS with Docker. -## 1) Requirements +### 1) Requirements Make sure your system fits the [Requirements](Requirements.md). -## 2) Getting the source files +### 2) Getting the source files Choose one of the following method: @@ -38,9 +40,9 @@ git clone https://github.com/azerothcore/azerothcore-wotlk.git azerothcore Note: If you want to get the full history back, use `git fetch --unshallow` (if you chose option 2). -## 3) Compiling +### 3) Compiling -### Compiling on GNU/Linux or Mac OS X +#### Compiling on GNU/Linux or Mac OS X ``` cd azerothcore @@ -89,7 +91,7 @@ make -j 4 make install ``` -### Compiling on Windows +#### Compiling on Windows Open CMake, press `Browse Source...` button and select the folder that you cloned earlier then press `Browse Build...` and select a folder where the CMake will generate the build files. Press the `Configure` button. @@ -128,7 +130,7 @@ Copy `libmysql.dll` from your MYSQL_LIBRARY path into `CMAKE_INSTALL_PREFIX` **Note:** Do not use ARM architecture as azerothcore requires SSE2 and ARM doesn't support it. -## 4) Setting the configuration files +### 4) Setting the configuration files Inside the directory where you installed the binaries (e.g. `/home/youruser/azeroth-server/`), open the directory where configuration files has been installed ( `etc/` on linux ) , then: @@ -155,14 +157,14 @@ In the worldserver.conf file, also set: replacing `/home/youruser/azeroth-server` with `CMAKE_INSTALL_PREFIX`. -## 5) Download the data files +### 5) Download the data files Go to `CMAKE_INSTALL_PREFIX` and create a new directory named `data` Two options to choose from: -#### A) [Extract Client Data](http://www.azerothcore.org/wiki/Extract-Client-Data) from your own WOW client using the AzerothCore extractors (required for custom maps) -#### B) (Easier) Download directly using one of the links below: +##### A) [Extract Client Data](http://www.azerothcore.org/wiki/Extract-Client-Data) from your own WOW client using the AzerothCore extractors (required for custom maps) +##### B) (Easier) Download directly using one of the links below: Github links: @@ -183,9 +185,9 @@ Old versions links (< v8): Then, extract all the archives and place the extracted `dbc`, `maps`, `mmaps`, `vmaps` directories inside the `data` directory. -## 6) Setting up the database +### 6) Setting up the database -### Base DB setup +#### Base DB setup Follow these instructions: [Database Setup](Database-Setup). **Note**: by default, database names are configured to be named: @@ -196,18 +198,18 @@ Follow these instructions: [Database Setup](Database-Setup). if, for some reasons, you decide to name them differently, remember to edit your `authserver.conf` and `worldserver.conf` accordingly. -### Configure your auth.realmlist table +#### Configure your auth.realmlist table In the `acore_auth` database, you must fill the `realmlist` table with your connection info. It must correspond with the values in `worldserver.conf` (for realmid, flag and realmzone). - Address: 127.0.0.1 OR OR - Port : worldserver port + Address: 127.0.0.1 OR OR + Port : worldserver port -## 7) Starting the servers +### 7) Starting the servers -### GNU/Linux and Mac OS X +#### GNU/Linux and Mac OS X Open 2 terminal windows (or terminal tabs) and move to the `bin` directory of your azeroth server (for example `/home/youruser/azeroth-server/bin`), @@ -220,12 +222,12 @@ in the other one: `./worldserver` -### Windows +#### Windows Run `worldserver.exe` and `authserver.exe` from `CMAKE_INSTALL_PREFIX`. -## 8) Connecting to the server +### 8) Connecting to the server Edit your `realmlist.wtf` and add the IP you set in the realmlist table (and the port if needed). Then you can connect with a newly made account or the test accounts (`test1` to `test10`, with password `a`). @@ -243,9 +245,9 @@ You can change all the passwords at once by pasting this into the worldserver co .account set password test10 new_pass new_pass ``` -## Optional: Creating a regular user to work with on Linux +### Optional: Creating a regular user to work with on Linux Start with logging in to your Linux machine and create an account for the server itself on most recent distributions this can easily be done with the following command : ```sudo adduser ``` Note: Change `` to the preferred username of your going to use on your server. - + ```sudo su - ``` Note: Switch user to newly created `` so everything will run and compile with the user you just have created. -- cgit