Dual server config

Started by ConYum, March 19, 2013, 01:11:57 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

iman

1 Server for *SQL and 1 server for all your PHP needs...
Thats hw CDDVDHeaven and DDT and ISHARE always ran....server load time were always great even when busy and running the old Brokenstone TBDev source code when other single server trackers were always falling over.
;)

skype = iman@ishare.cd

trasque

this can be accomplished on any os.

windows sucks the life out of your hardware but if you must use it.

get your webserver set up and working on server 1,  get your mysql server runnign on server 2

if you dont know how to set these up under windows ... use XAMPP / Appserv or a similar package but please take the time to do the configs properly or its not very good for a production/live environment but then again ... neither is windows so it kinda dont matter

anyways after you get both servers set up with XAMPP you go into server 2 (the mysql server) and make a user for mysql in phpmyadmin and make sure the ip allowed to connect is the ip of server 1 (where the apache / lighhtpd / ngix webserver is) 

once u make this user you need to edit my.cnf (mysql config file) to allow external networking

then you can go into the U232 config file and set the mysql host and connectiod info for server 2

make sure to mind your max connections setting in my.cnf as well

and thats the gist of it

2ยข,
T

cm27

shoot keep trying untill you get it bro :)

What os you want an second find an os an stick with it until you master it :)
Never fall to those that just sit there.. Always look for the way to the top even if you have to code it your self and mistakes and all... quote from BonZO...

rushed

Quote from: ConYum on March 19, 2013, 01:56:56 PM
I have 2 big reasons,
1. I want to learn more about the server side configs,
2. Me and linux is not friends, i used to have my TBDEV tracker on Ubuntu, it worked superb, tho it took me like 3 days to figure out how to install nginx with mysql properly lol :P

Quote from: MrRep on March 19, 2013, 01:39:30 PM
and the reason why you want to make life harder for yourself is?
1. use linux
2. with memcache and a good powerful server, this source will take a hell of a lot of traffic before it slows down

You could try ubuntu with admin autos guidehttps://u-232-forum.duckdns.org/topic,1475.0.html it works a treat and is very clear and easy to follow

ConYum

I have 2 big reasons,
1. I want to learn more about the server side configs,
2. Me and linux is not friends, i used to have my TBDEV tracker on Ubuntu, it worked superb, tho it took me like 3 days to figure out how to install nginx with mysql properly lol :P

Quote from: MrRep on March 19, 2013, 01:39:30 PM
and the reason why you want to make life harder for yourself is?
1. use linux
2. with memcache and a good powerful server, this source will take a hell of a lot of traffic before it slows down

MrRep

and the reason why you want to make life harder for yourself is?
1. use linux
2. with memcache and a good powerful server, this source will take a hell of a lot of traffic before it slows down

ConYum

Hi,

Im thinking of havin my u-232 tracker on 2 servers, database and tracker on one and the site and forums on another,
Tho i've tryed to get it to work but without success,
Im running it on win2k8 server right now, and will run the same on the other server too, cuz im no linux fan :P

So if any helpfull soul can give some directions and tips i'd be truly greatful

If im not clear enough in my info, give me a spank and ask me for more info :)

Kind regards