List of Operating Systems that works with the files + tut
#1

I know not everyone wanna work with the same OS so i did try some that on that the files are working ( im think they work on all linux systems )

I not gona explain the firewall rules since this would get to big and for every OS are enought tuts for this on the i-net

 

all will be explained how to do it over Putty/WinSCP

 

DONT POSTER HERE OVER PERMISSION DENIED!! it will get ignored and direcktly removed

 

1. Fedora 15/16/17/18

 

(fresh installed)

 

login with the terminal as user root and use this commands :

 

Update the server

yum update
Installs all packets we need mysql php mono....

yum install -y mysql mysql-server mysql-devel mysql-libs php-mysql httpd php mono-core gcc-c++ libstdc++.so.6 libz.so.1 libstdc++-libc6.2-2.so.3 libgssapi_krb5.so.2 screen lm_sensors lm_sensors-devel gtk+ php-devel

yum groupinstall -y MySQL Database Web Server Development Tools Development Libraries
after all this is done add the libraries that i give for download to the path /usr/lib

[hide]2[/hide]

 

adding Apache and mysql at startup

chkconfig --add httpd
chkconfig httpd on
chkconfig --add mysqld
chkconfig mysqld on
 

starting Services we need

service httpd start
service mysqld start
if you wanna use iptables

systemctl disable firewalld.service
systemctl stop firewalld.service
systemctl enable iptables.service
systemctl enable ip6tables.service
systemctl start iptables.service
systemctl start ip6tables.service
Read down to see mysql settings

 

 

2. Debian 6.0

 

(fresh installed)

 

login with the terminal as user root and use this commands :

 

Update the server

apt-get update
Installs all packets we need mysql php mono

apt-get install mono-complete
apt-get install mono-devel
apt-get install mysql-server mysql-client
apt-get install php5-mysql
apt-get install lib32z1

after all this is done add the libraries that i give for download to the path /usr/lib32

[hide] 2 [/hide]

 

 

3. CentOS is close the same as fedora... only for install mono look at my tut

 

 

 

$MySQL

 

set up the mysql accounts

 

login with the terminal as user root and use this commands :

mysql -u root -p
this will ask you for password if u not have set a password just hit enter

 

Generate an mysql User

GRANT ALL ON *.* TO myuser@% IDENTIFIED BY mypassword

example create user HateMe with password SuperMob

GRANT ALL ON *.* TO HateMe@% IDENTIFIED BY SuperMob
example create user LCSERVER with password MYSERVERROCKS only from ip 127.0.0.1 only

GRANT ALL ON *.* TO [email protected] IDENTIFIED BY MYSERVERROCKS
 

to use the account LCSERVER for the files we need now to change the password to old_password

UPDATE mysql.user SET password=OLD_PASSWORD(MYSERVERROCKS) WHERE user=LCSERVER;
to make all this effects works waht we have done we need type

flush privileges;
now we can leave the mysql line with

quit
 

 

ok now another thing we all know its annoying upload over Navicat or HeidiSQL the databases bc they so big here i explain how you can do it faster and easy

 

open navicat

and create ur databases as example data, char, auth, post

 

now zip all your sql files as example newproject_data.sql, newproject_db.sql, newproject_auth.sql, newproject_post.sql

in this example i name the ZIPFILE, db.zip

 

upload it with WinSCP to ur home directory  /home/

 

now login with the terminal as user root and use this commands :

cd
cd ..
now you should see something like this [root@localhost /]# go into home

cd home
....  [root@localhost home]

 

now unzip the db.zip that we have created

unzip db.zip

after unziping is done waht should have taken only few seconds we gona import them

mysql -u root -p DATA-BASE-NAME < data.sql

 

mysql -u root -p data < newproject_data.sql
mysql -u root -p char < newproject_db.sql
mysql -u root -p auth < newproject_auth.sql
mysql -u root -p post < newproject_post.sql
 

 

more information 2

 

this was it now you should be able to start the servers!

 

 

 

(if somethign in here is missing plz send a pm)

#2
Thanks Hate, this will be okey for those who need to install hamachi for LC and cant on CentOS, can use either of both

#3

Only Debian 6.0 64Bit working?

 

I cant install lib32z1 on 32bit... Big Grin

 

i get error that he cant found libmysqlclient.so.12, but:

libmysql++-dev ist schon die neueste Version.

#4


 

Only Debian 6.0 64Bit working?

 

I cant install lib32z1 on 32bit... Big Grin

 

i get error that he cant found libmysqlclient.so.12, but:

libmysql++-dev ist schon die neueste Version.

 

download the libs i did post there then it will work

#5

Okay, i have to put the files into the "usr/lib" directory....

 

Now an other Problem :/ everything is correct. But i get:

root@h2124433:~/LastChaos/LoginServer/LoginServer# ./LoginServer
Load setting file....
Connect DB Error!!

All in the newStobm.bin is correct, i dont know why :/ should i open a new Thread? Big Grin

#6
I dont need the Mono packages, my server works 100% without it. Or i need to install this? I dont use Desktop, only SSH.

#7

I dont need the Mono packages, my server works 100% without it. Or i need to install this? I dont use Desktop, only SSH.

You need the Mono packages if you want to use the Billing Server. If not, they doesnt needed.

#8

for the lib step sense he didnt explain it well you want to

type

yum install libcrypto.so.6
yum install libssl.so.6for last one we type firstcd /usr/libnow we type this wget http://www.mediafire.com/download/62clds...t.so.12now after that is done we type this chmod 777 libmysqlclient.so.12now we are done
#9


for the lib step sense he didnt explain it well you want to

type

yum install libcrypto.so.6

yum install libssl.so.6for last one we type first
cd /usr/libnow we type this
wget http://www.mediafire.com/download/62clds...t.so.12now after that is done we type this
chmod 777 libmysqlclient.so.12now we are done 

You can get the dependencies directly from Oracles website.

#10
Hello, if this can help you, old distribution: 2 Smile



Forum Jump:


Users browsing this thread: 1 Guest(s)