Difference between revisions of "SMW Installation"

From Lyndsey Twining
Jump to: navigation, search
(Created page with "==MediaWiki Installation== *Copy MW file into public_html on server *Extract file **cd ~/public_html **tar -xvzf mediawiki-1.27.1.tar.gz **mv mediawiki-1.27.1 wiki **ls -l ==...")
 
Line 2: Line 2:
 
*Copy MW file into public_html on server
 
*Copy MW file into public_html on server
 
*Extract file
 
*Extract file
**cd ~/public_html
+
cd ~/public_html
**tar -xvzf mediawiki-1.27.1.tar.gz
+
tar -xvzf mediawiki-1.27.1.tar.gz
**mv mediawiki-1.27.1 wiki
+
mv mediawiki-1.27.1 wiki
**ls -l
+
ls -l
  
 
==MediaWiki Set-Up==
 
==MediaWiki Set-Up==

Revision as of 14:45, 8 July 2018

MediaWiki Installation

  • Copy MW file into public_html on server
  • Extract file
cd ~/public_html
tar -xvzf mediawiki-1.27.1.tar.gz
mv mediawiki-1.27.1 wiki
ls -l

MediaWiki Set-Up

  • Go to address
  • Follow instructions
  • Add LocalSetting.php to FTP

Install Composer

php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
php composer-setup.php

Install SMW using Composer

php composer.phar require mediawiki/semantic-media-wiki "~2.5" --update-no-dev
php composer.phar update --no-dev
php maintenance/update.php

Add enableSemantics( 'dh.aks.ac.kr/~semantic/wiki' ); to LocalSettings.php and update to FTP