[evolvis-commits] r18274: Updated README.Debian, tagged for release..

mirabilos at evolvis.org mirabilos at evolvis.org
Wed Apr 11 11:15:47 CEST 2012


Author: mirabilos
Date: 2012-04-11 11:15:47 +0200 (Wed, 11 Apr 2012)
New Revision: 18274

Modified:
   trunk/mediawiki/debian/README.Debian
Log:
Updated README.Debian, tagged for release..

Modified: trunk/mediawiki/debian/README.Debian
===================================================================
--- trunk/mediawiki/debian/README.Debian	2012-04-11 09:15:45 UTC (rev 18273)
+++ trunk/mediawiki/debian/README.Debian	2012-04-11 09:15:47 UTC (rev 18274)
@@ -49,28 +49,24 @@
 		mysqldump --add-drop-table -u <user> -p <my-database> > /path/to/file.sql
 	2) Copy the configuration files from /etc/mediawiki1.x to /var/lib/mediawiki and make them writable for
 	     your webserver user -- usualy www-data.
-		cp /var/lib/mediawiki1.x/LocalSettings.php /var/lib/mediawiki
-		cp /var/mediawiki1.x/AdminSettings.php /var/lib/mediawiki (if exists)
-	3) change your working path to /var/lib/mediawiki:
-		cd /var/lib/mediawiki
-	4) Add the following line at the begining of your LocalSettings.php if it does not exist:
+		cp /var/lib/mediawiki1.x/LocalSettings.php /etc/mediawiki
+		cp /var/mediawiki1.x/AdminSettings.php /etc/mediawiki (if exists)
+	3) Add the following line at the begining of your /etc/mediawiki/LocalSettings.php if it does not exist:
 		define(MW_INSTALL_PATH,"/var/lib/mediawiki");
-	5) Execute the update script:
-		php maintenance/update.php
+	4) Execute the update script:
+	   You will need an AdminSettings.php file.
+  	     If you don't have any, a sample is available at:
+	       /usr/share/doc/mediawiki/examples/AdminSettings.sample
+             You may fill in this file and copy it in /etc/mediawiki.
+	     If you use the mysql root account, you may delete it afterward.
+	   Then run this command:
+		php /var/lib/mediawiki/maintenance/update.php
 	   This shall need a proper php5 binary, as provided in php5-cli
-	6) Execute the rebuildall script:
-		php maintenance/rebuildall.php
-	7) Copy the old upload directory (this location has been switched to /images, according to upstream):
+	5) Execute the rebuildall script:
+		php /var/lib/mediawiki/maintenance/rebuildall.php
+	6) Copy the old upload directory (this location has been switched to /images, according to upstream):
 		cp -rf /var/lib/mediawiki1.x/upload/* /var/lib/mediawiki/images/
-	8) Move the updated configuration files to /etc/mediawiki with secured rights, and make symlinks to it:
-		mv /var/lib/mediawiki/LocalSettings.php /etc/mediawiki
-		ln -s /etc/mediawiki/LocalSettings /var/lib/mediawiki/
-		mv /var/lib/mediawiki/AdminSettings.php /etc/mediawiki (if exists)
-		ln -s /etc/mediawiki/AdminSettings /var/lib/mediawiki/ (You can do this even if the file does not exists)
-		chmod 640 /etc/mediawiki/LocalSettings.php 
-		chmod 640 /etc/mediawiki/AdminSettings.php (if exists)
-		chown root:adm /etc/mediawiki/LocalSettings.php 
-		chown root:adm /etc/mediawiki/AdminSettings.php (if exists)
+	7) Update your web server configuration to point to /var/lib/mediawiki
 
 Configuring apache and MySQL:
 	A good how-to to correctly setup the application used by mediawiki can be found there:



More information about the evolvis-commits mailing list