I thought it only apropos that this amazing software was put on this amazing hardware.
In this tutorial I will show you how to create a basic server on the Raspberry Pi using BerryBoot Server and BidiX store.php script to allow you to store your TiddlyWiki 5 HTML files on your Raspberry Pi.
By putting TiddlyWiki 5 on your Raspberry Pi BerryBoot Server you can create multiple users and TiddlyWiki’s to be used in a small group, hackerspace, home project, or classroom.
What You Will Need
1. Raspberry Pi B or B+(you need to be on the Network so an A or A+ would work with WiFi or a USB to Ethernet dongle). RasPi Power Supply and an SD Card(1GB will work but it is recommended to get at least a 2GB or larger Card) – The New Raspberry Pi 2 just came out and has not been tested yet. On a side note the Raspberry Pi 2 should work great to view TiddlyWiki 5 on the browser with the increased power and memory. This should make the Raspberry Pi a great computer to serve and view TiddlyWiki 5 files.
2. Keyboard, Mouse, and Screen – This is only necessary to set the password on the BerryBoot Server. Once this is set up you will no longer need these and the Raspberry Pi will boot headless.(without monitor)
3. FTP Software – I use Filezilla on the PC – This allows you to connect to the Raspberry Pi and upload the software.
4. BidiX store.php software – This is the script that allows you to save your TiddlyWiki 5 onto the server.
5. Text Editor – I use Notepad ++ but any text editor will work. The text editor is used to update the user names and passwords in the BidiX store.php script.
6. TiddlyWiki 5 – You can also use TiddlyWiki Classic Files with this solution as well – TiddlyWiki is an amazing and awesome piece of software technology. A Single file Wiki based on HTML 5 standards that can do anything you can think of, and many have. Check out my TED Talks TiddlyWiki to see what I have created with TiddlyWiki as well as my TiddlyWiki of TiddlyWiki’s Page for other projects I am using TiddlyWiki for.
Thanks to Jeremy Ruston, Eben Upton and the whole Raspberry Pi Foundation, BidiX, the entire TiddlyWiki community especially Tobias Beer, Astrid, and Jed Carty.
Step 1: Blank SD Card
Blank an SD Card.(I use a PC with SD Formatter – They also have a version for the Mac)
You need to make sure that your SD Card is blank before you start.
I recommend a 2GB card to allow you to put lots of information in your TiddlyWiki. Although you can use a 1GB or smaller SD card.
How much storage do you need?
Side Note – You can also use a 128mb(yes 128mb) MicroSD card in the B+ or SD card in the B with or without a USB Flash Drive(side note to the side note – this is not covered in this tutorial, please see my other tutorial for instructions on how to do it.
Step 2: Download BerryBoot and put on SD Card
Downloaded and put BerryBoot on the SD Card.
BerryBoot is very small in size(28.2mb at time of writing this) and should take less than a minute to download.
Once you have downloaded it drag and drop the contents onto the freshly blanked SD Card.(This should be the same or similar on other operating systems, the images are from a PC.)
Step 3: Power Up Raspberry Pi with SD Card with Berry Boot
Put the MicroSD or SD Card into RasPi and powered on(plug it in).
Make sure you connect the Keyboard, Mouse, and Monitor before plugging in the Raspberry Pi.
Step 4: Choose BerryBoot Server on Second Tab
The Raspberry Pi will boot up to the Berry Boot Menu.
Select the ‘More Options’ tab and under that choose ‘BerryBoot Server’.
Step 5: BerryBoot Server Loads and Configures Itself
BerryBoot Server loads and configures itself.
Sit back and wait as this is the longest part of the install.
You can work on the other steps on your other computer as this loads if you can switch your monitor over or have a second monitor.
Step 6: Using Text Editor Change BidiX store.php User Names and Passwords
Use a text editor to change the user names and passwords on store.php
Also grab an FTP application at this time if you don’t already have one. I use Filezilla on the PC.
If you don’t have TiddlyWiki 5 this is also a good time to grab that while you are waiting.
Step 7: Change Password on BerryBoot Server
Once BerryBoot Server is complete it will ask you to change the password
Make sure to write down what you change it too. You will need to make sure your RasPi has a keyboard, mouse and monitor to change the password. Once you do this you will can run your RasPi headless as it auto launches the server on reboot.
Also make sure to write down the IP Address of the BerryBoot Server so you can reach it from another PC.
For more deatail: TiddlyWiki 5 on Raspberry Pi Server in 15 minutes
Current Project / Post can also be found using:
- tiddywiki pi