Inbuilt with multi-purpose announcement bar Check here


[Linux] Setup FusionGen For Your Private Server
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

#1
Today we will be showing you how to install php8, apache2 and setting up FusionGen for your WoW Private Server.

Requirements:
  • Debian 11
  • Git
  • 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.

Code:
sudo apt update
sudo apt -y upgrade
sudo reboot

Add Surý APT repository

Code:
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.

Code:
echo "deb https://packages.sury.org/php/ $(lsb_release -sc) main" | sudo tee /etc/apt/sources.list.d/sury-php.list

Import repository key:

Code:
wget -qO - https://packages.sury.org/php/apt.gpg | sudo apt-key add -

Install php8:

Code:
sudo apt update
sudo apt install php8.0

Let’s install the required php extensions:

Code:
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:

Code:
apt install -y apache2

We will need to give permission to the apache user:

Code:
chown -R www-data:www-data /var/www/html


Let’s quickly restart the apache2 server:


Code:
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.

Code:
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.

Code:
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.

Code:
create database website;
show databases;
GRANT ALL PRIVILEGES ON website.* TO 'USERNAME'@'localhost' WITH GRANT OPTION;


[Image: Screen-Shot-2023-01-12-at-3.41.43-PM.png]

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.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)