I'm trying to install mediawiki, but the system we use to deploy code has it on a read only file system. I can't just chmod the config directory. Is there another way to configure it? It seems like I'd just need to generate 1 or 2 files, and run some sql commands.
Gabe
Ehm, maybe a stupid question, but if the filesystem is readonly, I assume the read-only wil have to be lifted in order to install new software on it (like the wiki).
Either make the configuration part of the install process or (and?) Make the LocalSettings.php and the images directory a link (hard link) to somewhere on a read/write filesystem.
LocalSettings assumes that you might want to change some parameters at some point, the images directory assumes that you want to enable uploads.
On 11/16/05, Sechan, Gabe sechan@amazon.com wrote:
I'm trying to install mediawiki, but the system we use to deploy code has it on a read only file system. I can't just chmod the config directory. Is there another way to configure it? It seems like I'd just need to generate 1 or 2 files, and run some sql commands.
Gabe _______________________________________________ MediaWiki-l mailing list MediaWiki-l@Wikimedia.org http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
-- ---- Met vriendelijke groeten / With kind regards Hans Voss --------------------------------------- skype: hans.voss google talk enabled I am looking for people to invite to Gmail. I have 100 invitations left.
Sechan, Gabe wrote:
I'm trying to install mediawiki, but the system we use to deploy code has it on a read only file system. I can't just chmod the config directory. Is there another way to configure it? It seems like I'd just need to generate 1 or 2 files, and run some sql commands.
You can make a LocalSettings.php manually. You can do a local installation for a sample, or just rip the text out of config/index.php.
The SQL table setup is in maintenance/tables.sql (or maintenance/mysql5/tables.sql if you are on MySQL 5 and dare to try the experimental support)
If you have a _completely_ readonly filesystem you may have some issues though; a writable temp dir for PHP sessions (see php.ini), temp files for automatic merging with diff3, and of course file uploads if you use that.
-- brion vibber (brion @ pobox.com)
mediawiki-l@lists.wikimedia.org