DokuWiki

It's better when it's simple

User Tools

Site Tools


install:solaris

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
install:solaris [2008-11-13 23:50] 70.103.232.219install:solaris [2022-06-03 18:13] (current) 163.158.181.205
Line 1: Line 1:
 +====== Solaris 10 (x86/SPARC) =====
  
 +This is how to get Apache and PHP running on Solaris 10 x86 to install DokuWiki. This is just a simple walkthrough, you probably have to think a bit. This was done on a Solaris zone.
 +
 +The goal was to
 +
 +  * use as few packages and customizations as possible
 +  * do no compiling at all
 +
 +Get the [[http://cooltools.sunsource.net/|Coolstack 1.2]] packages which provide Apache 2.2.6, MySQL 5.0.45 and PHP 5.2.4 precompiled for Solaris.
 +
 +You need at least these packages:
 +
 +  * CSKamp_1.2_sparc.pkg.bz2
 +  * CSKruntime_1.2_sparc.pkg.bz2
 +
 +Those might be handy as well:
 +
 +  * CSKphplibsbundle_1.2_sparc.pkg.bz2
 +  * CSKperl_1.2_sparc.pkg.bz2
 +
 +After installing the packages configure apache2
 +
 +  $> cd /opt/coolstack/apache2/conf
 +  $> cp httpd.conf.solaris httpd.conf
 +
 +Then edit /opt/coolstack/apache2/conf/httpd.conf
 +
 +  * Change the ''Listen'' line to the webserver's IP
 +  * Edit the ''ServerAdmin'' and ''ServerName'' lines to match your setup
 +
 +Turn the PHP5 Safemode off, by adding the following to ''/opt/coolstack/php5/lib/php.ini'':
 +
 +<code ini>
 +; Safe Mode
 +safe_mode = Off
 +</code>
 +
 +Enable the webserver startup scripts:
 +
 +  svcadm enable csk-http
 +
 +
 +Finally [[unpacking|unpack]] DokuWiki to ''/opt/coolstack/apache2/htdocs/dokuwiki'' and surf to http://localhost/dokuwiki/install.php (See [[:installer]]).

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki