- Login to the server and create a user for ‘gameserver’
- adduser gameserver
- add to the sudo group
- usermod -aG sudo gameserver
- Update the repository list
- apt-get update
- 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
- 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
- Get the agent
- wget https://github.comxpgamehost/Easy-Installers/raw/master/Linux/Debian-Ubuntu/ogp-agent-latest.deb
- Install the agent
- sudo dpkg -i ogp-agent-latest.deb
- User info is stored in /root/ogp_user_password. You need the code for the panel.
- Change /usr/share/ogp_agent/Cfg/bash_prefs.cfg line 1
- agent_auto_update = 0
- Restart the agent
- sudo systemctl restart ogp_agent
- Arrange Ports for IP
- Uncategorized 27000 to 27959 increment 20