Version 11 (modified by admin, 4 years ago) (diff)


Post Install

After installation, the mysql database still needs to be configured.

  • run /root/
    • It will ask you for the mysql root password twice.


  • change the shell password for root.
  • change the shell password for demo.
  • change the mysql password for root.
    • update /etc/mediawiki/LocalSettings.php with the new password.

Installing 1.25.1

  • sudo apt-get install devscripts dpkg-dev
  • sudo apt-get install dh-buildinfo ocaml-nox xsltproc docbook-xml docbook-xsl
  • sudo apt-get remove mediawiki-extensions-base
  • wget wget
  • wget
  • tar -xzf mediawiki-1.25.1.tar.gz
  • mv mediawiki-1.25.1.tar.gz mediawiki_1.25.1.orig.tar.gz
  • cd mediawiki-1.25.1
  • tar -xvzf ../mediawiki-debian.tar.gz
  • debuild
  • cd ..
  • sudo dpkg -i mediawiki_1.25.1-0.1_all.deb
  • sudo dpkg -i mediawiki-classes_1.25.1-0.1_all.deb
  • mysql -u root -p
    • DROP DATABASE my_wiki;
    • quit
  • sudo /root/install_mediawiki


trying to overwrite '/var/lib/mediawiki/extensions/InputBox', which is also in package mediawiki-extensions-base 3.7



Universal Language Selector


  • sudo apt-get install npm nodejs
  • git checkout
  • wget
  • cd parsoid
  • tar -xzf ../parsoid-debian.tar.gz
  • debuild
  • cd ..
  • sudo dpkg -i parsoid_0.3.0_i386.deb
  • cd /usr/lib/parsec
  • sudo npm install
  • change the '/w/' to '/wiki/' in /etc/mediawiki/parsoid/settings.js
  • sudo /etc/init.d/parsec start


  • EATS ALL RAM. takes up 600 megs of ram to start. turn on your swap file...
  • npm install -- installs dependencies not found in debian. they need audited and packaged.


  • tell
  • add the following to /etc/mediawiki/LocalSettings.php to enable the Visual Editor:
    require_once "$IP/extensions/VisualEditor/VisualEditor.php";
    // Enable by default for everybody
    $wgDefaultUserOptions['visualeditor-enable'] = 1;
    // Don't allow users to disable it
    $wgHiddenPrefs[] = 'visualeditor-enable';
    // OPTIONAL: Enable VisualEditor's experimental code features
    #$wgDefaultUserOptions['visualeditor-enable-experimental'] = 1;
    // URL to the Parsoid instance
    // MUST NOT end in a slash due to Parsoid bug
    $wgVisualEditorParsoidURL = 'http://localhost:8142';