ElitesHost Forums

Full Version: [Tutorial]How To Install Open Game Panel [CentOS 6 & 7]
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

Luke Graham

[Image: vsncjt.png]


Open Game Panel Agent Installation:
CentOS 7:

Firstly we you need to update & install some prerequisites by using the following commands:
PHP Code:
sudo yum -y update
sudo yum 
-y install epel-release wget subversion git
sudo yum install 
-y perl-HTTP-Daemon perl-LWP-Protocol-http10 proftpd proftpd-utils perl-ExtUtils-MakeMaker glibc.i686 glibc libgcc_s.so.1 perl-IO-Compress-Bzip2 

CentOS 6:
PHP Code:
sudo yum -y update
sudo yum 
-y install epel-release wget subversion git
sudo yum install 
-y perl-libwww-perl proftpd proftpd-utils perl-ExtUtils-MakeMaker glibc.i686 glibc libgcc_s.so.1 perl-IO-Compress-Bzip2 

Both CentOS 6 & 7:

This is the command to download and install the latest OGP RPM Agent Package:
PHP Code:
wget -"https://github.com/OpenGamePanel/Easy-Installers/raw/master/Linux/CentOS/ogp_agent_rpm-1.0.0-1.noarch.rpm" -"ogp_agent.rpm"
sudo yum install -"ogp_agent.rpm" 

CentOS 6 ProFTPD:

This command is to get your FTP Service working (Applies only to CentOS 6):
PHP Code:
sudo sed -"s/^LoadModule\( \)*mod_auth_file.c/#LoadModule mod_auth_file.c/g" "/etc/proftpd.conf"
sudo service proftpd restart 

Both CentOS 6 & 7:

To get your OGP Agent encryption key for the panel you need to run the following command:
PHP Code:
sudo cat /root/ogp_enc_key 
And copy this information on a Notepad (This will be needed to by the OGP Panel).

To get your OGP User Password for the panel you need to run the following command:
PHP Code:
sudo cat /root/ogp_user_sudo_pass 
And copy this information on a Notepad (This will be needed to by the OGP Panel).

And lastly your open game panel username is:
PHP Code:
ogp_agent 

Your Open Game Panel Agent has been successfully installed (100% Tested & Working)


Open Game Panel Web Panel Installation:
CentOS 7:

Firstly we need to install some prerequisites by running the following command:
PHP Code:
sudo yum -y install epel-release wget subversion git
sudo yum 
-y install mariadb-server
sudo service mariadb restart
sudo mysql_secure_installation 

CentOS 6:
PHP Code:
sudo yum -y install epel-release wget subversion git
sudo yum 
-y install mysql-server
sudo service mysqld restart
sudo mysql_secure_installation
sudo chkconfig mysqld on 

Both CentOS 6 & 7:

While the MySQL installing is in progress, you will be prompted to set your root password, and write down the password you use, as you will need it later.

Now we can download and install the OGP Web Panel by running the following commands:
PHP Code:
wget -"https://github.com/OpenGamePanel/Easy-Installers/raw/master/Linux/CentOS/ogp_panel_rpm-1.0.0-1.noarch.rpm" -"ogp_panel.rpm"
sudo yum -y install "ogp_panel.rpm" 

It may take 5 - 10 minutes before this step completes

Run the following command to create a database for your OGP Web Panel software:
PHP Code:
sudo bash /var/www/html/create_db.sh 

After running the command above, restart your server! This is very important. If you do NOT restart, you will have problems completing the web installation:
PHP Code:
sudo shutdown -r now 

Once your VPS has been successfully restarted, open a browser such as Google Chrome and go to, http://YourVPSIP, once you come to the database part run the following command to get the info:
PHP Code:
sudo cat /root/ogp_panel_mysql_info 

And finally get your OGP Agent encryption key (If you didn't copy it in your notepad) by running the following command:
PHP Code:
sudo cat /root/ogp_enc_key 

If your OGP Web Panel doesn't load on your browser its because of the IPTables firewall issues and run the following command (Applies only for CentOS 6):
PHP Code:
sudo iptables -D INPUT 5
sudo service iptables save
sudo service iptables restart 

Your Open Game Panel Web Panel has been successfully installed (98.3% Tested & Working)
Enjoy Your Newly Installed Panel!