Changes between Version 49 and Version 50 of AWIKIServer


Ignore:
Timestamp:
09/08/15 22:38:31 (5 years ago)
Author:
admin
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • AWIKIServer

    v49 v50  
    6666
    6767= Building and installing Mediawiki 1.25.2 =
    68 First, lets install dependencies for building mediawiki, followed by one dependency that is new to 1.25.1.
     68First, lets install dependencies for building mediawiki, followed by one dependency that is new to 1.25.
    6969 * {{{ sudo apt-get install devscripts dpkg-dev dh-buildinfo ocaml-nox xsltproc docbook-xml docbook-xsl }}}
    7070 * {{{ sudo apt-get install php5-curl }}}
     
    9292 * {{{ cd .. }}}
    9393 * {{{ sudo apt-get remove mediawiki-extensions-base }}}
    94  * {{{ sudo dpkg -i mediawiki_1.25.1-0.1_all.deb }}}
    95  * {{{ sudo dpkg -i mediawiki-classes_1.25.1-0.1_all.deb }}}
     94 * {{{ sudo dpkg -i mediawiki_1.25.2-0.1_all.deb }}}
     95 * {{{ sudo dpkg -i mediawiki-classes_1.25.2-0.1_all.deb }}}
    9696
    9797== Reset the Database, Debian 8 ==
     
    134134
    135135=== Parsoid ===
     136
     137Parsoid is a html to mediawiki converter used by the visual editor.
     138
     139First, install the dependencies, and download parsoid:
    136140 * {{{ sudo apt-get install npm nodejs }}}
    137141 * {{{ git clone https://gerrit.wikimedia.org/r/p/mediawiki/services/parsoid }}}
     142
     143Next, lets grab a debian/ directory for parsoid, and use that to build a .deb:
    138144 * {{{ wget http://faikvm.com/parsoid-debian.tar.gz }}}
    139145 * {{{ cd parsoid }}}
     
    141147 * {{{ debuild }}}
    142148 * {{{ cd .. }}}
    143  * {{{ sudo dpkg -i parsoid_0.3.0_i386.deb }}}
     149 * {{{ sudo dpkg -i parsoid_0.4.0_all.deb }}}
     150
     151Install parsoid's node.js dependencies:
    144152 * {{{ cd /usr/lib/parsoid }}}
    145153 * {{{ sudo npm install }}}
    146154 * {{{ cd ~ }}}
     155
     156Finally, restart apache, and start parsoid:
    147157 * {{{ sudo service apache2 restart }}}
    148158 * {{{ sudo service parsoid restart }}}
     
    155165 * {{{ debuild }}}
    156166 * {{{ cd .. }}}
    157  * {{{ sudo dpkg -i parsoid_0.3.0_i386.deb }}}
     167 * {{{ sudo dpkg -i parsoid_0.4.0_all.deb }}}
    158168 * {{{ cd /usr/lib/parsoid }}}
    159169 * {{{ sudo rm -rf node_modules }}}
     
    164174
    165175==== Bugs ====
    166  * EATS ALL RAM. Takes up 600 megs of ram to start. If you do not have a gig of ram, turn on your swap file. to create a 1G swapfile in /home/:
     176 * EATS ALL RAM. Takes up 600 megs of ram to start. If you do not have a gig of ram, turn on your swap file. To create a 1G swapfile in /home/:
    167177  * {{{ cd /home }}}
    168178  * {{{ sudo dd if=/dev/zero of=swapfile bs=1048576 count=1024 }}}
     
    171181  * {{{ sudo swapon swapfile }}}
    172182  * {{{ cd ~ }}}
    173  * npm install -- installs dependencies not found in debian. they need audited and packaged.
     183 * npm install -- installs dependencies not found in debian. They need audited and packaged.
    174184
    175185== Installing VisualEditor ==