SemanticMediawikiInstall: Difference between revisions

From Open Source Ecology
Jump to navigation Jump to search
(Created page with "=Semantic Mediawiki Install= This document details the installation of Semantic to the existing OSE Mediawiki. ==Installation from command line== 1. Create the customized ins...")
 
Line 2: Line 2:
This document details the installation of Semantic to the existing OSE Mediawiki.
This document details the installation of Semantic to the existing OSE Mediawiki.


==Installation from command line==
==Command line installation==
1. Create the customized install script "composer.phar" by fetching the file "installer" and running it using php:
1. Create the customized install script "composer.phar" by fetching the file "installer" and running it using php:


Line 12: Line 12:
  All settings correct for using Composer
  All settings correct for using Composer
  Downloading...
  Downloading...
 
  Composer successfully installed to: /usr/home/osemain/composer.phar
  Composer successfully installed to: /usr/home/osemain/composer.phar
  Use it: php composer.phar
  Use it: php composer.phar
  $  
  $  


2. Execute "composer.phar":
2. Move "composer.phar" into a directory in the PATH:
 
$ mv composer.phar ~/bin/.


$ php composer.phar
3. Install Semantic:

Revision as of 01:36, 13 January 2016

Semantic Mediawiki Install

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 I added "-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. Install Semantic: