Guide to Mediawiki on a Raspberry Pi: Difference between revisions

From UmbraXenu
Jump to navigation Jump to search
No edit summary
No edit summary
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
''(Article under construction)''
''(Article under construction)''
[[Image:Terabyte Pi 004.JPG|thumb|right|300px|The UmbraXenu server, with $2.25 in change.]]
[[Image:Terabyte Pi 004.JPG|thumb|right|300px|The UmbraXenu server, with $2.25 in change.]]
This is a guide to setting up a MediaWiki on a Raspberry Pi.
This is a guide to setting up a MediaWiki on a Raspberry Pi, eventually to include a disk image of a pre-configured setup.
==Parts needed==
==Parts needed==
*Raspberry Pi - Model B.
*Raspberry Pi - Model B or B+.
*SD Card, at least 4GB.
*SD Card, at least 8GB.
*USB drive or stick.
*USB drive or stick.
*Powered USB hub.
*Powered USB hub.
*A router between the Internet and your LAN.
*A router between the Internet and your LAN.
For initial configuration, the following will be needed:
==Operating system==
*USB keyboard.
Bare-bones, the Pi only has a bootstrap loader that will try to load an OS from the SD Card. In this case, it will be the Raspbian version of the Debian distro of Linux.
*Either HDMI or DVI monitor.
*Monitor cable. Either mini-HDMI or mini-HDMI to DVI adapter cable.

===Raspberry Pi B+===
A Raspberry Pi B+ is capable of driving a USB hard drive directly, without the need of a powered hub, however there are some requirements:
*A power supply of at least 2A real capacity.
*A good USB cable with thick wires. Some cheap charge cables use thin wires and even skimp on the copper.
*A change to the config.txt file to turn off the USB current limiter.
Symptoms of low power are the RPI power LED turning off (brownout condition) or the drive clicking as the voltage drops below the working level and resets.

==Software needed==
*An SD format program.
*An image writer.
*A disk image of the current version of wheezy Raspbian Pi.

==Raising up a LAMP==
==Raising up a LAMP==
LAMP stands for [[Wikipedia:LAMP_%28software_bundle%29|Linux Apache MySQL PHP]] (mainly). It's the "solution stack" needed for most web-based applications.
LAMP stands for [[Wikipedia:LAMP_%28software_bundle%29|Linux Apache MySQL PHP]] (mainly). It's the "solution stack" needed for most web-based applications.

==Get it together==


==That's how I role==
==That's how I role==
Line 25: Line 42:


==Other options==
==Other options==
MediaWiki is powerful and quite useful for presenting information, but it's not the only game in town.
MediaWiki is powerful and quite useful for presenting lots of organized information, but it's not the only game in town.
===TiddlyWiki / TiddlyWeb===
===TiddlyWiki / TiddlyWeb===
===WordPress===
===WordPress===
Line 33: Line 50:


==External links==
==External links==
*[http://trevorappleton.blogspot.ca/2013/04/installing-mediawiki-on-raspberry-pi.html Installing MediaWiki on a Raspberry Pi], Trevor Appleton.
*[http://www.bauwe.nl/page/tiddlywiki5-on-rpi TiddlyWiki5 on RPI].
*[http://www.bauwe.nl/page/tiddlywiki5-on-rpi TiddlyWiki5 on RPI].
*[http://www.rs-online.com/designspark/electronics/blog/building-a-personal-microcontent-server-with-raspberry-pi Building a Personal Microcontent Server with Raspberry Pi].
*[http://www.rs-online.com/designspark/electronics/blog/building-a-personal-microcontent-server-with-raspberry-pi Building a Personal Microcontent Server with Raspberry Pi].
*[http://raspberrywebserver.com/ Raspberry Web Server]. Websites using Python.
*[http://www.weedpi.com/how-to/how-this-site-was-built/ How this site was built - Weed Pi], Nginx and WordPress.
*[http://www.berryterminal.com/doku.php/berryboot BerryBoot v2.0 - bootloader / universal operating system installer]. Simple method of installing OSs on external drives.

Latest revision as of 17:50, 15 January 2015

(Article under construction)

The UmbraXenu server, with $2.25 in change.

This is a guide to setting up a MediaWiki on a Raspberry Pi, eventually to include a disk image of a pre-configured setup.

Parts needed

  • Raspberry Pi - Model B or B+.
  • SD Card, at least 8GB.
  • USB drive or stick.
  • Powered USB hub.
  • A router between the Internet and your LAN.

For initial configuration, the following will be needed:

  • USB keyboard.
  • Either HDMI or DVI monitor.
  • Monitor cable. Either mini-HDMI or mini-HDMI to DVI adapter cable.

Raspberry Pi B+

A Raspberry Pi B+ is capable of driving a USB hard drive directly, without the need of a powered hub, however there are some requirements:

  • A power supply of at least 2A real capacity.
  • A good USB cable with thick wires. Some cheap charge cables use thin wires and even skimp on the copper.
  • A change to the config.txt file to turn off the USB current limiter.

Symptoms of low power are the RPI power LED turning off (brownout condition) or the drive clicking as the voltage drops below the working level and resets.

Software needed

  • An SD format program.
  • An image writer.
  • A disk image of the current version of wheezy Raspbian Pi.

Raising up a LAMP

LAMP stands for Linux Apache MySQL PHP (mainly). It's the "solution stack" needed for most web-based applications.

Get it together

That's how I role

It's a matter of style

Getting the show on the road

Once the MediaWiki is running and configured on your LAN, and has enough content, it's time to make it available. (If you want to. If it's a local in-house Wiki, you're done!)

Poking a hole through the router

DNS

Bots and bad actors

As soon as your Wiki is on the Internet, the bots and script-kiddies will come calling.

Other options

MediaWiki is powerful and quite useful for presenting lots of organized information, but it's not the only game in town.

TiddlyWiki / TiddlyWeb

WordPress

Notes


External links