more possibly coming later
![]() |
Software > Bundled server software >
(on Wikipedia)
MediaWiki: https://bitnami.com/stack/mediawiki
https://bitnami.com/
I would NEVER EVER recommend regular humans go anywhere near running raw server software on their desktop. It’s a horror – I mean truly a horror unlike any you’ve ever imagined – to get that shit to work, to lock it down and to keep it running. If for some reason you did want to run a server, use a proper server distribution. A branch will eventually crop up for Unity Linux I’m sure, but there are Linux and BSD distributions which excel at this task.
So for us regular humans, a LAMP (software bundle) is the best thing to use. This is a collection of all the necessary tools which have been pre-configured to cooperate and bundled together in one .. much easier to use package. This concept has become wildly improved over the years, and I’ve used a bunch of different packages.
- my old bitnami scripts
- Very zombie: I have an ancient LAMPP I use for an archived MediaWiki reference.
-
Now owned by VMWare
–
- I used this multiple times on newer Linux distributions, as of 2024-01-03 it would most recently be Lubuntu or Devuan.
- 2010-11-13 – MediaWiki 1.15.1-0 on Lubuntu 10.10
- 2010-01-05 on Unity Linux 64bit-beta2
- 2010-01-01 on Unity Linux 64bit-beta1
- TODO – I switched to this when XAMPP wouldn’t work on 64-bit.
-
I used to use XAMPP Lite, but it was abandoned.
2010-11-13 – MediaWiki 1.15.1-0 ∞
A note on the version numbering – They don’t seem to have a BitNami package version.
I can’t make changes to pages and see the changes. I can re-edit the page and see my editing in there. However, when I alt-c I see the earlier changes. When I javascript:window.location+=%22?action=purge%22; or just append &action=purge then after pressing OK I see the updates.
What a pain in the ass.
I noticed that this was giving me errors about missing stuff:
/opt/bitnami/apache2/bin/httpd -f /opt/bitnami/apache2/conf/httpd.conf
So I did this:
wget ftp://ftp.gnu.org/pub/gnu/libiconv/libiconv-1.13.tar.gz tar -xvvzf libiconv-1.13.tar.gz cd libiconv-1.13 ./configure make make install ln -s /usr/local/lib/libiconv.so.2 /usr/lib/libiconv.so.2 # Ouch, dangerous. ln -s /usr/lib/libldap_r-2.4.so.2.5.6 /usr/lib/libldap-2.3.so.0 # And again. ln -s /usr/lib/liblber-2.4.so.2.5.6 /usr/lib/liblber-2.3.so.0 apt-get install libcurl3 libmysqlclient16
Now this command works properly:
/opt/bitnami/apache2/bin/httpd -f /opt/bitnami/apache2/conf/httpd.conf
But I still cannot launch all of bitnami with:
sudo -u user /opt/bitnami/ctlscript.sh start
I get:
101113 23:45:49 mysqld_safe Logging to '/opt/bitnami/mysql/data/mysqld.log'. 101113 23:45:49 mysqld_safe Starting mysqld.bin daemon with databases from /opt/bitnami/mysql/data /opt/bitnami/mysql/scripts/ctl.sh : mysql started at port 3306 Syntax OK (13)Permission denied: make_sock: could not bind to address [::]:80 (13)Permission denied: make_sock: could not bind to address 0.0.0.0:80 no listening sockets available, shutting down Unable to open logs /opt/bitnami/apache2/scripts/ctl.sh : httpd could not be started
I have to do:
sudo /opt/bitnami/ctlscript.sh start apache sudo -u user /opt/bitnami/ctlscript.sh start mysql
fuck.
To remove the annoyance of being asked to purge, I added this to LocalSettings.php:
$wgGroupPermissions['*']['purge'] = true; // can use ?action=purge without clicking "ok"
I also have a bookmarklet that’ll let me purge a page easily:
javascript:window.location+=%22?action=purge%22;
However, it can’t handle anchors. The bookmarklet won’t work when visiting this URL, for example:
http://localhost/wiki/Sandbox#Introduction
Even though these URLs are both good:
http://localhost/wiki/Sandbox?action=purge
http://localhost/wiki/Sandbox#Introduction?action=purge
Strange. One page won’t allow my edits, but a sandbox page works the normal way without all this hackery. What the fuck.
2010-01-05 ∞
I didn’t notice this before, but I needed to add a ‘mysql’ user. I can do this and not bother setting a password, apparently..
useradd mysql
No complaints from this fresh beta2 install in running the existing Bitnami installation.
2010-01-01 ∞
-
I can’t figure out how to access PhpMyAdmin. Even using their instructions it won’t work. I wasn’t able to reset the password. I don’t even know how to remove it! I just renamed
apps/phpmyadminso it wouldn’t work.
At the bottom of apache2/conf/httpd.conf I put:
Alias /wiki /opt/bitnami/apps/mediawiki/htdocs/index.php
At the bottom of apps/mediawiki/htdocs/LocalHost.php I put:
$wgScriptPath = "/mediawiki"; $wgArticlePath = "/wiki/$1"; $wgUsePathInfo = true;
I (re)started BitNami with:
./ctlscript.sh restart
Memory Leak! ∞
A fresh run takes 20MB of memory, but an old instance which was left untouched overnight was still taking 100MB. Wha.


noting that this is zombie