Installing the Linux Agent

  1. Login to the server and create a user for ‘gameserver’
    • adduser gameserver
  2. add to the sudo group
    • usermod -aG sudo gameserver
  3. Update the repository list
    • apt-get update
  4. Change the SSH for security. Remove root login, change the port
    • nano /etc/ssh/sshd_config
    • permitrootlogin no
    • port 12322
    • RESTART SSH Daemon systemctl restart sshd
  5. Install the following:
    • sudo apt-get install mysql-server mysql-client nano apache2 python php libxml-parser-perl libpath-class-perl perl-modules screen rsync sudo e2fsprogs unzip subversion libarchive-extract-perl pure-ftpd libarchive-zip-perl libc6 libgcc1 git curl
    • sudo apt-get install libc6-i386
    • sudo apt-get install libgcc1:i386
    • sudo apt-get install lib32gcc1
    • sudo apt-get install libhttp-daemon-perl
  6. Get the agent
    • wget https://github.comxpgamehost/Easy-Installers/raw/master/Linux/Debian-Ubuntu/ogp-agent-latest.deb
  7. Install the agent
    • sudo dpkg -i ogp-agent-latest.deb
  8. User info is stored in /root/ogp_user_password. You need the code for the panel.
  9. Change /usr/share/ogp_agent/Cfg/bash_prefs.cfg line 1
    • agent_auto_update = 0
  10. Restart the agent
    • sudo systemctl restart ogp_agent
  11. Arrange Ports for IP
    • Uncategorized 27000 to 27959 increment 20

Spread the word. Share this post!