[Star Romance-Lingmeng Star] Latest arrangement of Linux manual server + dual-zone cross-server Q cute round mobile game GM authorized backend/local registration + video tutorial
Building instructions:
Warm reminder: No matter what is built, the server must install the required environment, close the firewall, and open all ports.
Close the server firewall and open all ports. Refer to Baidu
Server system: centos7.2
Star Romance linux setup tutorial
Install the pagoda
yum install -y wget wget -O install.sh http://download.bt.cn/install/install_6.0.sh sh install.sh
Build environment:
Nginx1.18
mysql 5.6
php5.6
1. Close the firewall and open ports
Run the following command using PPTY run or other command line tool
systemctl stop firewalld.service
systemctl disable firewalld.service
Pagoda release port: 1:65535
2. Batch modify the IP address of the local decompression server: 101.34.86.40
Then compress it and upload fwd.zip to the server/directory (upload according to the actual situation of the terminal, some are uploaded to the root directory)
Unzip the server
cd /
unzip fwd.zip
Grant 777 permissions
chmod -R 777 /home/
chmod -R 777 /bin/xp
3. Installation environment
Enter xp
Execute 55
Wait for the command to be executed, it will take some time
4. Configure environment variables
Add at the end of the /etc/profile file
export ERLANG_HOME=/usr/local/erlang
export PATH=$PATH:$ERLANG_HOME/bin
implement
source /etc/profile
Check
erl
Showing the following is success
Erlang/OTP 19 [erts-8.3] [source] [64-bit] [smp:4:4] [async-threads:10] [hipe] [kernel-poll:false]
Eshell V8.3 (abort with ^G)
5. Change the database password to: 123456 (direct pagoda operation)
Then import the database
Enter xp
Execute 66
6. Build a website
IP: port 88
directory/home/www/
7. Start the server
--------World Server--------Port Check 40001----------------------------- ----------
cd /home/zone/fswy_world_9999/
./start.sh
--------Central server--------Port check 40002-------------------------------- ----------
cd /home/zone/fswy_center_9000/
./start.sh
---------Area 1---------Port check 8110-40003------------------------- --------
cd /home/zone/fswy_local_110/
./start.sh
---------District 2---------Port check 8111-40004------------------------- --------
cd /home/zone/fswy_local_111/
./start.sh
8. Client modification
Decompile or compress the package to extract the files
assetsbase_setting.json(modify IP)
First modify the IP addresses of the 6 files in Client ToolsFiles to be modifiedand replace 124.223.85.144 with the server IP
Copy assetstexturestextures_business.unity3d out
Use Client ToolsAssetsBundleExtractor Chinese version32bitAssetBundleExtractor.exe file - open
After opening the file, you will be prompted with yes or yes. Select yes or yes and enter 1 to save the file.
Click on the information to find the character item below
connection
login_config
login_view
sdk_android_wrapper
sdk_ios_wrapper
shop_recharge_panel (there are 2)
After finding a character item, select Import and Save on the right side of the software and select the corresponding file in the Client ToolsFile to be modified directory.
Note: The last two identical shop_recharge_panels are imported using the same file.
After all imports are completed, click OK under the software and then click Yes.
Then file-save with a file name 2
Then click on the software’s file-compression
Open 2
Then save the file named textures_business.unity3d
Finally, replace this file to the assetstextures directory
Compile + Sign
Registration address: http://ip:88/zc
GM backend: http://ip:88/gm/gm.php
GM code:******
Player backend: http://ip:88/gm/
Collection of game setup peripheral tools:
Link: https://pan.baidu.com/s/1tDZQgJCYUM-3fT-OJeJyLw
Extraction code: 6rsp