Video Comparer

Find duplicate videos, keep better quality, save disk space

Galaxy Online 2 Private Server Install -

You may need to mark binaries as executable:

chmod +x /GO2_Server/GameServer/GameServer
chmod +x /GO2_Server/GameServer/LoginServer
chmod +x /GO2_Server/GameServer/MapServer

Run in separate terminal sessions (or use screen):

screen -S login
./LoginServer
# Ctrl+A, D to detach

screen -S game ./GameServer

screen -S map ./MapServer

Alternatively, create a startup script start_servers.sh:

#!/bin/bash
./LoginServer &
./GameServer &
./MapServer &

To successfully install a private server, one must understand the underlying architecture of the original game. galaxy online 2 private server install

Create /var/www/html/register.php:

<?php
$conn = new mysqli('localhost', 'go2_user', 'your_strong_password', 'go2_db');
if($_POST['sub']) 
    $user = $_POST['user'];
    $pass = md5($_POST['pass']);
    $conn->query("INSERT INTO accounts (username, password) VALUES ('$user', '$pass')");
    echo "Account created. <a href='index.html'>Login</a>";
?>
<form method=post>
User: <input name=user><br>
Pass: <input name=pass type=password><br>
<input type=submit name=sub value=Register>
</form>

We’ll assume you have a fresh Ubuntu 22.04 server. Commands are for Linux, but Windows users can use WSL or native .exe versions.

sudo mysql_secure_installation
sudo mysql -u root -p

Inside MySQL:

CREATE DATABASE go2_db CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
CREATE USER 'go2_user'@'localhost' IDENTIFIED BY 'your_strong_password';
GRANT ALL PRIVILEGES ON go2_db.* TO 'go2_user'@'localhost';
FLUSH PRIVILEGES;
EXIT;

Import the database schema:

mysql -u go2_user -p go2_db < /path/to/GO2_Server/Database/go2_db.sql

Edit /GO2_Server/GameServer/Config/database.ini:

[Database]
Host = 127.0.0.1
Port = 3306
User = go2_user
Password = your_strong_password
Database = go2_db

Edit world.ini:

[World]
ServerName = My Private Galaxy
MaxPlayers = 100
GamePort = 9933
LoginPort = 843
MapPort = 9934

| Component | Recommended | |-----------|--------------| | OS | Ubuntu 20.04/22.04 LTS (or Windows Server 2019/Windows 10/11) | | Database | MySQL 5.7 or MariaDB 10.6 | | Web Server | Apache 2.4 or Nginx (for hosting the SWF client) | | PHP | 7.4 (some versions require 5.6 for legacy login scripts) | | Java | OpenJDK 11 (some server tools use Java) | | Flash Player | Standalone Flash Player Projector (for testing) |