How to Install OGP Agent Server on CentOS 7 In Just 2 Steps!

Install OGP Agent

Open Game Panel or OGP is an online PHP and MySQL based game panel which can be used to manage game through the web interface. OGP brings ease for gaming community owners to host their game servers on their VPS and control it easily without logging into SSH every time. When installing, OGP has got two structures to be installed before it is fully available to start being used. First one is an agent and the second is the panel. Let’s see what are those.

Open Game Panel Structures

The OGP panel is divided into two structures, the first one is an agent and the second is a panel. Let’s see what a panel is.

OGP Panel

OGP Panel is a web GUI which is used to manage the games hosted on a particular server. It consists of “Start”, “Stop”, “Restart” and other necessary buttons required to operate a game server without logging into SSH of the server. In simple words, it is a web application, a collection of PHP files and MySQL database. It is useless without a remote server, ie, an agent.

OGP Agent

As mentioned above, the OGP Panel is useless without a remote server, aka, an agent. OGP Agent is a remote/local server which is where the games are hosted. The panel first connects to the agent and then the panel operator can make a game server. When an action/operation is executed through the panel, the panel sends a request to the agent and that is where it is processed.

In this article, we’re going to learn how to install OGP agent on a CentOS 7 machine. Before we begin, we will see the system requirements needed to install a complete OGP installation.

System Requirements

  • Minimum 512 MB RAM
  • 4 GB minimum disk space
  • At least 1 vCore/Core
  • CentOS 7 OS(For this tutorial, we’ll be using CentOS 7. OGP can be installed on other OS too.)

Let’s begin!

How To Install OGP Agent server on a CentOS 7 machine

Connect to your VPS using SSH client, Putty. If you don’t know how to, read this article to know how to connect to a VPS using Putty.

Step 1 – Installing Necessary Packages

So starting from number one, we’re going to update the server’s packages using Yum package manager. Let’s begin!

sudo yum update

If it asks for any confirmation, press Y and then hit the Enter button to proceed to update the packages. And when it is done, we’ll install a few other packages that are needed.

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

Copy and then paste both lines and press Enter. It will begin installing all necessary packages. Since we already had mentioned “-y” which means automatically accept all confirmations, it will not ask you for any confirmation to proceed.

Step 2 – Downloading and Installing OGP Agent files.

This will first download the OGP Easy Installer package and name it as per requirement.

wget -N "https://github.com/OpenGamePanel/Easy-Installers/raw/master/Linux/CentOS/ogp_agent_rpm-1.0.0-1.noarch.rpm" -O "ogp_agent.rpm"
sudo yum install -y "ogp_agent.rpm"

The second line installs the downloaded package named “ogp_agent.rpm” with “-y” which means already confirming all necessary packages included in it to be installed.

Now the OGP has been installed. To connect OGP Agent with the panel, the panel will ask for an agent encryption key. After installing with the steps above, it will automatically generate an encryption key in your root directory. To get it, use the below-mentioned command.

sudo cat /root/ogp_enc_key

We’re done!


A VPS to Install OGP Agent on!

Planning to install your own OGP agent? You would definitely need a VPS server, to begin with. With Shadow Hosting, we bring you the best and one of the most affordable VPS hosting! If you need any help regarding OGP installation on your Shadow Hosting’s VPS, we would be grateful to help you out!

Conclusion

Thank you for reading our article. Your thoughts are very much appreciated in our comment section below.

About Manal Shaikh 17 Articles
Manal Shaikh, the Founder of Shadow Networks International and CEO/Chairman of Shadow Hosting International. A cybersecurity analyst, network analyst and a web administrator.

Be the first to comment

Leave a Reply

Your email address will not be published.


*


CommentLuv badge