SemanticMediawikiInstall: Difference between revisions

From Open Source Ecology
Jump to navigation Jump to search
No edit summary
Line 1: Line 1:
=Semantic Mediawiki Install=
This document details the installation of Semantic to the existing OSE Mediawiki.
This document details the installation of Semantic to the existing OSE Mediawiki.


Line 7: Line 6:
  $ curl -sS https://getcomposer.org/installer | php
  $ curl -sS https://getcomposer.org/installer | php


The above command failed with an error, so I added "-d allow_url_fopen=On" to the php command, which succeeded:
The above command failed with an error, so add "-d allow_url_fopen=On" to the php command, which succeeded:


  $ curl -sS https://getcomposer.org/installer | php  -d allow_url_fopen=On
  $ curl -sS https://getcomposer.org/installer | php  -d allow_url_fopen=On
Line 21: Line 20:
  $ mv composer.phar ~/bin/.
  $ mv composer.phar ~/bin/.


3. Install Semantic:
3. Check the running version of Mediawiki using the "Special:Version" feature of Mediawiki:
 
http://opensourceecology.org/wiki/Special:Version
 
Installed software
Product Version
MediaWiki 1.24.2
PHP 5.4.45 (cgi-fcgi)
MySQL 5.5.46-0+deb7u1
 
4. Install Semantic using the software for Mediawiki 1.24 (found in the table on "https://www.semantic-mediawiki.org/wiki/Help:Installation"):

Revision as of 01:42, 13 January 2016

This document details the installation of Semantic to the existing OSE Mediawiki.

Command line installation

1. Create the customized install script "composer.phar" by fetching the file "installer" and running it using php:

$ curl -sS https://getcomposer.org/installer | php

The above command failed with an error, so add "-d allow_url_fopen=On" to the php command, which succeeded:

$ curl -sS https://getcomposer.org/installer | php  -d allow_url_fopen=On
All settings correct for using Composer
Downloading...

Composer successfully installed to: /usr/home/osemain/composer.phar
Use it: php composer.phar
$ 

2. Move "composer.phar" into a directory in the PATH:

$ mv composer.phar ~/bin/.

3. Check the running version of Mediawiki using the "Special:Version" feature of Mediawiki:

http://opensourceecology.org/wiki/Special:Version
Installed software
Product 	Version
MediaWiki 	1.24.2
PHP 		5.4.45 (cgi-fcgi)
MySQL 		5.5.46-0+deb7u1

4. Install Semantic using the software for Mediawiki 1.24 (found in the table on "https://www.semantic-mediawiki.org/wiki/Help:Installation"):