Difference between revisions of "Set up mediawiki on SQLite with Ubuntu Linux"

From Linuxintro
imported>ThorstenStaerk
(Created page with "To set up mediawiki on SQLite with Ubuntu Linux issue the commands apt-get install php5-sqlite /etc/init.d/apache2 start * Download mediawiki from http://www.mediaw...")
 
imported>ThorstenStaerk
Line 5: Line 5:
 
* Download mediawiki from http://www.mediawiki.org and save it to /tmp. In this example we assume it is mediawiki 1.21.2.
 
* Download mediawiki from http://www.mediawiki.org and save it to /tmp. In this example we assume it is mediawiki 1.21.2.
  
Then extract the mediawiki installation package, in this case to apache's default directory:
+
* Extract the mediawiki installation package, in this case to apache's default directory:
  cd /srv/www/htdocs
+
  cd /var/www
 
  tar xvzf /tmp/mediawiki-1.21.2.tar.gz
 
  tar xvzf /tmp/mediawiki-1.21.2.tar.gz
 
  mv mediawiki-1.21.2 mediawiki
 
  mv mediawiki-1.21.2 mediawiki
Then, point your browser to http://localhost/mediawiki. You see a web site like this:
+
[[chown]] -R www-data:www-data mediawiki
 +
 
 +
* Point your browser to http://localhost/mediawiki. You see a web site like this:
  
 
[[Image:Snapshot-mediawiki-setup.png]]
 
[[Image:Snapshot-mediawiki-setup.png]]
  
Continue as instructed. Your root database password is blank ("").
+
Continue as instructed.

Revision as of 09:32, 25 September 2013

To set up mediawiki on SQLite with Ubuntu Linux issue the commands

apt-get install php5-sqlite
/etc/init.d/apache2 start
  • Extract the mediawiki installation package, in this case to apache's default directory:
cd /var/www
tar xvzf /tmp/mediawiki-1.21.2.tar.gz
mv mediawiki-1.21.2 mediawiki
chown -R www-data:www-data mediawiki

Snapshot-mediawiki-setup.png

Continue as instructed.