Installation (Fedora 39)

From Project Skyfire
Revision as of 06:57, 14 April 2024 by Aridev (talk | contribs)
Jump to navigation Jump to search

Introduction

This is a basic guide on how to install SkyFire_548 and SFDB from scratch. **Please note this is a work in progress and only contains enough information to get most people a viable server in Linux.

Prerequisites

The compilation of SkyFire_548 and the setup of SFDB will require certain packages to be installed. In Fedora use the following command:

sudo yum install g++ make cmake git wget openssl git-core

You may also want to install phpmyadmin and/or Apache. Do not forget the user and password for the Mysql root user.

Installing MySQL Start by downloading the rpm.

wget https://dev.mysql.com/get/mysql80-community-release-fc39-2.noarch.rpm
sudo yum localinstall mysql80-community-release-fc39-2.noarch.rpm
sudo yum install mysql-server

Compiling and Installing the SkyFire 5.4.8

Grab the latest version of SkyFire_548 using git:

git clone -b main https://codeberg.org/ProjectSkyfire/SkyFire_548.git

This should create a directory called SkyFire_548 that will contain all the files necessary to compile the server and it's tools. Change to the directory, configure, and build.

cd SkyFire_548
mkdir build && cd build
cmake ../ -DCMAKE_INSTALL_PREFIX=$HOME/skyfire-server/ -DTOOLS=1
make -j(#cores+1)
make install