Parsoid
Revision as of 04:26, 27 June 2017 by Unnilennium (talk | contribs)
this how to is to install wikimedia parsoid server on a SME9
install epel repo
yum install nodejs npm vim-enhanced git policycoreutils-python --enablerepo=epel cd ~
Download the latest Parsoid form the Git:
git clone https://gerrit.wikimedia.org/r/p/mediawiki/services/parsoid
Copy the Paroid to /opt:
cp -rv ~/parsoid /opt/
Go to /opt/parsoid/
cd /opt/parsoid/
Install Parsoid in node.js:
npm install
Create the file local settings :
mkdir /opt/parsoid/etc cp /opt/parsoid/config.example.yaml /opt/parsoid/etc/config.yaml vim /opt/parsoid/etc/config.yaml
set the required parameters
uri: 'http://wiki.medi.com/api.php'
and optionals as per example
domain: 'wiki.medi.com' # optiona
Sources
- https://www.mediawiki.org/wiki/Parsoid/Setup
- https://www.centos.org/forums/viewtopic.php?f=47&t=53223&p=225372#p225372