-
Notifications
You must be signed in to change notification settings - Fork 10
Compiling on Debian GNU Linux
Johncore edited this page May 1, 2025
·
8 revisions
O Otg Server aconselha uso do Debian 10, 11 (SEMPRE EM 64 BITS)
[1. Instale o software necessário] O comando a seguir instalará Git, CMake, um compilador e as bibliotecas usadas pelo The Forgotten Server.
Detalhe: O Git será usado para baixar o código-fonte e o CMake será usado para gerar os arquivos de construção.
Comandos:
sudo apt-get install git cmake build-essential libluajit-5.1-dev libmariadb-dev-compat libboost-date-time-dev libboost-system-dev libboost-iostreams-dev libpugixml-dev libcrypto++-dev libfmt-dev libboost-filesystem-dev
[2. Baixe o código-fonte]
cd /home/ && git clone --recursive https://github.com/otg-br/otg-server.git
[3. Gere os arquivos de construção]
cd /home/otg-server/engine && mkdir build && cd build && cmake .. && make -j`nproc`
[4. Instale o LAMP] https://www.digitalocean.com/community/tutorials/how-to-install-linux-apache-mariadb-php-lamp-stack-on-debian-11
[5. Instale o PHPMYADMIN] https://www.digitalocean.com/community/tutorials/how-to-install-phpmyadmin-from-source-debian-10