The server is cross-platform meaning it will run/compile on Windows or Linux.
Linux Version is prefered for a live server as it has a 'signal handler' to monitor / restart and safely shutdown zones. It also has individual zone gdb debugging.
The windows version will need to be compiled in release mode to match the linux version or you will have random server crashes, you will also need to make sure you safely shutdown the server with
'\\order all shutdown 5' to prevent rollbacks.
Windows Setup:
Requirements: Xampp / mysql server
Create and import databases:
kor_ndev_neogeo_data
kor_ndev_neogeo_user
kor_ndev_neogeo_event
kor_ndev_neogeo_char
neogeo_web (website game admin panel)
Server and website Video setup guide:
Linux (Ubuntu LTS 64bit):
For the latest lh-dev build you only need to install these prerequisites:
sudo apt-get update
sudo apt-get upgrade
sudo dpkg --add-architecture i386
sudo apt-get update
sudo apt-get install libc6:i386 libstdc++6:i386 libexpat1:i386 zlib1g:i386 gdb
and continue with mariadb setup.
Linux (Centos 7 old deprecated.):
Requires installing the following prerequisite to run:
yum update
yum install glibc.i686
yum install compat-libstdc++-33.i686
yum install libstdc++.i686
rpm -Uvh http://li.nux.ro/download/nux/dextop/el7/x86_64/nux-dextop-release-0-1.el7.nux.noarch.rpm
yum install compat-expat1-1.95.8-16.el7.nux.i686
yum install zlib-1.2.7-18.el7.i686
> yum install zlib-1.2.11-16.2.el8_3.i686 (for centos 8)
yum install gdb
Mariadb/phpmyadmin/httpd:
yum install httpd
yum install mariadb-server mariadb
yum install php php-mysql
yum install phpmyadmin
systemctl start mariadb
systemctl start httpd
systemctl enable httpd
systemctl enable mariadb
mysql_secure_installation
mysql -u root -p
CREATE DATABASE kor_ndev_neogeo_user;
CREATE DATABASE kor_ndev_neogeo_char;
CREATE DATABASE kor_ndev_neogeo_event;
CREATE DATABASE kor_ndev_neogeo_data;
CREATE DATABASE neogeo_web;
use kor_ndev_neogeo_data;
source /home/Desktop/kor_ndev_neogeo_data.sql
use kor_ndev_neogeo_char;
source /home/Desktop/kor_ndev_neogeo_char.sql
use kor_ndev_neogeo_event;
source /home/Desktop/kor_ndev_neogeo_event.sql
use kor_ndev_neogeo_user;
source /home/Desktop/kor_ndev_neogeo_user.sql
use neogeo_web;
source /home/Desktop/neogeo_web.sql
Check config in /config/ config.json, messenger_config.json, packet_sniffing.json
Check ports are opened in firewall:
TCP: 4021,4001,4030,4003,4004,4005,4006,4007,4008,4009,4010,4032,4033,4022,4023,4024,4025,4026,4027,4028,4034,4029,4031,4002,4035,4036
Keep port 4011 Closed, unless you changed the default packet encryption key. (or you are using lh-dev builds - this port is disabled)
Check you have permission to run the server scripts or change permission with:
chmod 755 * -R
./serverrestart.sh
If there’s any problems running the server you will see it in the log files /log/