Donate Me please 1MQimiTANAFkFy1xqhEQYkjxdLqxk4HMGj
Hello H1F members!
GamePanelX is a free control panel that can control your Game and Voice servers. It is totally free and open source.
Website: GamePanelX | The original free and open source game panel
You have to install booth Remote and Master, if you want to use all features (such as FTP, and adding game templates).
In this tutorial I'll write about how the setup and configure the GamePanelX, and setup servers for your clients!
Step: 1
First of all be sure you have installed a webserver, mysql, and php!
if not installed try it or given below codes
Code:
Only For Debian : wget -O lemp.sh http://pastie.org/pastes/7903670/download && chmod +x lemp.sh && ./lemp.sh
After that Set the Permission By This
Code:
chown www-data:www-data -R /var/www
and for creating a new vhost, run
Code:
setup-vhost <hostname> (without www prefix)
dont use prefix
If it did not work then use Reboot ones i mean
Code:
cmd : Reboot to rebooting VPS
Step: 2
You have to install some more pakages to run the GamePanelX remote server:
Code:
apt-get install libmysqlclient-dev gcc make cmake php5-curl
Restart your webserver and php5-fpm
Code:
/etc/init.d/php5-fpm restart
/etc/init.d/nginx restart
Step: 3
Connect your VPS via SSH as root and download the Remote package:
Code:
wget http://sourceforge.net/projects/gamepanelx/files/GamePanelX/GamePanelX-Remote-3.0.10.tar.gz
First login to your mysql server, and create a database named "gpx"
Code:
mysql -p[your password]
create database gpx;
Now log out from mysql (Use CTRL+D)!
Untar the package!
Go to the GamePanelX-Remote-3.0.10 folder!
And start the install script!
Code:
tar zxf GamePanelX-Remote-3.0.10.tar.gz
cd GamePanelX-Remote-3.0.10
./install.sh
The install script will ask you to create a new user for GamePanelX, use the name "gpx" and your desired password.
If you reach the question: Do you want to install FTP? Then answer with y, and it will install the FTP server.
You have to tell them the mysql datas.
When you see GamePanelX remote completed installation, you can go to the next step!
Step: 4
Go to your webserver root folder (If you used the nginx script then it will be /var/www/html)!
Code:
cd /var/www
Download the Master package, and unzip it!
If you don't have unzip install it! (apt-get install unzip)
Code:
wget http://sourceforge.net/projects/gamepanelx/files/GamePanelX/GamePanelX-Master-v3.0.8.zip
unzip GamePanelX-Master-v3.0.8.zip
There will be a folder named GamePanelX-Master-v3.0.8, we will now rename it to make it easier to work with.
Code:
mv GamePanelX-Master-v3.0.8 gpx
Goto the gpx folder and rename configuration.new. php to configuration.php.
Code:
cd /var/www/gpx
mv configuration.new.php configuration.php
You can delete the .zip file, you don't need it anymore.
Code:
cd /var/www
rm GamePanelX-Master-v3.0.8.zip
Make sure there are correct owner for the files or it will fail!
Code:
chown www-data:www-data -R /var/www
chown gpx:gpx -R /home/gpx
Step: 5
a) Now go to your website (http://[IP or domain]/gpx/install) and start installing the GamePanelX!
Fill all the gaps and click install, then delete the "install" folder (rm -rf install)
Finally go to the admin control panel: http://[IP or domain]/gpx/admin and login in!
b) Now make the steps what you see here and your admin CP:
c) When you add your server, choose the Remote server! If you choose local server, the game setups will not work!
d) Create an user account, and then you can start installing the game templates!
Step 6.)
I will now show how to install a San Andreas Multiplayer server template!
a) Go to Game setups, and choo Manage after GTA: San Andreas MP
b) Select the server templates tab and click Create Template
c) Choose your server IP and click to Browse after the File path
d) Login to your VPS via SSH, and do to these:
Code:
cd /home/gpx/uploads
wget http://files.sa-mp.com/samp03esvr_R2.tar.gz
tar zxf samp03esvr_R2.tar.gz
chown gpx:gpx -R /home/gpx/uploads
These codes will download the basic samp server for linux, and untar it, and give the owner rights to gpx.
e) Now go back to the control panel, and choose the folder uploads, then samp03, and click on the link: Click to use this folder for this template
It will create the archive for a basic San Andreas MP server, and then you can add servers to your user easily!
(For SA:MP server owners: Also don't forget to change the rcon password and port in your server.cfg!)
Thanks for reading my tutorial, I hope you have been succeed!
And if there is any problem just pm me or post reply here