ICEFIRE Webmaster Board  

Go Back   ICEFIRE Webmaster Board > CjOverkill Support Forum > CjOverkill General Discussion and Support

CjOverkill General Discussion and Support CjOverkill general discussion and support.

Reply
 
Thread Tools Display Modes
  #1  
Old 23rd May 2013, 11:32 AM
sisi sisi is offline
Junior Member
 
Join Date: Apr 2010
Posts: 9
Default Install cjoverkill in several sites

Hi,

I'd like to know which files do I have to copy to a second added site.
I mean, I think something else than in.php and out.php.

Do I have to copy all the files?

Thank you very much
Reply With Quote
  #2  
Old 24th May 2013, 12:53 PM
ICEFIRE ICEFIRE is offline
Administrator
 
Join Date: Sep 2008
Location: Galaxy Media
Posts: 503
Send a message via ICQ to ICEFIRE
Default

You can copy all the files, but you can safely skip the cjadmin directory.
It's only needed on one site.

Remember that you must copy the cj-conf.inc.php file from your main site to the other ones. After the install that file has the database connection info, so it's needed on the other sites.
Reply With Quote
  #3  
Old 26th May 2013, 03:10 PM
sisi sisi is offline
Junior Member
 
Join Date: Apr 2010
Posts: 9
Default

Thank you very much.

In the same line...

Could I use the same installation for severan sites under different ips, if I change "localhost" in the config file for the url of the database?

Thank you very much again!
Reply With Quote
  #4  
Old 27th May 2013, 05:15 PM
ICEFIRE ICEFIRE is offline
Administrator
 
Join Date: Sep 2008
Location: Galaxy Media
Posts: 503
Send a message via ICQ to ICEFIRE
Default

Yes, it will do the work.
You can leave it as localhost if the sites are on the same server regardless of the IPs.
CjOverkill uses site name and not IP to determine what site it's servicing, so you can have a single site using several IPs too.

Take in mind that there must be low latency link between servers (they must be in the same LAN or datacenter). It's a MySQL limitation because MySQL tends to crash connections if they have big latency.

Take a look at the CjOverkill manual for clustered configurations and recommended database variables.

http://www.cjoverkill.com/manual/cluster.html
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 04:25 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.