icon Get the most out of Surmunity, read our tips here! Need an interesting blog to read? You've got to read the Surpass Blog! | Welcome! Please register to access all of our features.

» Surpass Web Hosting Forums » Discussions » Coding and Programming » More than One Manbo, using Copy & Paste, is it possible?

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread
Old September 21st, 2004, 1:43 AM   #1 (permalink)
Surpass Fan
Seasoned Poster
 
Joined in Jul 2004
30 posts
Gave thanks: 0
Thanked 0 times
Question More than One Manbo, using Copy & Paste, is it possible?

hello

I am wondering whether is this possible?

Well, what I want to do is to host 5 Mambo in 5 Subdomains. Basically I was thinking to install one Mambo first, say in subdomain "MAMBO_ONE" and setup the basic frame work including all the features that I want. After that, I just want to COPY and PASTE the Mambo in subdomain "MAMBO_ONE" into other subdomains, eg: "MAMBO_TWO", "MAMBO_THREE" etc... Is this is possible? If this is possible is there any things that I should be aware off?

Thank you in advance
iggyboy is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old September 21st, 2004, 1:50 AM   #2 (permalink)
H
after g, before i
Resident.
 
H's Avatar
 
Joined in Jul 2004
Lives in N,BC,CA
8,089 posts
Gave thanks: 48
Thanked 131 times
Never done it, but I'm sure it could be done by editing the config files when you move it to another subdomain. Actually.. I think you would have to do each manually because of the database setup. You'd need a seperate database for each one. Hmm, I'm thinking of ways to do it.

Very least would be to copy the database once you get it right on the first. Then duplicate the files and put them into the respective subdomains. After edit the config settings to the new subdomain and path. Make sure you give each a unique database (or they'll be sharing one..) and then in each of the database you create, just paste in the queries and it should restore them.

This depends on whether or not it stores the paths in the database or a config file. Hope this helped somewhat.
H is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old September 21st, 2004, 1:59 AM   #3 (permalink)
Surpass Fan
On a golden path...
 
Beldin's Avatar
 
Joined in Apr 2004
Lives in Utah
Hosted on Nifty
338 posts
Gave thanks: 0
Thanked 0 times
You could just use scripta to install them all then create the one you want how you want it. Then change the files that need to be changed and upload them all to the different places then change the databases. Just do everything with one install then save the database then reupload it and rename it or something like that. Not exactly sure how but it shouldn't be too hard.
__________________
fatkid.us
Server: Nifty
Beldin is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old September 22nd, 2004, 9:24 AM   #4 (permalink)
Surpass Fan
Seasoned Poster
 
Joined in Jul 2004
30 posts
Gave thanks: 0
Thanked 0 times
thankx for the advice guys

i will try and update the outcome once i made it, succesfull
iggyboy is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old September 22nd, 2004, 9:50 AM   #5 (permalink)
minor deity
Super #1
 
Bigjohn's Avatar
 
Joined in Apr 2004
Lives in Georgia
Hosted on XEON
7,395 posts
Gave thanks: 28
Thanked 94 times
step 1 -
make 5 databases and assign 5 users

step 2 -
Install and configure the first mambo.

Step 3 -
Copy the mambo to the second 'subdomain'.

Step 4 -
Edit the configuration.php file to specify the database, user, password, absolute path and livesite.

Repeat steps 2-4 until you have all your sites.

Step 5 - copy the database from the first site to all the others. This will give you the same admin user for all, and make sure you have all the proper db tables, etc. You can do this using PHPMyAdmin - 'backup' the database, then 'restore' it to the other db-s.
__________________
Proud to be a Surmunity Mod!
XEON PASS60 PASS61
Make a fundamental difference!
My Sites:
Curious about Brewing Beer? Join the community!
>>>>> Some Change is GOOD! Keep your paycheck! Support the Fair Tax
Get into an Art museum
Victorian London
It's your brain -ON WEB - mybrainhost.com (under development)
What SHOULD Government do? Much Less than it Does!
Bigjohn is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old September 25th, 2004, 7:03 AM   #6 (permalink)
Registered User
Comfy Contributor
 
blaze's Avatar
 
Joined in Aug 2004
Lives in Las Vegas
Hosted on pass11, pass12
187 posts
Gave thanks: 0
Thanked 0 times
Well, you could install 5 different Mambo sites by copying/pasting -- but then you'd have 5 different admins and 5 different sites running on 5 different databases. If you want to share all 5 sites in one database with just one admin that controls all of your mambo sites, then go here my friend:

http://forum.mamboserver.com/showthr...aring+database

I haven't tried this yet -- but I will, because I am currently developing 50 Mambo sites that will all share the same database. This method will completely cut my workload down by a lot! Hope this was helpful.
__________________
-- BlaZe --
............
blaze is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On