cPanel Game Server Installation


cPanel Game Server Installation


cPGS is a software module that allows you to set up and run a game server. You are even able to run cPGS on its own server and games on different servers.

 

Requirements

gcc
Perl 5+
OpenSSL (including headers, usually in a separate package called something like openssl-devel or ssl-dev)
Net::SSLeay perl module
IO::Socket::SSL perl module
IPC::Run perl module

cPanel Game Server Installation Steps

1) cPGS should be installed in WHM, as the root user (not reseller), in the “Manage Plugins” section.

2) Remote servers (without cPanel installed) can be installed in WHM once cPGS has been installed. There is a link in the Game Server Management page to “Install Remote Server” which gives you several different means by which to install the server remotely. If this isn’t working for yoiu for some reason, put in a support ticket and we can help troubleshoot it.

3) After the installation on the cPanel or remote server(s), configure the /var/cpanel/cpgsd.cfg file. This applies to both remote and local installations.

allowedips: comma delimited list of IP addresses that are allowed to talk to the daemon server (default: 127.0.0.1)
logfile: path to the log for cPGSD (default: /var/log/cpgsd.log)
sslpem: the SSL PEM file to use. This can be generated by the cpgsd_install script (default: /var/cpanel/cpgs.pem)
pkgdir: location of the gameserver package files (default: /home/gameservers/)
secret: the shared secret key/pass you will use between servers. Be sure this value is the same on any servers involved in cPGS
qstat: path to the qstat binary for getting stats on some games (default: /usr/local/bin/qstat)
root: the base directory for cpgsd files (default: /var/cpanel/)
port: port that cpgsd listens on. do not change if at all possible. (default: 2092)

4) Start up the cpgsd.pl daemon on any gameserver boxes.

The start up script: /var/cpanel/cpgsd.pl
This will log data to /var/log/cpgsd.log by default.
You can change the log file by editing /var/cpanel/cpgsd.cfg and setting the logfile= variable.

5) Log into WHM on the cPanel machine and begin configuring users you will allow to run gameservers.

6) Log into the user’s cPanel account and configure the gameserver, start it up and, assuming all is well.

Thats all!!

Bu cevap yeterince yardımcı oldu mu?

Diğer Dökümanlar


  • What is cPanel and how to access it?

    CPanel is a fully featured web-based control panel that allows you to manage your domain through a web interface. cPanel gives you complete control over a vast amount of functions, streamlining...

  • CloudFlare Plugin install on cpanel

    CloudFlare is a performance and security service. With 14 points of presence around the world, a website on CloudFlare typically loads twice as fast, uses 65% less server resources, saves 60% of...

  • Enable Cronjob in cpanel and examples

    What is cron? It is the scheduling daemon of the Linux operating system Cron jobs allow you to automate repetitive tasks on the server that hosts your web site. This is a powerful tool that allows...

  • What is Anonymous FTP and how to enable it

    Anonymous FTP allows you and others that you give permission to, to access your “public_ftp” folder. There are two options available: 1. ftp://ftp.yourdomain.com –This allows...

  • Unable to connect cpanel using IP/whm and IP/cpanel

    If cpanel cannot be accessed using IP/whm and IP/cpanel, but can be accessed using IP:2086 and IP:2082, then here goes the solution for the same. The reason for this issue due to missing some...