Saturday, December 27, 2014

[How To] Prepare FreeBSD for Metin2

Unknown
Hi, since many people had troubles with outdated or plain wrong tutorials, I am writing a new one on how to prepare your Metin2 dedicated or VPS to run any kind of Metin2 files.



The first thing we should do is update our operating system to the latest version:



freebsd-update fetch install



Note: If you get a warning about End Of Life, consider upgrading to the most recent supported version (8.4, 9.3 or 10.1). If you have FreeBSD 8.2 for example, you can upgrade to 8.4 with:



freebsd-update upgrade -r 8.4-RELEASE




Now we are going to extract or update the ports, depending on whether you extracted them before or not, you have to run either of these commands:



portsnap fetch extract



if it's the first time, or:



portsnap fetch update



if it's not the first time you download ports.



If we are running a 64 bit version of FreeBSD, we will install the 32 bit libraries now. Replace the version number in the link below with your FreeBSD's version number. You can find out which version you are running with uname -a.



cd /tmp

fetch ftp://ftp.freebsd.org/pub/FreeBSD/re...EASE/lib32.txz

tar xfp lib32.txz -C /




Note: If you get an error here about not being able to unlink existing object, this means that you already have them installed.



Now it's time to install mysql 5.6, the most recent version, as it performs better than the older ones.



pkg install mysql56-server



Note: If this command fails for you, you need to install the pkg tool:



cd /usr/ports/ports-mgmt/pkg

make install UPGRADEPKG=1 clean

pkg2ng




Next we add it to start on boot:



echo "mysql_enable=YES" >> /etc/rc.conf



And start MySQL server:



service mysql-server start



After uploading your database, give the correct permissions and upgrade your tables to the server's version:



chown -R mysql /var/db/mysql

mysql_upgrade




Optional



Running old files



Install the compatibility packages to use games compiled for old versions of FreeBSD.



cd /usr/ports/misc/compat7x

make install clean




We can install the compat8x, compat9x, etc. if we need compatibility with those operating systems in a newer version. Library errors are often solved by installing these packages.



Installing python for qc



pkg install python







Ver publicacion completa // See full post --> >>elitepvpers<<




Thx .Shōgun

PostDate: December 27, 2014 at 12:09PM

About the Author

Unknown / Author & Editor

Somos una comunidad de gamers estrategas. Buscamos las mejores y mas rapidas formas de realizar cosas en los juegos. Muchos ya nos conocen, visitanos https://www.facebook.com/TLTDLJ/

0 comments:

Post a Comment