KN Tutoriale Metin2KabyNode Resurse

Tutorial instalare server+FreeBsD

Deci sa incepem :

Mai intai trebuie sa instalam mysql.

portsnap fetch extract
 
cd /usr/ports/databases/mysql55-server
 
make WITH_XCHARSET=all install clean
 
echo 'mysql_enable="YES"' >> /etc/rc.conf
 
cd /var/db/mysql;fetch http://infernalmetin.site50.net/download/2011er_Datenbank.gz
 
tar -xzvf 2011er_Datenbank.gz && rm 2011er_Datenbank.gz
 
chown -R mysql /var/db/mysql && chgrp -R mysql /var/db/mysql
 
/usr/local/etc/rc.d/mysql-server restart
 
reboot
 
mysql -u root
 
grant all on *.* to mt2@"localhost" identified by "metin2";
 
grant all on *.* to acces@"%" identified by "parola";
 

(in loc de user si parola scrieti userul si parola cu care vreti sa va conectati la mysql(navicat))

exit
 
 mysqladmin -u root password yourrootsqlpassword
 

(in loc de yourrootsqlpassword scrieti o parola pentru userul root)

chmod -R 777 /var/db/mysql
 


Acum trebuie sa instalam lib-urile.

cd /; fetch http://infernalmetin.site50.net/download/lib.tar.gz
 
tar -xzvf lib.tar.gz && rm lib.tar.gz
 
cd /usr;fetch http://infernalmetin.site50.net/download/lib.tar.gz 
 
 tar -xzvf lib.tar.gz && rm lib.tar.gz
 

Urmeaza instalarea serverului.

cd /usr && fetch http://rien.ro/resurse/game2019.tar.gz
 
tar -xzvf game2019.tar.gz && rm game2019.tar.gz
 
chmod -R 777 /usr/game
 

Urmeaza un reboot si asta a fost :-!

 reboot
 


Pentru a porni serverul veti scrie urmatoarea comanda :

 cd /usr/game && sh start.sh
 


respectiv pentru oprire :

 cd /usr/game && sh close.sh

Deci sa incepem :

Mai intai trebuie sa instalam mysql.

portsnap fetch extract
 
cd /usr/ports/databases/mysql55-server
 
make WITH_XCHARSET=all install clean
 
echo 'mysql_enable="YES"' >> /etc/rc.conf
 
cd /var/db/mysql;fetch http://infernalmetin.site50.net/download/2011er_Datenbank.gz
 
tar -xzvf 2011er_Datenbank.gz && rm 2011er_Datenbank.gz
 
chown -R mysql /var/db/mysql && chgrp -R mysql /var/db/mysql
 
/usr/local/etc/rc.d/mysql-server restart
 
reboot
 
mysql -u root
 
grant all on *.* to mt2@"localhost" identified by "metin2";
 
grant all on *.* to acces@"%" identified by "parola";
 

(in loc de user si parola scrieti userul si parola cu care vreti sa va conectati la mysql(navicat))

exit
 
 mysqladmin -u root password yourrootsqlpassword
 

(in loc de yourrootsqlpassword scrieti o parola pentru userul root)

chmod -R 777 /var/db/mysql
 


Acum trebuie sa instalam lib-urile.

cd /; fetch http://infernalmetin.site50.net/download/lib.tar.gz
 
tar -xzvf lib.tar.gz && rm lib.tar.gz
 
cd /usr;fetch http://infernalmetin.site50.net/download/lib.tar.gz 
 
 tar -xzvf lib.tar.gz && rm lib.tar.gz
 

Urmeaza instalarea serverului.

cd /usr && fetch http://rien.ro/resurse/game2019.tar.gz
 
tar -xzvf game2019.tar.gz && rm game2019.tar.gz
 
chmod -R 777 /usr/game
 

Urmeaza un reboot si asta a fost :-!

 reboot
 


Pentru a porni serverul veti scrie urmatoarea comanda :

 cd /usr/game && sh start.sh
 


respectiv pentru oprire :

 cd /usr/game && sh close.sh