Web Server Configuration

Documents configuration of a Solaris 10 web server. Follow the Solaris 10 installation instructions to install and configure the server.

Install Coolstack

Download the latest packages from http://cooltools.sunsource.net/coolstack/

cd /path/to/coolstack/packages (decompress them first)

pkgadd -d CSKruntime_*_sparc.pkg
yes to all

pkgadd -d CSKamp_*_sparc.pkg
yes to all

pkgadd -d CSKperl_*_sparc.pkg
yes to all

pkgadd -d CSKlibsbundle_*_sparc.pkg
install 1 (not tds or ncurses)

pkgadd -d CSKmysql_*_sparc.pkg
yes to all

svcadm enable apache22-csk

Add /opt/coolstack/php5/bin to the begining of the PATH variable in /root/.bash_profile

PHP mcrypt

instructions modified from here

First install: Sun Studio 12

Download the latest libmcrypt source from http://sourceforge.net/projects/mcrypt

./configure --prefix=/opt/coolstack --enable-dynamic-loading \
--with-included-algos=cast-128,gost,rijndael-128,twofish,arcfour,cast-256,loki97,rijndael-192,saferplus,wake,blowfish-compat,des,rijndael-256,serpent,xtea,blowfish,enigma,rc2,tripledes
make
make install

Download and install two coolstack source files from http://cooltools.sunsource.net/coolstack/

pkgadd -d CSKruntime_*_Src.pkg
pkgadd -d CSKamp_*_Src.pkg

Compile the php mcrypt extension:

cd /opt/coolstack/src/php5
./prepare_src (optional?)
cd php-5.2.6/ext/mcrypt
phpize
./configure --with-php-config=/opt/coolstack/php5/bin/php-config --with-mcrypt=/opt/coolstack
make && make install

Edit /opt/coolstack/php5/lib/php.ini

extension="mcrypt.so"

Restart apache:

svcadm restart apache22-csk
Back to top
solaris/coolstack.txt · Last modified: 2009/01/16 21:47 (external edit)