Today we will be showing you how to install php8, apache2 and setting up FusionGen for your WoW Private Server.
- Debian 11
- Must have auth, characters & world database already for your server
Step 1: Installing PHP8 and Apache2
In this tutorial, we will begin by installing php8, the necessary extensions, and apache2.
We will need to update & upgrade the server to make sure it’s on the latest, then we will reboot the server.
sudo apt update sudo apt -y upgrade sudo reboot
Add Surý APT repository
sudo apt update sudo apt install -y lsb-release ca-certificates apt-transport-https software-properties-common gnupg2
Add the PHP packages APT repository to your Debian server.
echo "deb https://packages.sury.org/php/ $(lsb_release -sc) main" | sudo tee /etc/apt/sources.list.d/sury-php.list
Import repository key:
wget -qO - https://packages.sury.org/php/apt.gpg | sudo apt-key add -
sudo apt update sudo apt install php8.0
Let’s install the required php extensions:
apt install php8.0-mysqli apt install php8.0-curl apt install php8.0-openssl apt install php8.0-soap apt install php8.0-mbstring apt install php8.0-json apt install php8.0-zip apt install php8.0-gd apt install php8.0-gmp
We will now install apache2:
apt install -y apache2
We will need to give permission to the apache user:
chown -R www-data:www-data /var/www/html
Let’s quickly restart the apache2 server:
sudo service apache2 restart
Step 2: Downloading FusionGen & Configuration
We will now clone FusionGen from GitHub, and setup the required directory permissions to install the CMS.
cd /var/www/html sudo rm index.html git clone https://github.com/FusionGen/FusionGEN.git cd FusionGEN/ sudo mv * /var/www/html cd /var/www/html
Step 3: Creating Database For Website
Let’s go ahead and create a new database for our website. We will connect using the command below, remember root user by default has no password. So just hit enter when it ask for one.
sudo mysql -u root -p
We will now set up our new website database, verify its presence, and grant access to the designated MySQL user. If you have been following our Linux tutorials, the username should be ‘trinity‘, otherwise, please use your own MySQL username. Replace USERNAME with your MySQL username.
create database website; show databases; GRANT ALL PRIVILEGES ON website.* TO 'USERNAME'@'localhost' WITH GRANT OPTION;
Simply type exit to exit the MariaDB terminal.
Congratulations, you have completed the tutorial. To proceed with the installation, navigate to your web address using either your domain name or IP address and follow the on-screen instructions.