<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.projectskyfire.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Silent</id>
	<title>Project Skyfire - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.projectskyfire.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Silent"/>
	<link rel="alternate" type="text/html" href="https://wiki.projectskyfire.org/index.php?title=Special:Contributions/Silent"/>
	<updated>2026-04-26T15:37:36Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.45.3</generator>
	<entry>
		<id>https://wiki.projectskyfire.org/index.php?title=Installation_(Ubuntu_22.04_LTS)&amp;diff=1004</id>
		<title>Installation (Ubuntu 22.04 LTS)</title>
		<link rel="alternate" type="text/html" href="https://wiki.projectskyfire.org/index.php?title=Installation_(Ubuntu_22.04_LTS)&amp;diff=1004"/>
		<updated>2024-04-14T17:30:13Z</updated>

		<summary type="html">&lt;p&gt;Silent: Remove append bug since these commands should be repeatable&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
== Prerequisites ==&lt;br /&gt;
&lt;br /&gt;
The compilation of SkyFire_548 and the setup of SFDB will require certain packages to be installed. In Ubuntu use the following command:&lt;br /&gt;
&lt;br /&gt;
Debian based distributions use these commands:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
apt-get install build-essential autoconf libtool gcc g++ make cmake subversion git patch wget links zip unzip openssl libssl-dev libreadline-dev zlib1g-dev libbz2-dev git-core libace-dev libncurses5-dev libace-dev -y&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You may also want to install phpmyadmin and/or Apache. Do not forget the user and password for the Mysql root user.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Installing OpenSSL&#039;&#039;&#039; - You should check if &amp;quot;1.1.0K&amp;quot; or newer is the latest version installed.&lt;br /&gt;
&lt;br /&gt;
For cases where you want to run an even newer release of OpenSSL than mentioned here, or your distribution not supplying a version that isn&#039;t of recent date, please check your distributions repositories or documentation. You can also retrieve it as sourcecode at http://openssl.org/source (feel free to use newer packages if you really feel like it). To build it from sourcecode, here&#039;s a primer : &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
wget https://www.openssl.org/source/openssl-1.1.1k.tar.gz&lt;br /&gt;
tar -xvf openssl-1.1.1k.tar.gz&lt;br /&gt;
cd openssl-1.1.1k&lt;br /&gt;
mkdir build&lt;br /&gt;
cd build&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Alternative 1 : Local installation &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
../config --prefix=/home/`echo $USER`/.sys shared&lt;br /&gt;
make&lt;br /&gt;
make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Alternative 2 : Systemwide installation &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
../config shared&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Installing ACE&#039;&#039;&#039; - You should check if &amp;quot;6.3.3&amp;quot; or newer is the latest version installed. &lt;br /&gt;
&lt;br /&gt;
For cases where you want to run an even newer release of ACE than mentioned here, or your distribution not supplying a version that isn&#039;t of recent date, please check your distributions repositories or documentation. You can also retrieve it as sourcecode at http://download.dre.vanderbilt.edu (feel free to use newer packages if you really feel like it). To build it from sourcecode,&lt;br /&gt;
start by downloading and unzipping the source:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
wget https://github.com/DOCGroup/ACE_TAO/releases/download/ACE%2BTAO-7_1_4/ACE+TAO-7.1.4.tar.gz&lt;br /&gt;
tar xvzf ACE+TAO-7.1.4.tar.gz&lt;br /&gt;
cd ACE_wrappers/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Add an environment variable called ACE_ROOT&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export ACE_ROOT=$(pwd)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Create a configuration file, $ACE_ROOT/ace/config.h&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
echo &#039;#include &amp;quot;ace/config-linux.h&amp;quot;&#039; &amp;gt; $ACE_ROOT/ace/config.h&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Create a build configuration file, $ACE_ROOT/include/makeinclude/platform_macros.GNU&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
echo &#039;include $(ACE_ROOT)/include/makeinclude/platform_linux.GNU&#039; &amp;gt; $ACE_ROOT/include/makeinclude/platform_macros.GNU&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Here is where we compile ACE &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
make&lt;br /&gt;
export INSTALL_PREFIX=/usr/local&lt;br /&gt;
make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Note: make install will need to be ran by the root user since /usr/local file permissions are usually under root&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;In the event one has a 4-core processor, you would use &amp;quot;make -j5&amp;quot;, minus quotations.&lt;br /&gt;
Note: There is NO SPACE inbetween j and 5. It&#039;s all a single stroke.&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Please note that any old revision of the OpenSSL package installed by the distribution may/will interfere with the new version. See your distribution documentation for information on how to remove it to be able to use the new one.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Installing MySQL&#039;&#039;&#039;&lt;br /&gt;
Start by downloading and dpkg the package.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
wget https://dev.mysql.com/get/mysql-apt-config_0.8.12-1_all.deb&lt;br /&gt;
dpkg -i mysql-apt-config_0.8.12-1_all.deb&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
After following the configuration screen you want to apt-get update and install the libraries.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
apt-get update&lt;br /&gt;
apt-get install mysql-server mysql-client libmysqlclient-dev libmysql++-dev&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Installing GCC 9&#039;&#039;&#039;&lt;br /&gt;
Start by adding ppa:ubuntu-toolchain-r/test to your repository list (&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;BIONIC ONLY !!!&amp;lt;/span&amp;gt;)&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
add-apt-repository ppa:ubuntu-toolchain-r/test -y&lt;br /&gt;
apt-get update&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Now we can install gcc-9 and g++-9.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
apt-get install gcc-9 g++-9&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Symbolic links cc and c++ are installed by default.&lt;br /&gt;
We will install symbol links for gcc and g++, then link cc and c++ to gcc and g++ respectively.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
update-alternatives --remove-all gcc &lt;br /&gt;
update-alternatives --remove-all g++&lt;br /&gt;
&lt;br /&gt;
update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-9 10&lt;br /&gt;
update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-9 10&lt;br /&gt;
&lt;br /&gt;
update-alternatives --install /usr/bin/cc cc /usr/bin/gcc 10&lt;br /&gt;
update-alternatives --set cc /usr/bin/gcc&lt;br /&gt;
update-alternatives --install /usr/bin/c++ c++ /usr/bin/g++ 10&lt;br /&gt;
update-alternatives --set c++ /usr/bin/g++&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The last step is configuring the default commands for gcc, g++.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
update-alternatives --config gcc&lt;br /&gt;
update-alternatives --config g++&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Compiling and Installing the SkyFire 5.4.8 ==&lt;br /&gt;
&lt;br /&gt;
Grab the latest version of SkyFire_548 using git:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone -b trunk https://codeberg.org/ProjectSkyfire/SkyFire_548.git&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
This should create a directory called SkyFire_548 that will contain all the files necessary to compile the server and it&#039;s tools. Change to the directory, configure, and build.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd SkyFire_548&lt;br /&gt;
mkdir build &amp;amp;&amp;amp; cd build&lt;br /&gt;
cmake ../ -DCMAKE_INSTALL_PREFIX=$HOME/skyfire-server/ -DTOOLS=1&lt;br /&gt;
make -j(#cores+1)&lt;br /&gt;
make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Parameter explanations &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;-DACE_LIBRARY=&amp;lt;path to ACE library&amp;gt;                      (full path to your libACE.so file INCLUDING the filename - do not use if you have ACE installed systemwide)&lt;br /&gt;
-DACE_INCLUDE_DIR=&amp;lt;path to ACE includes/headers&amp;gt;         (path to the libACE include directory - do not use if you have ACE installed systemwide)&lt;br /&gt;
-DOPENSSL_LIBRARIES=&amp;lt;path to OpenSSL library&amp;gt;            (path to your OpenSSL library - do not use if you have OpenSSL installed systemwide)&lt;br /&gt;
-DOPENSSL_INCLUDE_DIR=&amp;lt;path to OpenSSL includes&amp;gt;         (path to your OpenSSL includes directory - do not use if you have OpenSSL installed systemwide)&lt;br /&gt;
&lt;br /&gt;
-DSERVERS             Build worldserver and authserver&lt;br /&gt;
-DSCRIPTS             Build core with scripts included&lt;br /&gt;
-DTOOLS               Build map/vmap extraction/assembler tools&lt;br /&gt;
-DUSE_SCRIPTPCH       Use precompiled headers when compiling scripts&lt;br /&gt;
-DUSE_COREPCH         Use precompiled headers when compiling servers&lt;br /&gt;
-DUSE_SFMT            Use SFMT as random numbergenerator&lt;br /&gt;
-DWITH_WARNINGS       Show all warnings during compile&lt;br /&gt;
-DWITH_COREDEBUG      Include additional debug-code in core&lt;br /&gt;
-DWITH_SQL            Copy SQL files during installation&lt;br /&gt;
-DCONF_DIR            Set configuration directory&lt;br /&gt;
-DLIBSDIR             Set library directory&lt;br /&gt;
-DCMAKE_C_FLAGS       Set C_FLAGS for compile (advanced users only)&lt;br /&gt;
-DCMAKE_CXX_FLAGS     Set CXX_FLAGS for compile (advanced users only)&lt;br /&gt;
&lt;br /&gt;
-DWITH_CXX_17_STD     Use c++17 standard (advanced users only)&lt;br /&gt;
-DWITH_CXX_DRAFT_STD  Use c++ draft standard (advanced users only)&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== Installing SkyFireDataBase (SFDB) ==&lt;br /&gt;
&lt;br /&gt;
Now we will set up the database framework for which SkyFire will be installed into:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;It is assumed that you cloned SkyFire_548 into your home directory ~/&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Replace the parts in &amp;lt;&amp;gt; to the correct administrative username, and associated password.&lt;br /&gt;
Usually the administrative user is root, but you may have altered it.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;In the terminal window:&#039;&#039;&#039;&lt;br /&gt;
&amp;lt;pre&amp;gt;mysql -u &amp;lt;mysql_root&amp;gt; -p &amp;lt; ~/SkyFire_548/sql/create/create_mysql.sql&lt;br /&gt;
mysql -u &amp;lt;mysql_root&amp;gt; -p auth &amp;lt; ~/SkyFire_548/sql/base/auth/auth.sql &lt;br /&gt;
mysql -u &amp;lt;mysql_root&amp;gt; -p characters &amp;lt; ~/SkyFire_548/sql/base/character/character.sql&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Grab the latest version of SkyFireDB on our forum. http://www.projectskyfire.org/index.php?/files/&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
The DB download contains an installer for Linux and Windows. Also a single Sql file.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;!!!You will also need to manually run any sql&#039;s found in the cores sql folder .../sql/updates/world and .../sql/updates/char!!!&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
(If you are doing this for more than local use you will also need to change a database entry using this mysql command.)&lt;br /&gt;
&amp;lt;pre&amp;gt;update auth.realmlist set adress = &amp;quot;YOUR IP HERE&amp;quot; where id = 1;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Configuration ==&lt;br /&gt;
&lt;br /&gt;
Now move and edit the configuration files to run the server.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;mv ~/skyfire/etc/worldserver.conf.dist ~/skyfire/etc/worldserver.conf&lt;br /&gt;
mv  ~/skyfire/etc/authserver.conf.dist  ~/skyfire/etc/authserver.conf&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Edit both of these files to the correct Mysql user name, password, and your DataDir. &lt;br /&gt;
&amp;lt;pre&amp;gt;nano ~/skyfire/etc/(correctserver).conf&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Extractor and VMAPs ==&lt;br /&gt;
&lt;br /&gt;
If you need a Windows compiled copy of the DBC Extractor and the tools for the VMAP&amp;lt;BR&amp;gt; &lt;br /&gt;
Extraction and assembly you can get a copy of them using your GIT client and download&amp;lt;BR&amp;gt; &lt;br /&gt;
them from: https://codeberg.org/ProjectSkyfire/Community-Tools&amp;lt;BR&amp;gt;&amp;lt;BR&amp;gt;&amp;lt;BR&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Before doing any of these commands, follow the guide at &lt;br /&gt;
&amp;lt;pre&amp;gt;http://appdb.winehq.org/objectManager.php?sClass=version&amp;amp;iId=20549&amp;lt;/pre&amp;gt;&lt;br /&gt;
to obtain a working installation of the latest WoW 5.4.8 client, then proceed:&lt;br /&gt;
&lt;br /&gt;
The last and final step of setting up SkyFire_548 is to obtain a proper set of maps for use in the server. Change to the WoW directory and run some commands:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;cd &amp;quot;Wow Directory&amp;quot;&lt;br /&gt;
~/skyfire/bin/extractor&lt;br /&gt;
~/skyfire/bin/vmap3extractor&lt;br /&gt;
mv dbc ~/skyfire/bin/dbc&lt;br /&gt;
mv maps ~/skyfire/bin/maps&lt;br /&gt;
mkdir vmaps &lt;br /&gt;
~/skyfire/bin/vmap3assembler&lt;br /&gt;
mv vmaps ~/skyfire/bin/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== SkyFire Patcher ==&lt;br /&gt;
&lt;br /&gt;
The client will need to be patched before it can properly connect to the server. Acquire the patcher in the Community Tools repository.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;git clone https://codeberg.org/ProjectSkyfire/Community-Tools.git&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install Mono in Wine or Crossover Office and run the patcher to modify your WoW.exe file.&lt;br /&gt;
&lt;br /&gt;
to install Mono simply, and correctly configured, please view: &lt;br /&gt;
&amp;lt;pre&amp;gt;http://wiki.winehq.org/winetricks&amp;lt;/pre&amp;gt;&lt;br /&gt;
to obtain specific versions/running hackery in your Wine bottle.&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
http://www.trinitycore.org/w/How-to:Linux&lt;br /&gt;
&lt;br /&gt;
http://wiki.cactusemu.com/index.php?title=Installation_%28Linux%29&lt;br /&gt;
&lt;br /&gt;
http://wiki.winehq.org/winetricks&lt;br /&gt;
&lt;br /&gt;
http://appdb.winehq.org/objectManager.php?sClass=version&amp;amp;iId=20549&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Installation]]&lt;/div&gt;</summary>
		<author><name>Silent</name></author>
	</entry>
	<entry>
		<id>https://wiki.projectskyfire.org/index.php?title=Installation_(Ubuntu_18.04_LTS)&amp;diff=975</id>
		<title>Installation (Ubuntu 18.04 LTS)</title>
		<link rel="alternate" type="text/html" href="https://wiki.projectskyfire.org/index.php?title=Installation_(Ubuntu_18.04_LTS)&amp;diff=975"/>
		<updated>2024-04-11T02:30:32Z</updated>

		<summary type="html">&lt;p&gt;Silent: Silent moved page Installation (Ubuntu 18.04 LTS) to Installation (Ubuntu 22.04 LTS)&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#REDIRECT [[Installation (Ubuntu 22.04 LTS)]]&lt;/div&gt;</summary>
		<author><name>Silent</name></author>
	</entry>
	<entry>
		<id>https://wiki.projectskyfire.org/index.php?title=Installation_(Ubuntu_22.04_LTS)&amp;diff=974</id>
		<title>Installation (Ubuntu 22.04 LTS)</title>
		<link rel="alternate" type="text/html" href="https://wiki.projectskyfire.org/index.php?title=Installation_(Ubuntu_22.04_LTS)&amp;diff=974"/>
		<updated>2024-04-11T02:30:31Z</updated>

		<summary type="html">&lt;p&gt;Silent: Silent moved page Installation (Ubuntu 18.04 LTS) to Installation (Ubuntu 22.04 LTS)&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
== Prerequisites ==&lt;br /&gt;
&lt;br /&gt;
The compilation of SkyFire_548 and the setup of SFDB will require certain packages to be installed. In Ubuntu use the following command:&lt;br /&gt;
&lt;br /&gt;
Debian based distributions use these commands:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
apt-get install build-essential autoconf libtool gcc g++ make cmake subversion git patch wget links zip unzip openssl libssl-dev libreadline-dev zlib1g-dev libbz2-dev git-core libace-dev libncurses5-dev libace-dev -y&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You may also want to install phpmyadmin and/or Apache. Do not forget the user and password for the Mysql root user.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Installing OpenSSL&#039;&#039;&#039; - You should check if &amp;quot;1.1.0K&amp;quot; or newer is the latest version installed.&lt;br /&gt;
&lt;br /&gt;
For cases where you want to run an even newer release of OpenSSL than mentioned here, or your distribution not supplying a version that isn&#039;t of recent date, please check your distributions repositories or documentation. You can also retrieve it as sourcecode at http://openssl.org/source (feel free to use newer packages if you really feel like it). To build it from sourcecode, here&#039;s a primer : &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
wget https://www.openssl.org/source/openssl-1.1.1k.tar.gz&lt;br /&gt;
tar -xvf openssl-1.1.1k.tar.gz&lt;br /&gt;
cd openssl-1.1.1k&lt;br /&gt;
mkdir build&lt;br /&gt;
cd build&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Alternative 1 : Local installation &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
../config --prefix=/home/`echo $USER`/.sys shared&lt;br /&gt;
make&lt;br /&gt;
make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Alternative 2 : Systemwide installation &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
../config shared&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Installing ACE&#039;&#039;&#039; - You should check if &amp;quot;6.3.3&amp;quot; or newer is the latest version installed. &lt;br /&gt;
&lt;br /&gt;
For cases where you want to run an even newer release of ACE than mentioned here, or your distribution not supplying a version that isn&#039;t of recent date, please check your distributions repositories or documentation. You can also retrieve it as sourcecode at http://download.dre.vanderbilt.edu (feel free to use newer packages if you really feel like it). To build it from sourcecode,&lt;br /&gt;
start by downloading and unzipping the source:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
wget https://github.com/DOCGroup/ACE_TAO/releases/download/ACE%2BTAO-7_1_4/ACE+TAO-7.1.4.tar.gz&lt;br /&gt;
tar xvzf ACE+TAO-7.1.4.tar.gz&lt;br /&gt;
cd ACE_wrappers/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Add an environment variable called ACE_ROOT&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export ACE_ROOT=$(pwd)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Create a configuration file, $ACE_ROOT/ace/config.h&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
echo &#039;#include &amp;quot;ace/config-linux.h&amp;quot;&#039; &amp;gt;&amp;gt; $ACE_ROOT/ace/config.h&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Create a build configuration file, $ACE_ROOT/include/makeinclude/platform_macros.GNU&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
echo &#039;include $(ACE_ROOT)/include/makeinclude/platform_linux.GNU&#039; &amp;gt;&amp;gt; $ACE_ROOT/include/makeinclude/platform_macros.GNU&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Here is where we compile ACE &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
make&lt;br /&gt;
export INSTALL_PREFIX=/usr/local&lt;br /&gt;
make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Note: make install will need to be ran by the root user since /usr/local file permissions are usually under root&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;In the event one has a 4-core processor, you would use &amp;quot;make -j5&amp;quot;, minus quotations.&lt;br /&gt;
Note: There is NO SPACE inbetween j and 5. It&#039;s all a single stroke.&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Please note that any old revision of the OpenSSL package installed by the distribution may/will interfere with the new version. See your distribution documentation for information on how to remove it to be able to use the new one.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Installing MySQL&#039;&#039;&#039;&lt;br /&gt;
Start by downloading and dpkg the package.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
wget https://dev.mysql.com/get/mysql-apt-config_0.8.12-1_all.deb&lt;br /&gt;
dpkg -i mysql-apt-config_0.8.12-1_all.deb&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
After following the configuration screen you want to apt-get update and install the libraries.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
apt-get update&lt;br /&gt;
apt-get install mysql-server mysql-client libmysqlclient-dev libmysql++-dev&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Installing GCC 9&#039;&#039;&#039;&lt;br /&gt;
Start by adding ppa:ubuntu-toolchain-r/test to your repository list (&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;BIONIC ONLY !!!&amp;lt;/span&amp;gt;)&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
add-apt-repository ppa:ubuntu-toolchain-r/test -y&lt;br /&gt;
apt-get update&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Now we can install gcc-9 and g++-9.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
apt-get install gcc-9 g++-9&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Symbolic links cc and c++ are installed by default.&lt;br /&gt;
We will install symbol links for gcc and g++, then link cc and c++ to gcc and g++ respectively.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
update-alternatives --remove-all gcc &lt;br /&gt;
update-alternatives --remove-all g++&lt;br /&gt;
&lt;br /&gt;
update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-9 10&lt;br /&gt;
update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-9 10&lt;br /&gt;
&lt;br /&gt;
update-alternatives --install /usr/bin/cc cc /usr/bin/gcc 10&lt;br /&gt;
update-alternatives --set cc /usr/bin/gcc&lt;br /&gt;
update-alternatives --install /usr/bin/c++ c++ /usr/bin/g++ 10&lt;br /&gt;
update-alternatives --set c++ /usr/bin/g++&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The last step is configuring the default commands for gcc, g++.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
update-alternatives --config gcc&lt;br /&gt;
update-alternatives --config g++&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Compiling and Installing the SkyFire 5.4.8 ==&lt;br /&gt;
&lt;br /&gt;
Grab the latest version of SkyFire_548 using git:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone -b trunk https://codeberg.org/ProjectSkyfire/SkyFire_548.git&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
This should create a directory called SkyFire_548 that will contain all the files necessary to compile the server and it&#039;s tools. Change to the directory, configure, and build.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd SkyFire_548&lt;br /&gt;
mkdir build &amp;amp;&amp;amp; cd build&lt;br /&gt;
cmake ../ -DCMAKE_INSTALL_PREFIX=$HOME/skyfire-server/ -DTOOLS=1&lt;br /&gt;
make -j(#cores+1)&lt;br /&gt;
make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Parameter explanations &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;-DACE_LIBRARY=&amp;lt;path to ACE library&amp;gt;                      (full path to your libACE.so file INCLUDING the filename - do not use if you have ACE installed systemwide)&lt;br /&gt;
-DACE_INCLUDE_DIR=&amp;lt;path to ACE includes/headers&amp;gt;         (path to the libACE include directory - do not use if you have ACE installed systemwide)&lt;br /&gt;
-DOPENSSL_LIBRARIES=&amp;lt;path to OpenSSL library&amp;gt;            (path to your OpenSSL library - do not use if you have OpenSSL installed systemwide)&lt;br /&gt;
-DOPENSSL_INCLUDE_DIR=&amp;lt;path to OpenSSL includes&amp;gt;         (path to your OpenSSL includes directory - do not use if you have OpenSSL installed systemwide)&lt;br /&gt;
&lt;br /&gt;
-DSERVERS             Build worldserver and authserver&lt;br /&gt;
-DSCRIPTS             Build core with scripts included&lt;br /&gt;
-DTOOLS               Build map/vmap extraction/assembler tools&lt;br /&gt;
-DUSE_SCRIPTPCH       Use precompiled headers when compiling scripts&lt;br /&gt;
-DUSE_COREPCH         Use precompiled headers when compiling servers&lt;br /&gt;
-DUSE_SFMT            Use SFMT as random numbergenerator&lt;br /&gt;
-DWITH_WARNINGS       Show all warnings during compile&lt;br /&gt;
-DWITH_COREDEBUG      Include additional debug-code in core&lt;br /&gt;
-DWITH_SQL            Copy SQL files during installation&lt;br /&gt;
-DCONF_DIR            Set configuration directory&lt;br /&gt;
-DLIBSDIR             Set library directory&lt;br /&gt;
-DCMAKE_C_FLAGS       Set C_FLAGS for compile (advanced users only)&lt;br /&gt;
-DCMAKE_CXX_FLAGS     Set CXX_FLAGS for compile (advanced users only)&lt;br /&gt;
&lt;br /&gt;
-DWITH_CXX_17_STD     Use c++17 standard (advanced users only)&lt;br /&gt;
-DWITH_CXX_DRAFT_STD  Use c++ draft standard (advanced users only)&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== Installing SkyFireDataBase (SFDB) ==&lt;br /&gt;
&lt;br /&gt;
Now we will set up the database framework for which SkyFire will be installed into:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;It is assumed that you cloned SkyFire_548 into your home directory ~/&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Replace the parts in &amp;lt;&amp;gt; to the correct administrative username, and associated password.&lt;br /&gt;
Usually the administrative user is root, but you may have altered it.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;In the terminal window:&#039;&#039;&#039;&lt;br /&gt;
&amp;lt;pre&amp;gt;mysql -u &amp;lt;mysql_root&amp;gt; -p &amp;lt; ~/SkyFire_548/sql/create/create_mysql.sql&lt;br /&gt;
mysql -u &amp;lt;mysql_root&amp;gt; -p auth &amp;lt; ~/SkyFire_548/sql/base/auth/auth.sql &lt;br /&gt;
mysql -u &amp;lt;mysql_root&amp;gt; -p characters &amp;lt; ~/SkyFire_548/sql/base/character/character.sql&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Grab the latest version of SkyFireDB on our forum. http://www.projectskyfire.org/index.php?/files/&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
The DB download contains an installer for Linux and Windows. Also a single Sql file.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;!!!You will also need to manually run any sql&#039;s found in the cores sql folder .../sql/updates/world and .../sql/updates/char!!!&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
(If you are doing this for more than local use you will also need to change a database entry using this mysql command.)&lt;br /&gt;
&amp;lt;pre&amp;gt;update auth.realmlist set adress = &amp;quot;YOUR IP HERE&amp;quot; where id = 1;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Configuration ==&lt;br /&gt;
&lt;br /&gt;
Now move and edit the configuration files to run the server.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;mv ~/skyfire/etc/worldserver.conf.dist ~/skyfire/etc/worldserver.conf&lt;br /&gt;
mv  ~/skyfire/etc/authserver.conf.dist  ~/skyfire/etc/authserver.conf&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Edit both of these files to the correct Mysql user name, password, and your DataDir. &lt;br /&gt;
&amp;lt;pre&amp;gt;nano ~/skyfire/etc/(correctserver).conf&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Extractor and VMAPs ==&lt;br /&gt;
&lt;br /&gt;
If you need a Windows compiled copy of the DBC Extractor and the tools for the VMAP&amp;lt;BR&amp;gt; &lt;br /&gt;
Extraction and assembly you can get a copy of them using your GIT client and download&amp;lt;BR&amp;gt; &lt;br /&gt;
them from: https://codeberg.org/ProjectSkyfire/Community-Tools&amp;lt;BR&amp;gt;&amp;lt;BR&amp;gt;&amp;lt;BR&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Before doing any of these commands, follow the guide at &lt;br /&gt;
&amp;lt;pre&amp;gt;http://appdb.winehq.org/objectManager.php?sClass=version&amp;amp;iId=20549&amp;lt;/pre&amp;gt;&lt;br /&gt;
to obtain a working installation of the latest WoW 5.4.8 client, then proceed:&lt;br /&gt;
&lt;br /&gt;
The last and final step of setting up SkyFire_548 is to obtain a proper set of maps for use in the server. Change to the WoW directory and run some commands:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;cd &amp;quot;Wow Directory&amp;quot;&lt;br /&gt;
~/skyfire/bin/extractor&lt;br /&gt;
~/skyfire/bin/vmap3extractor&lt;br /&gt;
mv dbc ~/skyfire/bin/dbc&lt;br /&gt;
mv maps ~/skyfire/bin/maps&lt;br /&gt;
mkdir vmaps &lt;br /&gt;
~/skyfire/bin/vmap3assembler&lt;br /&gt;
mv vmaps ~/skyfire/bin/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== SkyFire Patcher ==&lt;br /&gt;
&lt;br /&gt;
The client will need to be patched before it can properly connect to the server. Acquire the patcher in the Community Tools repository.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;git clone https://codeberg.org/ProjectSkyfire/Community-Tools.git&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install Mono in Wine or Crossover Office and run the patcher to modify your WoW.exe file.&lt;br /&gt;
&lt;br /&gt;
to install Mono simply, and correctly configured, please view: &lt;br /&gt;
&amp;lt;pre&amp;gt;http://wiki.winehq.org/winetricks&amp;lt;/pre&amp;gt;&lt;br /&gt;
to obtain specific versions/running hackery in your Wine bottle.&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
http://www.trinitycore.org/w/How-to:Linux&lt;br /&gt;
&lt;br /&gt;
http://wiki.cactusemu.com/index.php?title=Installation_%28Linux%29&lt;br /&gt;
&lt;br /&gt;
http://wiki.winehq.org/winetricks&lt;br /&gt;
&lt;br /&gt;
http://appdb.winehq.org/objectManager.php?sClass=version&amp;amp;iId=20549&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Installation]]&lt;/div&gt;</summary>
		<author><name>Silent</name></author>
	</entry>
	<entry>
		<id>https://wiki.projectskyfire.org/index.php?title=Installation_(Ubuntu_22.04_LTS)&amp;diff=973</id>
		<title>Installation (Ubuntu 22.04 LTS)</title>
		<link rel="alternate" type="text/html" href="https://wiki.projectskyfire.org/index.php?title=Installation_(Ubuntu_22.04_LTS)&amp;diff=973"/>
		<updated>2024-04-11T02:25:22Z</updated>

		<summary type="html">&lt;p&gt;Silent: - libreadline-gplv2-dev was dropped from Ubuntu after 20.04 so use libreadline-dev&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
== Prerequisites ==&lt;br /&gt;
&lt;br /&gt;
The compilation of SkyFire_548 and the setup of SFDB will require certain packages to be installed. In Ubuntu use the following command:&lt;br /&gt;
&lt;br /&gt;
Debian based distributions use these commands:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
apt-get install build-essential autoconf libtool gcc g++ make cmake subversion git patch wget links zip unzip openssl libssl-dev libreadline-dev zlib1g-dev libbz2-dev git-core libace-dev libncurses5-dev libace-dev -y&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You may also want to install phpmyadmin and/or Apache. Do not forget the user and password for the Mysql root user.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Installing OpenSSL&#039;&#039;&#039; - You should check if &amp;quot;1.1.0K&amp;quot; or newer is the latest version installed.&lt;br /&gt;
&lt;br /&gt;
For cases where you want to run an even newer release of OpenSSL than mentioned here, or your distribution not supplying a version that isn&#039;t of recent date, please check your distributions repositories or documentation. You can also retrieve it as sourcecode at http://openssl.org/source (feel free to use newer packages if you really feel like it). To build it from sourcecode, here&#039;s a primer : &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
wget https://www.openssl.org/source/openssl-1.1.1k.tar.gz&lt;br /&gt;
tar -xvf openssl-1.1.1k.tar.gz&lt;br /&gt;
cd openssl-1.1.1k&lt;br /&gt;
mkdir build&lt;br /&gt;
cd build&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Alternative 1 : Local installation &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
../config --prefix=/home/`echo $USER`/.sys shared&lt;br /&gt;
make&lt;br /&gt;
make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Alternative 2 : Systemwide installation &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
../config shared&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Installing ACE&#039;&#039;&#039; - You should check if &amp;quot;6.3.3&amp;quot; or newer is the latest version installed. &lt;br /&gt;
&lt;br /&gt;
For cases where you want to run an even newer release of ACE than mentioned here, or your distribution not supplying a version that isn&#039;t of recent date, please check your distributions repositories or documentation. You can also retrieve it as sourcecode at http://download.dre.vanderbilt.edu (feel free to use newer packages if you really feel like it). To build it from sourcecode,&lt;br /&gt;
start by downloading and unzipping the source:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
wget https://github.com/DOCGroup/ACE_TAO/releases/download/ACE%2BTAO-7_1_4/ACE+TAO-7.1.4.tar.gz&lt;br /&gt;
tar xvzf ACE+TAO-7.1.4.tar.gz&lt;br /&gt;
cd ACE_wrappers/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Add an environment variable called ACE_ROOT&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export ACE_ROOT=$(pwd)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Create a configuration file, $ACE_ROOT/ace/config.h&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
echo &#039;#include &amp;quot;ace/config-linux.h&amp;quot;&#039; &amp;gt;&amp;gt; $ACE_ROOT/ace/config.h&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Create a build configuration file, $ACE_ROOT/include/makeinclude/platform_macros.GNU&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
echo &#039;include $(ACE_ROOT)/include/makeinclude/platform_linux.GNU&#039; &amp;gt;&amp;gt; $ACE_ROOT/include/makeinclude/platform_macros.GNU&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Here is where we compile ACE &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
make&lt;br /&gt;
export INSTALL_PREFIX=/usr/local&lt;br /&gt;
make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Note: make install will need to be ran by the root user since /usr/local file permissions are usually under root&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;In the event one has a 4-core processor, you would use &amp;quot;make -j5&amp;quot;, minus quotations.&lt;br /&gt;
Note: There is NO SPACE inbetween j and 5. It&#039;s all a single stroke.&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Please note that any old revision of the OpenSSL package installed by the distribution may/will interfere with the new version. See your distribution documentation for information on how to remove it to be able to use the new one.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Installing MySQL&#039;&#039;&#039;&lt;br /&gt;
Start by downloading and dpkg the package.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
wget https://dev.mysql.com/get/mysql-apt-config_0.8.12-1_all.deb&lt;br /&gt;
dpkg -i mysql-apt-config_0.8.12-1_all.deb&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
After following the configuration screen you want to apt-get update and install the libraries.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
apt-get update&lt;br /&gt;
apt-get install mysql-server mysql-client libmysqlclient-dev libmysql++-dev&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Installing GCC 9&#039;&#039;&#039;&lt;br /&gt;
Start by adding ppa:ubuntu-toolchain-r/test to your repository list (&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;BIONIC ONLY !!!&amp;lt;/span&amp;gt;)&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
add-apt-repository ppa:ubuntu-toolchain-r/test -y&lt;br /&gt;
apt-get update&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Now we can install gcc-9 and g++-9.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
apt-get install gcc-9 g++-9&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Symbolic links cc and c++ are installed by default.&lt;br /&gt;
We will install symbol links for gcc and g++, then link cc and c++ to gcc and g++ respectively.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
update-alternatives --remove-all gcc &lt;br /&gt;
update-alternatives --remove-all g++&lt;br /&gt;
&lt;br /&gt;
update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-9 10&lt;br /&gt;
update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-9 10&lt;br /&gt;
&lt;br /&gt;
update-alternatives --install /usr/bin/cc cc /usr/bin/gcc 10&lt;br /&gt;
update-alternatives --set cc /usr/bin/gcc&lt;br /&gt;
update-alternatives --install /usr/bin/c++ c++ /usr/bin/g++ 10&lt;br /&gt;
update-alternatives --set c++ /usr/bin/g++&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The last step is configuring the default commands for gcc, g++.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
update-alternatives --config gcc&lt;br /&gt;
update-alternatives --config g++&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Compiling and Installing the SkyFire 5.4.8 ==&lt;br /&gt;
&lt;br /&gt;
Grab the latest version of SkyFire_548 using git:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone -b trunk https://codeberg.org/ProjectSkyfire/SkyFire_548.git&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
This should create a directory called SkyFire_548 that will contain all the files necessary to compile the server and it&#039;s tools. Change to the directory, configure, and build.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd SkyFire_548&lt;br /&gt;
mkdir build &amp;amp;&amp;amp; cd build&lt;br /&gt;
cmake ../ -DCMAKE_INSTALL_PREFIX=$HOME/skyfire-server/ -DTOOLS=1&lt;br /&gt;
make -j(#cores+1)&lt;br /&gt;
make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Parameter explanations &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;-DACE_LIBRARY=&amp;lt;path to ACE library&amp;gt;                      (full path to your libACE.so file INCLUDING the filename - do not use if you have ACE installed systemwide)&lt;br /&gt;
-DACE_INCLUDE_DIR=&amp;lt;path to ACE includes/headers&amp;gt;         (path to the libACE include directory - do not use if you have ACE installed systemwide)&lt;br /&gt;
-DOPENSSL_LIBRARIES=&amp;lt;path to OpenSSL library&amp;gt;            (path to your OpenSSL library - do not use if you have OpenSSL installed systemwide)&lt;br /&gt;
-DOPENSSL_INCLUDE_DIR=&amp;lt;path to OpenSSL includes&amp;gt;         (path to your OpenSSL includes directory - do not use if you have OpenSSL installed systemwide)&lt;br /&gt;
&lt;br /&gt;
-DSERVERS             Build worldserver and authserver&lt;br /&gt;
-DSCRIPTS             Build core with scripts included&lt;br /&gt;
-DTOOLS               Build map/vmap extraction/assembler tools&lt;br /&gt;
-DUSE_SCRIPTPCH       Use precompiled headers when compiling scripts&lt;br /&gt;
-DUSE_COREPCH         Use precompiled headers when compiling servers&lt;br /&gt;
-DUSE_SFMT            Use SFMT as random numbergenerator&lt;br /&gt;
-DWITH_WARNINGS       Show all warnings during compile&lt;br /&gt;
-DWITH_COREDEBUG      Include additional debug-code in core&lt;br /&gt;
-DWITH_SQL            Copy SQL files during installation&lt;br /&gt;
-DCONF_DIR            Set configuration directory&lt;br /&gt;
-DLIBSDIR             Set library directory&lt;br /&gt;
-DCMAKE_C_FLAGS       Set C_FLAGS for compile (advanced users only)&lt;br /&gt;
-DCMAKE_CXX_FLAGS     Set CXX_FLAGS for compile (advanced users only)&lt;br /&gt;
&lt;br /&gt;
-DWITH_CXX_17_STD     Use c++17 standard (advanced users only)&lt;br /&gt;
-DWITH_CXX_DRAFT_STD  Use c++ draft standard (advanced users only)&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== Installing SkyFireDataBase (SFDB) ==&lt;br /&gt;
&lt;br /&gt;
Now we will set up the database framework for which SkyFire will be installed into:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;It is assumed that you cloned SkyFire_548 into your home directory ~/&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Replace the parts in &amp;lt;&amp;gt; to the correct administrative username, and associated password.&lt;br /&gt;
Usually the administrative user is root, but you may have altered it.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;In the terminal window:&#039;&#039;&#039;&lt;br /&gt;
&amp;lt;pre&amp;gt;mysql -u &amp;lt;mysql_root&amp;gt; -p &amp;lt; ~/SkyFire_548/sql/create/create_mysql.sql&lt;br /&gt;
mysql -u &amp;lt;mysql_root&amp;gt; -p auth &amp;lt; ~/SkyFire_548/sql/base/auth/auth.sql &lt;br /&gt;
mysql -u &amp;lt;mysql_root&amp;gt; -p characters &amp;lt; ~/SkyFire_548/sql/base/character/character.sql&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Grab the latest version of SkyFireDB on our forum. http://www.projectskyfire.org/index.php?/files/&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
The DB download contains an installer for Linux and Windows. Also a single Sql file.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;!!!You will also need to manually run any sql&#039;s found in the cores sql folder .../sql/updates/world and .../sql/updates/char!!!&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
(If you are doing this for more than local use you will also need to change a database entry using this mysql command.)&lt;br /&gt;
&amp;lt;pre&amp;gt;update auth.realmlist set adress = &amp;quot;YOUR IP HERE&amp;quot; where id = 1;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Configuration ==&lt;br /&gt;
&lt;br /&gt;
Now move and edit the configuration files to run the server.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;mv ~/skyfire/etc/worldserver.conf.dist ~/skyfire/etc/worldserver.conf&lt;br /&gt;
mv  ~/skyfire/etc/authserver.conf.dist  ~/skyfire/etc/authserver.conf&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Edit both of these files to the correct Mysql user name, password, and your DataDir. &lt;br /&gt;
&amp;lt;pre&amp;gt;nano ~/skyfire/etc/(correctserver).conf&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Extractor and VMAPs ==&lt;br /&gt;
&lt;br /&gt;
If you need a Windows compiled copy of the DBC Extractor and the tools for the VMAP&amp;lt;BR&amp;gt; &lt;br /&gt;
Extraction and assembly you can get a copy of them using your GIT client and download&amp;lt;BR&amp;gt; &lt;br /&gt;
them from: https://codeberg.org/ProjectSkyfire/Community-Tools&amp;lt;BR&amp;gt;&amp;lt;BR&amp;gt;&amp;lt;BR&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Before doing any of these commands, follow the guide at &lt;br /&gt;
&amp;lt;pre&amp;gt;http://appdb.winehq.org/objectManager.php?sClass=version&amp;amp;iId=20549&amp;lt;/pre&amp;gt;&lt;br /&gt;
to obtain a working installation of the latest WoW 5.4.8 client, then proceed:&lt;br /&gt;
&lt;br /&gt;
The last and final step of setting up SkyFire_548 is to obtain a proper set of maps for use in the server. Change to the WoW directory and run some commands:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;cd &amp;quot;Wow Directory&amp;quot;&lt;br /&gt;
~/skyfire/bin/extractor&lt;br /&gt;
~/skyfire/bin/vmap3extractor&lt;br /&gt;
mv dbc ~/skyfire/bin/dbc&lt;br /&gt;
mv maps ~/skyfire/bin/maps&lt;br /&gt;
mkdir vmaps &lt;br /&gt;
~/skyfire/bin/vmap3assembler&lt;br /&gt;
mv vmaps ~/skyfire/bin/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== SkyFire Patcher ==&lt;br /&gt;
&lt;br /&gt;
The client will need to be patched before it can properly connect to the server. Acquire the patcher in the Community Tools repository.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;git clone https://codeberg.org/ProjectSkyfire/Community-Tools.git&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install Mono in Wine or Crossover Office and run the patcher to modify your WoW.exe file.&lt;br /&gt;
&lt;br /&gt;
to install Mono simply, and correctly configured, please view: &lt;br /&gt;
&amp;lt;pre&amp;gt;http://wiki.winehq.org/winetricks&amp;lt;/pre&amp;gt;&lt;br /&gt;
to obtain specific versions/running hackery in your Wine bottle.&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
http://www.trinitycore.org/w/How-to:Linux&lt;br /&gt;
&lt;br /&gt;
http://wiki.cactusemu.com/index.php?title=Installation_%28Linux%29&lt;br /&gt;
&lt;br /&gt;
http://wiki.winehq.org/winetricks&lt;br /&gt;
&lt;br /&gt;
http://appdb.winehq.org/objectManager.php?sClass=version&amp;amp;iId=20549&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Installation]]&lt;/div&gt;</summary>
		<author><name>Silent</name></author>
	</entry>
</feed>