Download as txt, pdf, or txt
Download as txt, pdf, or txt
You are on page 1of 2

sudo apt update && sudo apt upgrade -y

sudo apt install --install-recommends git build-essential zlib1g-dev libpcre3


libpcre3-dev -y
====
sudo apt update && sudo apt upgrade -y
====
sudo apt install libz-dev libssl-dev libcurl-gnutls-dev libxpat1-dev gettext cmake
make gcc bsdextrautils -y
sudo apt install libmysqlclient libmariadb-dev libmariadb-dev-compat
====
sudo apt update -y
====
sudo apt install apache2 -y
====
*check status apache2*
====
sudo systemctl status apache2
====
sudo chown www-data:www-data /var/www/html
sudo chown -R 755 /var/www/html
====
sudo apt install mariadb-server -y

sudo mysql_secure_installation
hit enter (enter aja)
ganti password root untuk mariadb-server
hit y (ketik y aja)

remove anonymous user ?


hit y (ketik y)

disalow remote login root?


hit n (ketik n aja)

remove test database ?


hit y (ketik y aja)

reload privileges ?
hit y (ketik y aja)

====
*cek status mariadb*
====
sudo systemctl status mariadb

sudo apt install php -y

sudo install phpmyadmin -y

====
*cek phpmyadmin*
====
http://localhost/phpmyadmin
http://127.0.0.1/phpmyadmin
http://ip/phpmyadmin

====
*clone server*
====
git clone https://github.com/rathena/rathena.git Ragnarok-server

cd Ragnarok-server/rathena

====
*Run the configure script*
====
You can change the option

enable-prere :to yes if you want pre-renewal mode


enable-vip : if you want to enable the VIP feature
enable-packetver : to any client version you want to use.

./configure --enable-epoll=yes --enable-prere=no --enable-vip=no --enable-


packetver=20180620

atau

./configure --enable-packetver=20180620

NB : packetver = versi client exe Ragnarok kita

*Next*

make clean && make server

#Referensi#
https://github.com/rathena/rathena/wiki/Install-on-Ubuntu

You might also like