Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- OGP PANEL Install Instructions:
- If you are running Ubuntu 14.04 or lower, run the following commands in a terminal:
- Code:
- sudo apt-get install apache2 curl subversion php5 php5-gd php5-xmlrpc php5-curl php5-mysql php-pear phpmyadmin mysql-server libapache2-mod-php5 git
- If you are running Ubuntu 16.04 or higher, run the following commands in a terminal:
- Code:
- sudo apt-get install apache2 curl subversion php7.0 php7.0-gd php7.0-zip libapache2-mod-php7.0 php7.0-curl php7.0-mysql php7.0-xmlrpc php-pear phpmyadmin mysql-server php7.0-mbstring php-gettext git
- If you are running Debian 8 or lower, first make sure you have sudo installed and your user has sudo access:
- If sudo is not installed automatically on your installation of Debian, switch to the root user using the below command:
- Code:
- su root
- Install sudo now before proceeding:
- Code:
- apt-get install sudo
- Add your user to the sudo group if you're not a member of it already:
- Code:
- usermod -aG sudo "{REPLACE_WITH_YOUR_LINUX_USERNAME}"
- Restart the machine to apply the sudo group change:
- Code:
- shutdown -r now
- Then, run the following commands in a terminal:
- Code:
- sudo apt-get install apache2 curl subversion php5 php5-gd php5-xmlrpc php5-curl php5-mysql php-pear phpmyadmin mysql-server libapache2-mod-php5 git
- If you're running Debian 7, it is recommended that you also change your DocumentRoot to /var/www/html by running these commands:
- Code:
- sudo sed -i 's#<Directory /var/www.*#<Directory /var/www/html/>#g' /etc/apache2/sites-available/default
- sudo sed -i 's#DocumentRoot /var/www.*#DocumentRoot /var/www/html#g' /etc/apache2/sites-available/default
- sudo sed -i 's#<Directory /var/www.*#<Directory /var/www/html/>#g' /etc/apache2/sites-available/default-ssl
- sudo sed -i 's#DocumentRoot /var/www.*#DocumentRoot /var/www/html#g' /etc/apache2/sites-enabled/000-default
- sudo sed -i 's#<Directory /var/www.*#<Directory /var/www/html/>#g' /etc/apache2/sites-enabled/000-default
- sudo sed -i 's#DocumentRoot /var/www.*#DocumentRoot /var/www/html#g' /etc/apache2/sites-enabled/000-default
- sudo service apache2 restart
- Alternatively, you can install mariadb-server instead of mysql if you'd prefer to use that fork: (nem javaslom)
- Code: (csak ha úgy érzed, de inkább NE)
- sudo apt-get install mariadb-server
- During the MySQL server installation, you will be prompted to provide a root user password. Please choose something secure and write it down, as the installer will ask you for it to create the initial OGP database later. Configure MySQL for "apache2" when prompted. PHPMyAdmin will also ask you for the root user password you set.
- All Versions of Ubuntu and Debian:
- After installing the prereqs, we can download and install the latest OGP Web Panel DEB package:
- Code:
- 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"
- Once this is done, open the browser and go to http://{IP_OF_SERVER_OR_localhost}/index.php
- You will be prompted to complete the OGP Panel installation. When asked for databse information, please use the following:
- MySQL Host = "localhost"
- MySQL User = "ogpuser"
- MySQL Database Name = "ogp_panel"
- You'll also need your database password which can be found by running the following command:
- Code:
- sudo cat /root/ogp_panel_mysql_info
- Once you've completed the web panel installation, you need to add the server that will be running the game servers to the web panel software. You will need the IP address of the server running the agent (127.0.0.1 if on the same machine), and the encryption key for that machine which you can obtain by running the following command on that server:
- Code:
- sudo cat /root/ogp_user_password
- Once the panel has been installed, please run the panel update functionality by logging in as the admin account created during installation.
- Hover over the "Administration" tab, and then click on "Update Panel" in the drop-down. Then click on the "Update" button.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement