Hi, 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.
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.
-----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
Thanks,
The simplest thing is to use a networked filesystem -- NFS, SMB, etc.
This is probably the solution I will go with but how can I link to files on a NFS. Would you alter it so all wiki files are automatically saved to this location instead of wiki/images (If so do you know what settings to change?). The other option would just be to have users save files to the NFS then create links to those files in the wiki. I'm not sure but at the moment the wiki seems to only accept valid html links (I don't know how to make a link to a Network Shared file)
Any help would be greatly appreciated.
Thanks.
On Thu, Jun 19, 2008 at 6:17 PM, hanbe325 hanbe325@gmail.com wrote:
Thanks,
The simplest thing is to use a networked filesystem -- NFS, SMB, etc.
This is probably the solution I will go with but how can I link to files on a NFS. Would you alter it so all wiki files are automatically saved to this location instead of wiki/images (If so do you know what settings to change?). The other option would just be to have users save files to the NFS then create links to those files in the wiki. I'm not sure but at the moment the wiki seems to only accept valid html links (I don't know how to make a link to a Network Shared file)
Any help would be greatly appreciated.
Thanks.
Just set up the NFS mount point on the wiki/images directory, or make that a soft link to the actual mount point. You can mount filesystems pretty much wherever you want to, inside other normal filesystems...
mediawiki-l@lists.wikimedia.org