Members: 16,996
Threads: 38,846
Posts: 159,391
Online: 17

Newest Member: Kl_broka@rediffmail.com


Odoo.tv - Outdoor Television


Sedo - Domains kaufen und verkaufen das Projekt mambers.com steht zum Verkauf Besucherstatistiken von mambers.com etracker® Web-Controlling statt Logfile-Analyse

Go Back   Mambers.com > Archive > Mambo 4.5 > Mambo 4.5 'How Do I' Questions

 
 
LinkBack Thread Tools Display Modes
Old 20.08.2004, 13:57   #1 (permalink)
Baby Mamber
 
Join Date: Aug 2004
Posts: 1
coling is on a distinguished road
Default Best methods for managing multiple Mambo installs.

Hi,

I know this question has been asked a few times, but from all the trawling I've done, I can't find any sort of definitive answer and I am hoping that a good general FAQ about this can maybe be created from this thread....

I'll describe a scenario: We want to offer several, completely separate clients a Mambo server to manage their website. All the websites will be served from a single machine for now (and there was always be several Mambo installs on a given server even if we expand to having multiple servers.

Now, I am pretty anal about security updates etc, and don't particularly like the idea of cleaning up after a hack attack, so I always want to ensure I have the most up to date Mambo installed.

We currently use Plesk to manage the server, but I've almost given up on the Add-on Application thing Plesk offers due to the lag and also the awkwardness of the upgrade process. OK, you can install new, packaged versions of Mambo via Plesk and AtomicRocketTurtle RPMS as they are released but as far as I know, this doesn't update any installed instance of Mambo on a given website (which is fundamentally what I'm trying to do).

Now here are some solutions I've come up with and would like to ask the community what they think, what other people currently do (I'm sure I'm not alone in this setup!) etc.

Solution 1 - Leg Work
Everyone gets a separate Mambo install. Patches/DB Schema changes are applied manually when updates come out, to each separate instance of Mambo. Probably the simplest solution

Solution 2 - SymLinks
I have a central Mambo "source" and when I want an instance of Mambo, I create a bunch of symlinks (ensuring the FollowSymLink apache directive is set ) except for the configuration and template files, which are manually copied in in the first instance to allow for independant modification. I don't envisage symlinking directorys, just files (perhaps using the X11 utility lndir - why isn't this one of the core utils as it's very useful )

Under this scheme I could just update my central source and apply the db patches to each DB and I'd be pretty much good to go. Much less legwork.

Solution 3 - Hacktastic
This is personally what I think to be the most elegant but typically a royal pain in the you know what! One of the problems of attempting to share Mambo source is the various configuration files, media paths etc. It would be nice to modify Mambo, so that everything is stored in the database. Images, configs, everything. Obviously the database connection configs can't be in there, but practically everything else could. This would mean a much larger database (especially for backups etc. although at least a user would have a full backup in a single file and the media stuff could be excluded if requested) but all the content could be server via psuedo files (e.g. with Path Info or Mod Rewrite) and supplied with the correct cache headers etc, to the user sees no real performance hit.

I'm guessing this would require creating a wrapper around any filesystem calls for storing files or accessing them directly and mapping this to the database instead (naturally it could also be left as a filesystem storage wrapper as I know a lot of people wont like this ).

Obviously this would also impact a fair few components, but Mambo specific ones could be modified to use the wrapper and ones that are just embedding in Mambo (and can be used separately, e.g. PHP Gallery) well, perhaps these ones would be ruled out for this method, I don't know. I guess if their developers don't mind, a similar wrapper could be implemented in that system and a simple mod for Mambo applied when embedding?

Under this system, Mambo could almost be installed once and accessed via an Apache Alias directive from multiple sites. THere is always the problem of which components and modules are available (common to all intances), but for some setups this wouldn't be a problem.


Conclusions

OK, I'm no expert with Mambo, and I've had only the slightest glances over the source code (I'm a pretty competent PHP/MySQL person), so I don't really know how each of the above scenarios would work, so am asking for anyone elses input on this one.

As well as including a few suggestions, I'm going to have to implement a few Mambo sites pretty soon, so if anyone has any bright ideas that wont take long to hash together to get this working, I'd be very interested.

Thanks for taking the time to read this rather long post. I look forward to comments.

All the best

Col.
coling is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Old 13.09.2004, 09:58   #2 (permalink)
Junior Mamber
 
Join Date: Apr 2004
Posts: 25
schoolsite is on a distinguished road
Default Re: Best methods for managing multiple Mambo installs.

I'm running a server with about 10 Mambo sites and so far, we've opted for legwork. I am starting to get concerned about it - I've modified the source in different ways on different sites and keeping track of all of this is proving to be really tedious. If you come up with an elegant solution, I'd love to hear it!

S
schoolsite is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 12.09.2005, 11:10   #3 (permalink)
Baby Mamber
 
Join Date: Feb 2005
Location: Johnson City, TN.
Posts: 3
meikeric is on a distinguished road
Send a message via AIM to meikeric Send a message via MSN to meikeric Send a message via Yahoo to meikeric
Default Re: Best methods for managing multiple Mambo installs.

I have about 20+ Mambo sites on one server. I just use Dreamweaver MX 2004 with the Site Management feature to manage PHP source files and what not. Oh, and when I have to change permissions PUTTY (everybody's favority SSH client!).
meikeric is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 22.09.2005, 12:43   #4 (permalink)
Baby Mamber
 
Join Date: Sep 2005
Posts: 13
uae4ever is on a distinguished road
Mail Re: Best methods for managing multiple Mambo installs.

I'd love to hear it too
__________________
For the identification on the Islam press the following connectors
click her
uae4ever is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 06.10.2005, 07:32   #5 (permalink)
Baby Mamber
 
Join Date: Apr 2005
Posts: 4
kickedmydog is on a distinguished road
Flame Re: Best methods for managing multiple Mambo installs.

Quote:
Originally Posted by uae4ever
I'd love to hear it too
I would appreciate you keeping your Satanic religion off this forum. Muslims are the reason why this world is in war and why there is so much hate and terrorism.

I would like the admin to ban you for posting content that has nothing to do with Mambo.
kickedmydog is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 12.10.2005, 14:01   #6 (permalink)
Baby Mamber
 
Join Date: Sep 2005
Posts: 13
uae4ever is on a distinguished road
Default Re: Best methods for managing multiple Mambo installs.

My generous brother the Islam condemned the magnanimity and the love not the spite and the terror
__________________
For the identification on the Islam press the following connectors
click her
uae4ever is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 12.10.2005, 14:24   #7 (permalink)
Baby Mamber
 
Join Date: Sep 2005
Posts: 13
uae4ever is on a distinguished road
Post Re: Best methods for managing multiple Mambo installs.

Quote:
Originally Posted by kickedmydog
I would appreciate you keeping your Satanic religion off this forum. Muslims are the reason why this world is in war and why there is so much hate and terrorism.

I would like the admin to ban you for posting content that has nothing to do with Mambo.
My generous brother the Islam condemned the magnanimity and the love not the spite and the terror

If if she/you wants to get to know the truth of the Islam then he pressed the following connector
http://www.discoverislam.com/
http://www.islamhouse.org/en/index.php
http://www.todayislam.com
http://www.beconvinced.com
http://www.thetruereligion.org
http://www.it-is-truth.org
http://www.islamunveiled.org
http://www.lordswrds.com
http://www.plaintruth.org
http://www.islam-qa.com
__________________
For the identification on the Islam press the following connectors
click her
uae4ever is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 14.12.2005, 10:20   #8 (permalink)
Mamber
 
deizel's Avatar
 
Join Date: Apr 2004
Location: Edinburgh & Stirling, Scotland
Posts: 88
deizel is an unknown quantity at this point
Send a message via MSN to deizel
Default Re: Best methods for managing multiple Mambo installs.

wtf? gtfo.
deizel is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
 

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
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Multiple Mambo sites tomwoods Development Discussions 101 17.11.2006 19:09
Mambo Open Source 5.0 Book Series mmx Community Announcements 13 19.09.2005 09:35
MOS no more - Mambo for sure ;) idigital Community Announcements 16 25.07.2004 06:14
Mambo OS Performance; Experienced Mambo Developers required Ritchie Development Discussions 7 14.06.2004 15:23
New mambo fork xMambo scheurer Community Announcements 24 16.05.2004 09:52


All times are GMT +2. The time now is 06:15.

Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.1.0
A vBSkinworks Design
© Copyright 2004-2008 by Arthur Konze Webdesign.