Wikka Wiki On A USB Stick (or Thumbdrive)
See also:
Okay, maybe this is old-hat to some, but I just came across a WAMP (windows-apache-mysql-php) server that is darned TINY.....so tiny it will easily fit on a thumbdrive. In fact, it'll fit into <4mb they say (at one place)....altho' my implementation was 17M. Anyhow, it installed flawlessly AND, I might add, amazingly simply. (basically, run the exe) It comes with a "configuration" screen that includes an admin pgm for mysql and the simplest of instructions. It has PHP5, altho' I regressed to PHP4 (which they also provide an install file & very straightforward instructions for)....and some of the comments suggest this is necessary.
Okay, the news for wikka fans, Wikka 1.1.6.0 installed simply and flawlessly. I used the mysql manager to setup a database and a user account, provided that info for the wikka config file, removed .htaccess in wikka root (I didn't spend time figuring out why that was necessary to get it to run), and wikka worked like an absolute charm. Anyways, check out The Uniform Server....having wikka run on any windows system you want it to using a server on a THUMBDRIVE is as amusing as heck. Have fun folks!!!
CategoryWikka
BTW: Oh did you know you can also use it on your camera's flash drive or you cell phone's memory stick? lol :)
Olajide Olaolorun
Uniform Server Project Manager
Any help would be appreciated.
I altered the start.bat so it not only starts Apache but MySql as well, and set the redirect pointing to the HomePage of wikka wiki.
In that HomePage I added a link to shut down the server, and a link to the Uniform Server admin screen.
So now it simply starts wikka when I hit start.bat, and bypasses the admin screen as I only need to be there sporadically. Getting the wiki first is more important.
Try installing this http://www.apachefriends.org/en/xampp-macosx.html on your stick and the install Wikka.
I really like XAMPP and I have been running Wikka (and all sorts of other cool stuff) of a stick for quite some time now.
First of all, I made a backup of each file that I was going to alter just in case I stuffed it up.
To automatically run MySql, in the file Server_Start.bat, I changed the line
IF "%2"=="mysql" start \usr\local\mysql\bin\mysqld-opt.exe
to
start \usr\local\mysql\bin\mysqld-opt.exe
To change the redirect, I backed up and then opened the file
diskw\home\admin\www\redirect.html
and then in the line
window.setInterval("window.location = 'http://localhost/apanel/'", 500);
I replaced http://localhost/apanel/
with the URL that showed in the address bar when I had my wikka home page open. Since my wikka was put under diskw\www\ in a subdirectory Wikka, that meant the URL showing for my wikka was
http://localhost/Wikka/wikka.php?wakka=HomePage
and that is what I used to replace http://localhost/apanel/ (changing nothing else in the line).
After I had done those things, when I hit Server_Start.bat, it automatically started MySql and automatically redirected to the Wikka main page.
So then to that main page I added the links as mentioned in the previous comment:
Apanel link:
http://localhost/apanel/
and server stop link:
http://localhost/apanel/stop.php
There may be more elegant ways to achieve the above but this wasn't too hard and it works. Hope that helps someone.
As for uploading Wikka to the server--I just copied the whole unzipped WIKKA folder into the WWW folder once the server was running. I think you would have to install a plugin for FTP to work with Uniform Server. They provide two of them.
You may be interested in this link:
http://wiki.uniformserver.com/index.php/Installing_Wikka_Wiki
I have no invested interest in either, just like to advance the cause of open software.
I think Wikka was one of the first I popped on UniCenter well I have transferred it over to Uniform Servers's Wiki.
Hope I have done you justice
All the best
Ric
thanks for writing the tutorial! I've linked it from http://docs.wikkawiki.org/WikkaInstallation/