CoolStack and MediaWiki

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).

Start apache:
cd /opt/coolstack/apache2/bin
apachectl start

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...

Comments:

Post a Comment:
Comments are closed for this entry.
About

pmonday

Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today