I am gonna change my setup. I am currently using a Linux box to host Mike2 (external website A) and a Windows machine for the internal site. I will switch to Linux internally, set up an exact mirror of the public site and try to use NFS over SSH between the two sites ( http://www.howtoforge.com/nfs_ssh_tunneling). I know that Wikipedia is run on multiple, distributed server farms. Are you using the same setup then in order to have all the Wikipedia project sites connect to Wikicommons to transclude/include the media files?
Another option I am considering is to schedule a 1 minute cron job with rscync over ssh to mirror the public site internally and then use transclusion from a local server.
I will keep you posted on my experiments...
Thanks, Andi
On 25/07/07, Andreas Rindler arindler@jenandi.com wrote:
On 25/07/07, Platonides Platonides@gmail.com wrote:
Andreas Rindler wrote:
Platonides wrote:
You seem to miss $wgSharedUploadDirectory, $wgSharedUploadDBname
and these are also configured on B, the internal wiki? I read through the description on the below links, but I can't make out which directory on what server I need to configure.
Yes, you tell B which db A uses (by default tries to access with the same db login as B's) and on which local folder (for B) the images are (for creating thumbnails).
ah, makes sense. I tried the setup but got an error:
Sorry! This site is experiencing technical difficulties. Try waiting a few minutes and reloading. (Can't contact the database server: Access denied for user 'wikiadmin'@'%' to database ' wikidb@localhost' (localhost))
I also found an old posting regarding this issues: http://lists.wikimedia.org/pipermail/mediawiki-l/2005-December/008696.html
It's a folder seen from B's server, so if A is on another computer you would mount it on B using a remote filesystem like NFS.
mhh,. I will have to look into that because that has security implications, right? Is there a way to have the thumbnail generation somewhere else?
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-l