byteflick

Install Open Game Panel OGP Agent on Ubuntu

Dec 14th, 2023 (edited)
819
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 2.80 KB | Software | 0 0
  1. Subscribe my Youtube Channel and Support me
  2. https://youtube.com/@byteflick
  3.  
  4. After login check for any updates on the server and upgrade any software and reboot the server by executing the following commands
  5.  
  6. sudo apt update && sudo apt upgrade && sudo reboot
  7.  
  8. Now we will install important modules and components which are very important to successfully install and run the agent.
  9.  
  10. sudo apt install 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
  11.  
  12. sudo apt install libc6-i386
  13.  
  14. sudo apt install libgcc1:i386
  15.  
  16. sudo apt install lib32gcc1
  17.  
  18. sudo apt install lib32gcc-s1
  19.  
  20. sudo apt install libhttp-daemon-perl
  21.  
  22. Now we will download the OGP agent installation script. This script will download the agent files and configure the agent automatically.
  23.  
  24. wget -N "https://github.com/OpenGamePanel/Easy-Installers/raw/master/Linux/Debian-Ubuntu/ogp-agent-latest.deb" -O "ogp-agent-latest.deb"
  25.  
  26. sudo dpkg -i "ogp-agent-latest.deb"
  27.  
  28. Now the OGP agent is successfully installed and running. The OGP agent credentials are stored in the root folder named ogp_user_password file.
  29.  
  30. This file contains the username and password of the OGP agent and most importantly encryption key which is very important to connect the agent with the panel.
  31.  
  32. Now, we will connect the agent with the OGP panel. Access your panel in the browser and log in. We have already made the video on the installation of the OGP panel.
  33.  
  34. Navigate to Administration and click on the servers option.
  35.  
  36. In the remote host option type your server IP.
  37.  
  38. By default, the OGP agent runs on the 12679 port.  If you have changed this port then type the port number here.
  39.  
  40. Type your remote Hostname like Byte Flick Server or any other name.
  41.  
  42. Do not change the FTP IP and FTP Port.
  43.  
  44. This option is very important. You can find this encryption key in the ogp user password file.
  45.  
  46. sudo cat /root/ogp_user_password
  47.  
  48. Copy this OGPEnc and paste it into the Encryption key option.
  49.  
  50. Do not change any of these options.
  51.  
  52. Type your server IP in Display public IP.
  53.  
  54. If you see this error then go back to your server ssh and type:
  55.  
  56. apt install net-tools
  57.  
  58. ifconfig
  59.  
  60. Copy this IP address and go back to your panel and click on the edit button and scroll down and paste the IP at Remote IP option.
  61.  
  62. Congratulations! We have successfully installed the Open Game Panel agent and connected it with the panel. So, that's all. I hope you have enjoyed my video. Do not forget to press the like button If you have not subscribed to my channel then please consider subscribing to my channel and hit the bell icon to get the update on my latest videos.
  63.  
  64. If you want videos on any other topic then comment below. We will try our best to help you.
Advertisement
Add Comment
Please, Sign In to add comment