Setup

From GamePanelX

Jump to: navigation, search

These are instructions on how to get you started after installation of both the master and slave server, and after you have created a Game Template for your game.
If you haven't completed these steps, please do so before continuing.


Log into your master server as an admin user.


Contents

1.) Configuration

On the left panel, under the section "Server Setup", click "Edit Configuration". Fill out all the fields according to your setup, and click "Update".


2.) User Information

Next, on the left panel, under "Current User", click "Edit My Information". Fill out your info here as well, and click "Submit".


3.) Create a physical Remote Server

Now you need to add your IP Address(es) into the Remote Server Manager. For starters, you need to add your main Physical IP. This is just your first IP on your system, usually your 'eth0' IP. This will be the IP the system uses to SSH into your server for commands. For each different netblock of IPs, you should create a new Physical IP.


On the left panel, under "Remote Servers", click "New Remote Server - Single". Fill out your information, and be sure to check "This is a Physical Server". Once checked, you can fill out all your SSH information for your Remote Server. Do not bother with the "Parent Server" setting, since you are creating one right now. Under "Misc Options", check "This server is available for use", and click "Submit".


4.) Add additional IP Addresses

You should now add your other IP addresses, if you have any you others you wish to use. If you have an entire span of IP's to add, for example all addresses from 1.2.3.4 to 1.2.3.16, you would use "New Remote Server - Multiple".


5.) Create a Game Template

First, you must login to your slave server via SSH and create your game server. You will create a temporary directory, and install your game server there. Once complete, you will point the Master Server to that directory's location and it will create an archive for you of that game.

Once SSH'd into your slave server, use the following commands to install your game:

cd ~/_templates

mkdir my_first_game

Next, you will run your game installation commands in this location. Every game has it's own way of being installed, so game-specific installation is beyond the scope of this.


When finished with the slave, go back to your Master Server control panel.


To create a game template, click "Create Game Template" under "Games". Select the game you want, your physical server, and enter in the entire path to the directory where your game files are housed. Under description, just give it any name, e.g. "Main counter strike template". If you wish to make this template default for the game you selected, choose "Yes" for "Make this default". Click Continue, and then "Begin Setup". It may take a few minutes to create the archive.

6.) Create a user for games

Next you will want to add a user to run a game. Let's say we want to run Counter-Strike: Source. Under the section "User Accounts", click "Create User". Fill out the required fields in 'User Information' and select "Counter-Strike: Source" under 'Game Setup'. After clicking 'Next', you will see many fields for setting up the game. If you don't know what these mean, I suggest reading up on the game server before just guessing on it's settings. Click 'Next' when done, and you will be redirected to the User Editor.

This will now extract the default game template that you just created for this game on your remote server.

You can also create a game server for an already existing user (non-admin) by going to "Create Game Server" under the section "Server Setup" on the left panel.

Personal tools