Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Subscribe my Youtube Channel and Support me
- https://youtube.com/@byteflick
- After login copy and paste the commands from the description.
- sudo apt update && sudo apt upgrade && sudo reboot
- After rebooting enter this command to install the necessary components.
- sudo apt install apache2 curl subversion php8.1 php8.1-gd php8.1-zip libapache2-mod-php8.1 php8.1-curl php8.1-mysql php8.1-xmlrpc php-pear mariadb-server-10.6 php8.1-mbstring git php-bcmath
- This command installs the Apache web server, PHP version 8.1, MariaDB server 10.6, and other essential php components which is very important to install because this will run and host the open game panel on your Linux server.
- Next, we will be binding MySQL to all addresses by using the below command.
- sudo sed -i "s/^bind-address.*/bind-address=0.0.0.0/g" "/etc/mysql/mariadb.conf.d/50-server.cnf"
- Now we will set up the MySQL server by running the following command:
- sudo mysql_secure_installation
- Press enter if you have not set up the MySQL password. Since we have fresh Ubuntu we have not set up any password for MySQL we will be pressing enter key.
- Type n and press enter to not switch unix_socket authentication.
- Type Y and press enter if you want to change the password. Since we are using a fresh OS we want to set up the MySQL password we will type Y and press enter.
- Type your desired password two times. Remember the mysql password because it is very important and we will be using this password while installing Open Game Panel.
- Type Y and press enter key to remove anonymous users.
- Type Y and press enter key to prevent root from login remotely.
- Type Y and press enter key to remove test databases and their access.
- Type Y and press enter key to reload tables
- Thats it! We have successfully set up the MariaDB server
- Now to manage the databases and their users we need to install a tool named phpMyAdmin.
- sudo apt install phpmyadmin
- Since we are using the Apache web server we will press the spacebar to select the apache2 option and press enter to continue.
- Select yes and press enter to set up the database for PHPMyAdmin.
- Here type your MySQL password which we have set up before.
- Now PHPMyAdmin is installed and we will be installing OGP panel files by using the script. Copy and paste the following commands.
- sudo wget -N "https://github.com/OpenGamePanel/Easy-Installers/raw/master/Linux/Debian-Ubuntu/ogp-panel-latest.deb" -O "ogp-panel-latest.deb"
- sudo dpkg -i "ogp-panel-latest.deb"
- This script will download OGP panel files and configure the database and its user credentials automatically.
- Now here enter the password that we use in setting up the mysql.
- Save this information somewhere safe. This is very important because we need this while installing Opengamepanel.
- Now open your web browser and access your server IP.
- Here enter the details which the script has generated before.
- Now enter your admin username and password.
- Ignore the message because the script will automatically delete the install.php file and correct the permission.
- Login into the open game panel with the credentials you set up and update the panel.
- Congratulations we have successfully installed the open game panel on the Linux server. 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.
- 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