Ragnarok ro server build server setup tutorial

Ragnarok ro server build server setup tutorial

Ragnarok : Adaptation of the fantasy manga of the same name includes medieval villages representing sci-fi, forests where elves live, deserts exposed to the scorching sun, and oriental sci-fi style villages, etc. Deeply loved by players, the adventure of love and courage is about to kick off. This time, we will guard the dream of Ragnarok. RO full-screen big world adventure RPG RO starts the adventure . It is estimated that there will be many friends who want to build their own server and build their own imaginary world in the game. I am Ai Xi, and today I will bring you a practical tutorial on setting up the Ragnarok ro server. Keep up with my rhythm and let's go straight to the topic:

 

The following versions are currently open:

Legend of Ragnarok protects eternal love

Ragnarok ro love as first sight

Ragnarok ro black party

The birth of a new generation of Ragnarok ro

Setup preparation tool: (the remote tool we use in this tutorial is Finalshell)

A Centos7.6 system configuration requirements for a server (from 32H32G)

server, client

Notepad++

Note: All firewalls are turned off on the server and pagoda panels, and if you can’t operate them, you can directly find the server provider to operate them!

(Note that xxxx in this article is http, xxxxx is https, and zzz is www. I hope everyone understands it due to PT reasons)

Install pagoda and environment

Pagoda is a server operation and maintenance management software, installation command: yum install -y wget && wget -O install.sh xxxx://download.bt.cn/install/install_6.0.sh && sh install.sh 1ba5f33df

After installation, follow the prompts to log in to the Pagoda panel to install the following software

Nginx 1.20

Mysql 5.6

PHP 7.0 (extended install Redis 6.27)

 

Note: Close the firewall, open port command (Finalshell panel)

systemctl stop firewalld.service

systemctl disable firewalld.service

Upload the server.zip file to the root directory of the server (you can also upload to the root directory through the operation of the pagoda panel)

 

Unzip the server file we uploaded to the server and enter the command:

cd /

unzip hspd.zip

Give 777 permission

chmod -R 777 /RoServercode

chmod -R 777 /root

ldconfig

Installation Environment

yum install glibc.i686 -y

yum -y install gcc+ gcc- C+ +

yum install mysq|-devel -y

yum install boost-devel.x86_ 64 -y

yum install libxml2-devel.x86_ 64 -y

yum install log4cxx -devel.x86_ 64 -y

yum install jansson-devel.x86_ 64 -y

yum install git -y

After the above environment is installed, set the database password (according to what you remember)

Pagoda panel----database----root password----set password

 

Modify the database configuration file

Open in the pagoda panel ----software store----MySql----settings-----configuration modification (change lines 33 and 34)

 

Modify to the following code (save after modification)

#log- bin=mysql-bin

#binlog_ format= mixed   

Reload configuration, restart database

Then modify the database file IP in this path /root/sql/ro_global.sql

 

Find the IP in the file and change it to your server IP (except 127.0.0.1, do not modify the IP. What does this IP represent? My friends with a little basic information know what it means! Replace all other IPs in the file with yours. server IP)

After modification, save and return to the Finalshell panel to enter the command:

cd/root

./sk (import database)

Build a website

Pagoda --- website --- add site --- create your server IP+port or domain name+port

Set the website directory /www/wwwroot/game according to your actual situation

 

After the website is created, modify the two file IPs of testpay.php and index.php in the website file

 

After the website is successfully created, close the anti-cross-site

Modify the IP of the client file to your server IP (the following files are recommended to be opened and modified with Notepad++)

Generally, in the \assets\ip.txt file, just change the IP in the file to your own server IP, and throw the modified file into the original client file to replace the original file.

Then sign with ApkTool----drag the modified file directly into the ApkTool program---click more commands----sign

(Note: ApkTool needs JDK environment to start)

 

The generated apk file is placed on the desktop and then thrown into the emulator for installation

start game command

cd /RoServercode/bin/Debug

sudo ./restart

close command

cd /RoServercode/bin/Debug

sudo ./stop

Account registration address:

http://your server ip address: port/test

 

Login authentication address

http://your server ip address: port/login/index.php .

Test recharge address:

http://your server ip address: port/testpay.php

 

It will be slow when you start the game for the first time, because the data is relatively large, so you have to wait patiently for about 15 minutes....... After the game is fully started, the memory resources occupied are average It is above 20G, so those who want to try to start the server should be prepared, otherwise it is very likely that it will not start up in the end.

 

After the memory usage reaches more than 20G, we register and enter the game

 

 

In-game hairstyles, headgear, etc. can be customized according to your own preferences, so when you get here, let's start playing the game to your heart's content!

 

I'm Essie, and that's all for today's sharing. I hope it will be helpful to those in need. See you next time~

There are a lot of fun things you can do with a server!

Guess you like

Origin blog.csdn.net/V13807970340/article/details/130992849