11-05-2016, 03:18 PM
Install OpenGamePanel Agent on centos 5/6/7 , i saw another Post how to Install OGP But not Cent OS , but before installing panel you should install Agent
Update your System:
Install wget:
Then:
WARNING: In Centos 7 disable firewall with For CentOS7 Only)
Install EPEL Repository and distribution dependencies
CentOS-5
CentOS-6
CentOS-7
Download ogp_agent-3264-1.noarch.rpm
CentOS-5
CentOS 6/7
Now we'll Install the package and dependencies as root or using sudo:
and If your System 64 Bits use this code!
Now Change the user and group ownership of the agent files to ogp_agent so it can update itself.
Then start the service and add it to the system startup, the first time you will be asked for a new password, new encription key and if you accept the Steam license (root or sudo):
Once configured:
After starting the agent, check that is running (root or sudo):
Then use this :
To detach, and back to shell, press Ctrl+A+D.
Now after Installing OGP_Agent go and install Panel more infor Here: Click me
Special Thanks tp OGP Community and Post4VPS
Update your System:
Code: (Select All)
yum update
Install wget:
Code: (Select All)
yum install wget
Then:
Code: (Select All)
sed -i 's|SELINUX=enforcing|SELINUX=disabled|' /etc/selinux/config
setenforce 0
service iptables stop
chkconfig iptables off
WARNING: In Centos 7 disable firewall with For CentOS7 Only)
Code: (Select All)
systemctl stop firewalld
systemctl disable firewalld
Install EPEL Repository and distribution dependencies
CentOS-5
Code: (Select All)
wget http://dl.fedoraproject.org/pub/epel/5/i386/epel-release-5-4.noarch.rpm
rpm -Uvh epel-release-5-4.noarch.rpm
rm -f epel-release-5-4.noarch.rpm
sed -i "s/gpgcheck=./gpgcheck=0/g" /etc/yum.conf
yum install -y perl-IO-Compress-Bzip2 Pure-FTPd
cpan -i Archive::Tar
CentOS-6
Code: (Select All)
wget http://dl.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm
rpm -Uvh epel-release-6-8.noarch.rpm
rm -f epel-release-6-8.noarch.rpm
yum install -y perl-ExtUtils-MakeMaker Pure-FTPd perl-IO-Compress-Bzip2 Pure-FTPd
CentOS-7
Code: (Select All)
wget http://dl.fedoraproject.org/pub/epel/beta/7/x86_64/epel-release-7-0.2.noarch.rpm
rpm -Uvh epel-release-7-0.2.noarch.rpm
rm -f epel-release-7-0.2.noarch.rpm
yum install -y perl-HTTP-Daemon perl-LWP-Protocol-http10 proftpd proftpd-utils perl-ExtUtils-MakeMaker
Download ogp_agent-3264-1.noarch.rpm
CentOS-5
Code: (Select All)
wget -O ogp_agent-3264-1.noarch.rpm http://sourceforge.net/projects/hldstart/files/OpenGamePanel/Centos_Installers/Centos5/ogp_agent-3264-1.noarch.rpm/download
CentOS 6/7
Code: (Select All)
wget -O ogp_agent-3264-1.noarch.rpm http://sourceforge.net/projects/hldstart/files/OpenGamePanel/Centos_Installers/ogp_agent-3264-1.noarch.rpm/download
Now we'll Install the package and dependencies as root or using sudo:
Code: (Select All)
yum -y install ogp_agent-3264-1.noarch.rpm
and If your System 64 Bits use this code!
Code: (Select All)
yum -y install glibc.i686 libstdc++.i686
Now Change the user and group ownership of the agent files to ogp_agent so it can update itself.
Code: (Select All)
chown -Rf ogp_agent:ogp_agent /usr/share/ogp_agent
Then start the service and add it to the system startup, the first time you will be asked for a new password, new encription key and if you accept the Steam license (root or sudo):
Code: (Select All)
cd /etc/init.d
./ogp_agent start
Once configured:
Code: (Select All)
chkconfig --levels 235 ogp_agent on
After starting the agent, check that is running (root or sudo):
Code: (Select All)
su -c "screen -list" ogp_agent
Then use this :
Code: (Select All)
su -c "screen -S ogp_agent -r" ogp_agent
To detach, and back to shell, press Ctrl+A+D.
Now after Installing OGP_Agent go and install Panel more infor Here: Click me
Special Thanks tp OGP Community and Post4VPS