[Mediawiki-l] Saving files to NAS

Brion Vibber brion at wikimedia.org
Fri Jun 20 00:18:56 UTC 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

hanbe325 wrote:
> I have set up my wiki in a virtual machine running ubutnu. I have enabled
> users to upload files. I would like large files (say over 100mb) to be saved
> to a ReadyNAS (RAIDed network Storage system) rather than on the virtual
> machine.   

The simplest thing is to use a networked filesystem -- NFS, SMB, etc.

Failing that, you can write a custom FileRepo implementation which
implements an alternate file storage backend, and hope it actually works
with the current state of the code. :)

> Anyone know how to do this? It would also be acceptable if the users could
> upload the files to the ReadyNas then put a link in the wiki that would
> allow users to down load files from the wiki.  

You could do a custom extension for this which would be simpler than
fully integrating a non-filesystem backend into the wiki's uploads system...

- -- brion
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkha93AACgkQwRnhpk1wk45AHgCdHpBPIlsX2OiibSF4OvwvrLc6
JLEAnjRqPXXvOxeO/WWmXVlruXsNcAlb
=SYbs
-----END PGP SIGNATURE-----



More information about the MediaWiki-l mailing list