CoolStack and MediaWiki
By pmonday on Apr 26, 2007
CoolStack rocks. Here was my mission: Get MediaWiki running. I started about it the same old way that Unix people do the job...download PHP, get it compiled with the right flags, oops the dependencies are hosed up, get the latest libxml2, oops, that was too much of the latest, and on and on and I didn't even get through PHP5.
Tuesday I remembered that the CoolStack came out a while ago, and sure enough, one of the packages was the AMP I needed (Apache, MySQL, PHP). So I downloaded it to my Solaris 10 Update 3 SPARC system at work today. One package add (pkgadd -d CSKamp_spark.pkg), everything is added (remember, I was su'd to root for this).
It wasn't a slam dunk to get MediaWiki running (mostly because I am a file permissions hack, not a guru), here is some of my guidance, mileage may vary:
Be sure to tweak your php.ini file according to this tip. Also, add the line "safe_mode=off" to your php.ini file (or you will be warned later during the MediaWiki setup).
I went to my machine's port 80 in the browser and received the "It Works!" web page...badda bing.
I noticed that mysql was not running, but the issues seemed to be a bit deeper than that. I ended up using and modifying many of the instructions at this BigAdmin site to get mysql into the proper state (permissions, security, running, etc...). Hack around, you'll get it.
Next, I downloaded the latest MediaWiki build, untarred it and then copied it to /opt/coolstack/apache2/htdocs/wiki. Change the ./wiki/config directory to be openly writable (I'm bad, I chmod 777 everything...ouch).
Navigate to http://yourhost/wiki/index.php and run through the setup. Anything in red, address quickly.
And, that's about it...it worked. I'll try to post more details when I do it again...and again...and again...