English (United Kingdom)
Jms Multi Site, formerly joomla multisite.
Create, share multiple joomla sites in few clicks !
Message
  • EU e-Privacy Directive

    This website uses cookies to manage authentication, navigation, and other functions. By using our website, you agree that we can place these types of cookies on your device.

    View e-Privacy Directive Documents

Welcome, Guest
Please Login or Register.    Lost Password?

Slave creation...still confused!
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: Slave creation...still confused!
#9880
Slave creation...still confused! 12 Years, 8 Months ago Karma: 0
Hi Edwin,

I'm just about there with the slave creation. Think I understand a fair chunk of it now but if I could just get a quick confirmation of my settings?

What I'm trying to achieve:

A slave site that is:

    A complete copy of the Master.

    Has it's own database, user, password and prefix

    Shares the template

    NO sharing of users!


Basically, I want a copy of the master site and then for this to be independent, so that new images etc can be uploaded and not appear in other site folders.

I have this:

Site ID: the addon domain name


Deployed Directory: /home/servername/domains/addon_domain_url/public_html

Question: when I get to the DB info should I enter my new DB name, user and pass... or the master one for the above scenario?



What I'm still really not sure about now is the

Alias Link

and if I have the image folder link etc.

OR

Have I been too complicated? Should I be doing a simple copy and then running the standard joomla install and entering the unique DB info there?

Sorry to be so daft about this but I just can't seem to get my head around the whole process and I get confused when I see the examples that seem to use subdomains!

THanks Edwin

Paul
luds
Junior Boarder
Posts: 23
graphgraph
User Offline Click here to see the profile of this user
Last Edit: 2012/04/14 12:22 By luds.
The administrator has disabled public write access.
 
#9881
Re: Slave creation...still confused! 12 Years, 8 Months ago Karma: 54
If you want to replicate the master website with specific "/images" folder and share the joomla "/tempaltes" directory, you need to create a JMS Template rule.

JMS template
template ID = replicMaster
Domain = www.{site_id}, {site_id}

Select the template site = <master DB>
Put a default rule for the "new site prefix" = {site_id-2}_
Deploy directory = /home/servername/domains/addon_domain_url/public_html

In the "file and folder" tab.
Select that you want the "image" action = copy
for the "templates" the action = "Symbolic Link"

Once you have the JMS template "replicMaster" created, you can use it to build the slave site.

Site ID = domain.com
Select the template "replicMaster"
Enter a site title
Put a new DB name, DB user, DB password.
Create the DB in you cPAnel before to create the slave site.

If you want a dynamic DB creation this is possible but require that you have a MySQL root user with a password configured in the "multisites.cfg.php" file.
edwin2win
Moderator
Posts: 5370
graph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#9886
Re: Slave creation...still confused! 12 Years, 8 Months ago Karma: 0
Cheers Edwin...

That explains a lot!

Few things....do I have to put a link in for the image folder?
oh...and I haven't got a Symbolic Link option in my template dropdown list in the 'Folders and Files' tab

I'm also getting an error (though this may be due to the missing symbolic link I suppose!

MakeDB - Unable to login as Root to create a DB user dynamically.


I'd created new databases already on the server ready....

New DB = servername_newDBname

Prefix = newprefix_

User = servername_NewUserName

and a password


Must be doing something else wrong!!

Paul
luds
Junior Boarder
Posts: 23
graphgraph
User Offline Click here to see the profile of this user
Last Edit: 2012/04/14 19:17 By luds.
The administrator has disabled public write access.
 
#9892
Re: Slave creation...still confused! 12 Years, 8 Months ago Karma: 0
Sorted!!

Apache Settings already set up for symbolic links and hello php worked ok

(For those with WHM access it's in Apache Config > Global Config > Directory "/" Options section)

What was throwing me was that Templates doesn't literally say 'symbolic links

It's the 'special: Special Copy' setting that is needed.

So here's the instructions for what I needed in case anyone else out there needs it too!!

To replicate the master website with specific "/images" folder and share the joomla "/templates" directory, you need to create a JMS Template rule. The following instructions assume that you have sever settings that enable you to create Slaves in the root directory (not the public_html of the Master Site) and that you have used and created cPanel addon domains and created databases with unique users attached to them BEFORE creating the slave.


JMS template
template ID = replicMaster
Domain = www.{site_id}, {site_id}

Select the template site = <master DB>
Put a default rule for the "new site prefix" = {site_id-2}_
Deploy directory = /home/servername/domains/addon_domain_url/public_html

In the "file and folder" tab.
Select that you want the "image" action = copy
for the "templates" the action = "special: Special Copy"

Once you have the JMS template "replicMaster" created, you can use it to build the slave site.

Site ID = domain.com
Select the template "replicMaster"
Enter a site title
Put a new DB name, DB user, DB password.

The result of this will be slaves based on the Master but that are editable in terms of content. In my case, my slaves are all local directory sites so the content needs to be unique to each site...however the 'look and feel' of the site needs to be the same.

Cheers Edwin for your (as always) excellent support!

Paul
luds
Junior Boarder
Posts: 23
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#9910
Re: Slave creation...still confused! 12 Years, 8 Months ago Karma: 54
"/images" and "/templates" have the "Special Copy" action that depends on the platform.
When the Symbolic Link is allowed, this perform a Symbolic Link.
Otherwise, this may perform a copy for the Windows platform.
This is a special copy because this depend on the context.

Thank you for the setting in WHM that may perhaps help some customers.
edwin2win
Moderator
Posts: 5370
graph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
Go to topPage: 1
get the latest posts directly to your desktop
2Win, Multisite(s) are trademarks of Edwin2Win.
Joomla