Sunday, October 23, 2005

Installing Mediawiki on Sun Solaris platform

After getting my hands dirty trying to install mediawiki on a Sun Solaris (given that no proper documentation exists for that!) I thought of putting it up here incase someone could use it. So,

Installing Mediawiki on a Sun Solaris -

(1) Download mediawiki from http://sourceforge.net/projects/wikipedia/

(2) cd /var/htdocs (or whatever is your webserver installation directory)

(3) mkdir mediawiki

(4) mv mediawiki-x-y.tar.gz /var/htdocs/mediawiki

(5) tar xvf mediawiki-x-y.tar.gz /var/htdocs/mediawiki

Once the tar file has been decompressed and extracted then

(7) chmod 777 mediawiki (after going to the root /var/htdocs)

(8) chmod +x install.php (in the mediawiki directory)

(9) chmod 777 config (make it writable)

(10) goto http://localhost/mediawiki/install.php

follow the onscreen instructions, then move LocalSettings.php from the config directory to the root directory (/var/htdocs/mediawiki)

Now, you could try mediawiki from http://localhost/mediawiki/index.php/Main_page

and for the administrator page try http://localhost/mediawiki/index.php/Special:Userlogin

No comments: