Jump to content



Photo

GamePanelX Installation & Configure on Debian 6


  • Please log in to reply
5 replies to this topic

#1 Khevin

Khevin

    Advanced Member

  • Members
  • PipPipPip
  • 235 posts
  • LocationMauritius

Posted 05 August 2014 - 05:44 PM

Original Thread By maaz
 
GamePanelX Installation & Use on Debian 6

Hello Haphost 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

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
chown www-data:www-data -R /var/www
and for creating a new vhost, run
setup-vhost <hostname> (without www prefix)
dont use prefix

If it did not work then use Reboot ones i mean
cmd : Reboot to rebooting VPS

Step: 2

You have to install some more pakages to run the GamePanelX remote server:

apt-get install libmysqlclient-dev gcc make cmake php5-curl

Restart your webserver and php5-fpm

/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:
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"

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!
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)!
cd /var/www


Download the Master package, and unzip it!
If you don't have unzip install it! (apt-get install unzip)
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.

mv GamePanelX-Master-v3.0.8 gpx

Goto the gpx folder and rename configuration.new.php to configuration.php.

cd /var/www/gpx
mv configuration.new.php  configuration.php

You can delete the .zip file, you don't need it anymore.

cd /var/www
rm GamePanelX-Master-v3.0.8.zip

Make sure there are correct owner for the files or it will fail!

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!
gpx_install_1.png


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:
gpx_install_2.png

c) When you add your server, choose the Remote server! If you choose local server, the game setups will not work!
gpx_install_3.jpg

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
gpx_install_4.png

B) Select the server templates tab and click Create Template
gpx_install_5.png

c) Choose your server IP and click to Browse after the File path
gpx_install_6.png

d) Login to your VPS via SSH, and do to these:
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
gpx_install_7.png

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 smiley-grin.pngtongue.png





 
  • vyjhala likes this

Undefined/Khevin | Haphost Support Administrator

Grab Your Free VPS And Web Hosting Here!

Follow Us On Facebook Twitter Google+ LinkedIn Youtube


#2 IV4NN

IV4NN

    Newbie

  • Members
  • Pip
  • 2 posts

Posted 29 November 2014 - 11:18 AM

when uploading, it says "upload failed

 

please help



#3 devrock09

devrock09

    Newbie

  • Members
  • Pip
  • 4 posts

Posted 03 December 2014 - 05:48 PM

Can u do for me all this steps?

 

I have tried so many times. and get different errors.

 

Email ID :- devrock09@gmail.com

 

(I am Re-installing It)



#4 Arctic

Arctic

    Haphost Staff

  • Moderators
  • 341 posts
  • LocationGermany

Posted 11 April 2015 - 09:27 PM

Cant Start GTA Server

 

 

Failed: Usage: grep [OPTION]... PATTERN [FILE]... Try `grep --help' for more information. success

 

 

you can Help?^^


any support PM's be Ignored please use the Support section for it

 

Support


#5 Lampard

Lampard

    Newbie

  • Members
  • Pip
  • 6 posts

Posted 11 April 2015 - 10:33 PM

Can you make that tutorial it for Ubuntu? It would be really good if you do it.



#6 Arctic

Arctic

    Haphost Staff

  • Moderators
  • 341 posts
  • LocationGermany

Posted 11 April 2015 - 10:53 PM

Can you make that tutorial it for Ubuntu? It would be really good if you do it.

Ubuntu is based on Debian, You can also use this manual


any support PM's be Ignored please use the Support section for it

 

Support





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users