Vorwort: Dieser Thread basiert auf dem Template vom lieben
°"Crazy"° der bereits für Linux Debian 9.x - Codename "Jessy" ein Tutorial angefertigt hat. Ich verwende allerdings das reine Linux System, da ich keinen Support für Windows Systeme anbiete.
Linux Debian 10.x - Codename "Buster"
Core
°"Crazy"° der bereits für Linux Debian 9.x - Codename "Jessy" ein Tutorial angefertigt hat. Ich verwende allerdings das reine Linux System, da ich keinen Support für Windows Systeme anbiete.
Linux Debian 10.x - Codename "Buster"
Core
Systemanforderrungen
Code:
Prozessor mit SSE2 Support Boost ≥ 1.67 MySQL ≥ 5.7.0 OpenSSL ≥ 1.0.x CMake ≥ 3.13.4 Clang ≥ 5 (dringend empfohlen, speziell im master branch) or GCC ≥ 7.1.0 zlib ≥ 1.2.7
Debian 10.x
Code:
apt-get update apt-get install sudo screen git clang cmake make gcc g++ libmariadbclient-dev libssl-dev libbz2-dev libreadline-dev libncurses-dev libboost-all-dev mariadb-server p7zip default-libmysqlclient-dev -y update-alternatives --install /usr/bin/cc cc /usr/bin/clang 100 update-alternatives --install /usr/bin/c++ c++ /usr/bin/clang 100
Code:
apt-get update apt-get install sudo screen git clang cmake make gcc g++ libmariadbclient-dev libssl-dev libbz2-dev libreadline-dev libncurses-dev libboost-all-dev mariadb-server p7zip libmariadb-client-lgpl-dev-compat -y update-alternatives --install /usr/bin/cc cc /usr/bin/clang 100 update-alternatives --install /usr/bin/c++ c++ /usr/bin/clang 100
Vermeide die Verwendung von UBUNTU LTS Versionen und CentOS
Benutzer mit Homeverzeichnis erstellen & Wechsel zum Benutzer
Code:
sudo adduser <username> sudo su - <username>
Download 3.3.5A (wotlk client)
Code:
cd ~/ git clone -b 3.3.5 git://github.com/TrinityCore/TrinityCore.git
Code:
cd ~/ git clone -b master git://github.com/TrinityCore/TrinityCore.git
Code:
cd TrinityCore mkdir build cd build cmake ../ -DCMAKE_INSTALL_PREFIX=/home/$USER/server -DTOOLS=1 -DWITH_WARNINGS=0
(1) Kompilierung für SingleCore
Code:
make make install
Code:
make -j $(nproc) install
Datenbank
1. MySQL 5.7 Server Konfiguration
Diesen Schritt führen wir wieder als Root User durch.
Wir benutzen nun ein FTP Programm unserer Wahl und verbinden uns auf dem Linux Server. Dann wechseln wir in folgendes Verzeichniss.
Code:
/etc/mysql/mariadb.conf.d
Code:
bind-address = 127.0.0.1
Nun geben wir in der Console noch ein Paar weitere Befehle ein, um den MySQL Server endgültig einzurichten.
MySQL Server neustarten.Quote:
mysql_secure_installation
NOTE: RUNNING ALL PARTS OF THIS SCRIPT IS RECOMMENDED FOR ALL MariaDB
SERVERS IN PRODUCTION USE! PLEASE READ EACH STEP CAREFULLY!
In order to log into MariaDB to secure it, we'll need the current
password for the root user. If you've just installed MariaDB, and
you haven't set the root password yet, the password will be blank,
so you should just press enter here.
Enter current password for root (enter for none): Wir haben am Anfang kein Passwort, deswegen lassen wir das hier leer und drücken Enter!
OK, successfully used password, moving on...
Setting the root password ensures that nobody can log into the MariaDB
root user without the proper authorisation.
You already have a root password set, so you can safely answer 'n'.
Change the root password? [Y/n] Y
Hier wollen wir ein neues Passwort für den MYSQL Root User festlegen.
By default, a MariaDB installation has an anonymous user, allowing anyone
to log into MariaDB without having to have a user account created for
them. This is intended only for testing, and to make the installation
go a bit smoother. You should remove them before moving into a
production environment.
Remove anonymous users? [Y/n] y
... Success!
Normally, root should only be allowed to connect from 'localhost'. This
ensures that someone cannot guess at the root password from the network.
Disallow root login remotely? [Y/n] y
... Success!
By default, MariaDB comes with a database named 'test' that anyone can
access. This is also intended only for testing, and should be removed
before moving into a production environment.
Remove test database and access to it? [Y/n] y
- Dropping test database...
... Success!
- Removing privileges on test database...
... Success!
Reloading the privilege tables will ensure that all changes made so far
will take effect immediately.
Reload privilege tables now? [Y/n] y
... Success!
Cleaning up...
All done! If you've completed all of the above steps, your MariaDB
installation should now be secure.
Thanks for using MariaDB!
Code:
service mysql restart service mariadb restart
Code:
mysql -u root -pWirBenutzenUnserRootPasswort
Code:
\. /home/trinity/TrinityCore/sql/create/create_mysql.sql use auth; \. /home/trinity/TrinityCore/sql/base/auth_database.sql use characters; \. /home/trinity/TrinityCore/sql/base/characters_database.sql quit
[Only registered and activated users can see links. Click Here To Register...]
Die Datenbank von dem Worldserver entpacken wir auf unserem Desktop und laden diese anschließend per FTP in unser Hauptverzeichniss vom Server hoch, der Pfad ist dazu folgender.
Code:
/home/trinity/server/bin/
Sobald wir diese Schritte nun alle fertig haben. Testen wir einmal ob der Server funktioniert mit den Befehlen
Code:
./authserver ./worldserver
Code:
screen -AmdS AuthServer ./authserver screen -AmdS WorldServer ./worldserver
Damit der Server auch online ereichbar ist, müsst ihr euch am besten per [Only registered and activated users can see links. Click Here To Register...] einmal mit dem Datenbankserver verbinden. Kleine Bebilderrung.
[Only registered and activated users can see links. Click Here To Register...]
[Only registered and activated users can see links. Click Here To Register...]
Soweit sollte dann alles funktionieren und ihr setzt in der Datenbank "auth" in der Tabelle "realmlist" im Feld "address" eure ServerIP hinein.
[Only registered and activated users can see links. Click Here To Register...]
Fertig. Viel Spaß auf eurem Server :)
(c) by °"Crazy"° - elitepvpers.com - Updated by .Neø
KOPIEREN DIESES GEISTIGEN EIGENTUMS IST NUR MIT MEINER EINWILLIGUNG, DESSEN FORM SCHRIFTLICH VERLANGT WERDEN MUSS, ERLAUBT. ALLE VERVIELFÄLTIGUNGEN DIESES THREADS OHNE MEINE EINWILLIGUNG IST EINE STRAFTAT UND WIRD SOMIT AUCH GEAHNDET!