diff options
author | Christian Parpart <trapni@gentoo.org> | 2004-11-16 18:42:04 +0000 |
---|---|---|
committer | Christian Parpart <trapni@gentoo.org> | 2004-11-16 18:42:04 +0000 |
commit | f0ea5cc07768e30a78203e0789ca1c4f583e1e69 (patch) | |
tree | 555ae5ed1fdfb95207b55ecb74842ef9cab8954f /www-apps/mediawiki/files | |
parent | Initial import. Fixes #70559. (Manifest recommit) (diff) | |
download | gentoo-2-f0ea5cc07768e30a78203e0789ca1c4f583e1e69.tar.gz gentoo-2-f0ea5cc07768e30a78203e0789ca1c4f583e1e69.tar.bz2 gentoo-2-f0ea5cc07768e30a78203e0789ca1c4f583e1e69.zip |
merged with ideas from bug #37894 as I just knew about this bug after my ideas to add this ebuild ;)
Diffstat (limited to 'www-apps/mediawiki/files')
-rw-r--r-- | www-apps/mediawiki/files/postinstall-en.txt | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/www-apps/mediawiki/files/postinstall-en.txt b/www-apps/mediawiki/files/postinstall-en.txt new file mode 100644 index 000000000000..85236612f73b --- /dev/null +++ b/www-apps/mediawiki/files/postinstall-en.txt @@ -0,0 +1,51 @@ + +Completing setup: + +To complete installation cd into the MediaWiki install location, but +make sure to start mysql first with: + +$ /etc/init.d/mysql start + +$ cd /var/www/localhost/htdocs/mediawiki/ + +The host directory, localhost, may change depending on your installation. + +Then temporarily make the MediaWiki /config directory writable +to the user the web server is running as. The quickest way is +to make the directory world writable. For example: + +$ chmod a+w config + +Then access it, for example: + +lynx http://localhost/mediawiki/config/ + +After setup move the newly created LocalSettings.php from the config/ +directory to the main mediawiki directory, for example: + +$ mv config/LocalSettings.php . + + Remember to restore safe permissions to the MediaWiki config/ and + LocalSettings.php (which contains clear-text passwords). + chmod a-w config + chmod ug=r,o= LocalSettings.php + chown root:apache LocalSettings.php + +After these steps MediaWiki should be accesable at +http://localhost/mediawiki/ + +Enabling Optional Features: + +If you wish to enable image uploads then you must manually edit the +LocalSettings.php file to uncomment the \$wgDisableUploads line. If" +MediaWiki was built with the imagemagick USE flag the directory +permissions are correct, otherwise you must install ImageMagick and" +also adjust permissions on the images directory to allow the server +to write. For example: + +$ chown apache:apache /var/www/localhost/htdocs/mediawiki/images + +If you wish to enable the math support then you must manually edit" +the LocalSettings.php file to uncomment the \$wgUseTeX line. +Mediawiki must have been built with the tetex USE flag enabled or the +necessary support executable will not be present. |