summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Parpart <trapni@gentoo.org>2005-02-17 04:28:54 +0000
committerChristian Parpart <trapni@gentoo.org>2005-02-17 04:28:54 +0000
commitffa1621046e0277850aeeeeab623ea71b6b76f10 (patch)
tree434fef5403e056072f3738d9a9dbd4ecd363ad20 /www-apps/mediawiki/files
parentVersion bump. (diff)
downloadgentoo-2-ffa1621046e0277850aeeeeab623ea71b6b76f10.tar.gz
gentoo-2-ffa1621046e0277850aeeeeab623ea71b6b76f10.tar.bz2
gentoo-2-ffa1621046e0277850aeeeeab623ea71b6b76f10.zip
be honest to comments in bug #81671
(Portage version: 2.0.51-r15)
Diffstat (limited to 'www-apps/mediawiki/files')
-rw-r--r--www-apps/mediawiki/files/postinstall-1.4-en.txt58
1 files changed, 58 insertions, 0 deletions
diff --git a/www-apps/mediawiki/files/postinstall-1.4-en.txt b/www-apps/mediawiki/files/postinstall-1.4-en.txt
new file mode 100644
index 000000000000..b1da07d51d95
--- /dev/null
+++ b/www-apps/mediawiki/files/postinstall-1.4-en.txt
@@ -0,0 +1,58 @@
+
+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
+
+Math Support:
+
+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 math USE-flag enabled or the
+necessary support executable will not be present.
+You may also have to execute
+
+$ texconfig dvips printcmd -
+
+if you have not configured tetex before.