#1 2008-01-14 15:54:31

rsm.gbg
Member
Registered: 2007-12-05
Posts: 4

DokuWiki on Solaris 10 x86/SPARC

After many days of trial and error I found this way to install DokuWiki on Solaris 10 x86.
I just want to share my experience for others out there. (I had a hard time to find this for solaris 10)
Prereq:
I wanted to get as few packages and customizations as possible.
No compiling at all.

Problem was getting apache to work with php without compiling my own php.
Using sunfreeware php had some limitations if I wanted to use Solaris built in Apache2
Adding the full scale of Packages from Sunfreeware including apache, php and dependencies
was alot.

This is just a simple walktrough, you probably have to think abit...
I did this on a solaris zone.

I found this from "Sun Download" Coolstack 1.2.  http://cooltools.sunsource.net/
This solved all my problems. Compiled and ready in a package.
Apache 2.2.6, MySQL 5.0.45, PHP 5.2.4
I used these packages.
NEEDED # CSKamp_1.2_sparc.pkg.bz2
NEEDED # CSKruntime_1.2_sparc.pkg.bz2
OPTIONAL # CSKphplibsbundle_1.2_sparc.pkg.bz2
OPTIONAL # CSKperl_1.2_sparc.pkg.bz2

After installing the packages I configured apache2
cd /opt/coolstack/apache2/conf
cp httpd.conf.solaris httpd.conf
edit httpd.conf
"edit the line with" Listen to <webservers ip>
"edit the line with" ServerAdmin
"edit the line with" ServerName
Change default webdir from htdocs to dokuwiki
DocumentRoot "/opt/coolstack/apache2/dokuwiki"
<Directory "/opt/coolstack/apache2/dokuwiki">

untaring dokuwiki in /opt/coolstack/apache2/dokuwiki
chown -R webservd:webservd /opt/coolstack/apache2/dokuwiki
Turn of PHP5 Safemode
add this to /opt/coolstack/php5/lib/php.ini
; Safe Mode
safe_mode = Off

Ready to Rock'n Roll
svcadm enable csk-http

surf to localhost/install.php

Offline

 

#2 2008-01-14 16:45:15

andi
Administrator
From: Berlin, Germany
Registered: 2005-11-17
Posts: 232
Website

Re: DokuWiki on Solaris 10 x86/SPARC

Hey thanks for sharing this info. Do you mind if I copy this info to the official docs in the Wiki?


Careful: I'm the lead developer of WikiMatrix and DokuWiki so my posts may be biased ;-)

Offline

 

#3 2008-01-15 08:42:01

rsm.gbg
Member
Registered: 2007-12-05
Posts: 4

Re: DokuWiki on Solaris 10 x86/SPARC

andi wrote:

Hey thanks for sharing this info. Do you mind if I copy this info to the official docs in the Wiki?

No problem, good to get it spread for the big solaris community out there.

Offline

 

#4 2008-01-15 09:14:25

andi
Administrator
From: Berlin, Germany
Registered: 2005-11-17
Posts: 232
Website

Re: DokuWiki on Solaris 10 x86/SPARC


Careful: I'm the lead developer of WikiMatrix and DokuWiki so my posts may be biased ;-)

Offline

 

#5 2008-01-15 09:53:40

rsm.gbg
Member
Registered: 2007-12-05
Posts: 4

Re: DokuWiki on Solaris 10 x86/SPARC

Hi, you forgot these important notes
Change default webdir from htdocs to dokuwiki
DocumentRoot "/opt/coolstack/apache2/dokuwiki"
<Directory "/opt/coolstack/apache2/dokuwiki">

If not there you need to unpack dokuwiki in htdocs (the default dir)

BTW nice rewriting of my post :-)

Offline

 

#6 2008-01-15 10:02:00

andi
Administrator
From: Berlin, Germany
Registered: 2005-11-17
Posts: 232
Website

Re: DokuWiki on Solaris 10 x86/SPARC

rsm.gbg wrote:

If not there you need to unpack dokuwiki in htdocs (the default dir)

Which is what I did wink. Read the last line:

Finally unpack DokuWiki to /opt/coolstack/apache2/htdocs/dokuwiki


Careful: I'm the lead developer of WikiMatrix and DokuWiki so my posts may be biased ;-)

Offline

 

#7 2008-01-15 12:15:26

rsm.gbg
Member
Registered: 2007-12-05
Posts: 4

Re: DokuWiki on Solaris 10 x86/SPARC

andi wrote:

rsm.gbg wrote:

If not there you need to unpack dokuwiki in htdocs (the default dir)

Which is what I did wink. Read the last line:

Finally unpack DokuWiki to /opt/coolstack/apache2/htdocs/dokuwiki

I didn't see that you added dokuwiki in htdocs...
I changed the default from htdocs to dokuwiki, but either will work of course.

Offline

 

You are not logged in.


Board footer

Powered by PunBB
© Copyright 2002–2008 PunBB