[Linux] Setup FusionGen For Your Private Server - Printable Version +- WoWEmulation (https://wowemulation.com) +-- Forum: Tutorials (https://wowemulation.com/forumdisplay.php?fid=7) +--- Forum: Linux Tutorials (https://wowemulation.com/forumdisplay.php?fid=9) +--- Thread: [Linux] Setup FusionGen For Your Private Server (/showthread.php?tid=12) |
[Linux] Setup FusionGen For Your Private Server - PrivateDonut - 02-03-2024 Today we will be showing you how to install php8, apache2 and setting up FusionGen for your WoW Private Server. Requirements:
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 Add Surý APT repository Code: sudo apt update 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 Let’s install the required php extensions: Code: apt install php8.0-mysqli 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 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; 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. |