To install Open Game Panel on a VPS, you can follow these steps:
1. Connect to your VPS via SSH using a terminal or PuTTY.
2. Update your system by running the following command:
Code:
sudo apt-get update && sudo apt-get upgrade
3. Install the required dependencies by running the following command:
Code:
sudo apt-get install apache2 php php-mysql php-gd php-curl php-zip php-xml php-mbstring mysql-server mysql-client unzip
4. Download the latest version of Open Game Panel from the official website using the following command:
Code:
wget https://github.com/OpenGamePanel/OGP-Website-and-Backend/releases/download/v1.0.0/ogp_panel.zip
5. Extract the downloaded file using the following command:
6. Move the extracted files to the web directory by running the following command:
Code:
sudo mv ogp_panel /var/www/html/
7. Change the ownership of the files to the web server user by running the following command:
Code:
sudo chown -R www-data:www-data /var/www/html/ogp_panel
8. Create a new MySQL database and user for Open Game Panel by running the following commands:
Code:
mysql -u root -p
CREATE DATABASE ogp;
CREATE USER 'ogp'@'localhost' IDENTIFIED BY 'password';
GRANT ALL PRIVILEGES ON ogp.* TO 'ogp'@'localhost';
FLUSH PRIVILEGES;
exit;
9. Navigate to the Open Game Panel installation page in your web browser by visiting
http://your_server_ip/ogp_panel/install
.
10. Follow the on-screen instructions to complete the installation process.
Once the installation is complete, you can log in to the Open Game Panel admin panel by visiting
http://your_server_ip/ogp_panel/admin
.