Cool Stack is a collection of some of the most commonly used open
source applications optimized for the Oracle Solaris OS
platform. By using these binaries you will enjoy the best levels of
performance from your system, while also reducing your time-to-service.
Cool Stack features
Cool Stack includes several packages in the Solaris pkgadd format,
so you can install just the ones you need. Some of the applications
in Cool Stack already ship with Solaris, but these are either older
versions and/or not built with full optimization. Further, Cool Stack
has been pre-configured to have the most popular applications
(Apache, PHP, MySQL) to work seamlessly out of the box. By using these
binaries you will enjoy the best levels of performance while also
reducing your time-to-service.
Cool Stack Contents
The following sections lists all of the packages available. For details
on version numbers, modules/extensions included etc. please read the
documentation available on the download site.
CSKamp.
This package is now comprised of 3 packages: CSKapache2, CSKphp5 and CSKmysql32
for a more flexible installation. The 3 components are pre-configured to work
together.
The MySQL included in this package is a 32-bit version with client-side
support to work with PHP. For the database server, we recommend the
CSKmysql package which is a 64-bit version, allowing the use of larger
caches to deliver improved performance for large databases. However,
on smaller systems you can use the 32-bit MySQL in this (CSKamp) package
for the database server.
CSKruntime. New!
This package containes core libraries used by many of the other packages and should be installed first.
CSKmysql.
This package includes a 64bit version of MySQL5 and is built with
innodb. See the README file in the mysql install directory for details.
CSKperl.
This package includes Perl 5. In addition to being better optimized, CSKperl
includes several perl extensions used by popular applications.
CSKphplibsbundle
This package consists of libraries required by various PHP extensions and is made up of 3 packages: CSKtds, CSKncurses, CSKphplibs
CSKmemcached.
This package includes memcached, a distributed object cache system.
CSKruby.
This package includes ruby, rubygems and rails.
CSKsquid.
This package includes Squid Web Proxy Cache.
CSKtomcat.
This package includes Apache Tomcat which is a pure Java application.
It is provided for convenience as it is no different from the one on tomcat.apache.org.
CSKlighttpd.
New! This package includes lighttpd, the increasingly popular, light-weight http server.
Downloads
Cool Stack is available for download from the Oracle Download Center:
Latest Release on Sunfreeware.com - Cool Stack 1.2 supports Solaris 10 and Solaris Developer Edition. [anonymous ftp][http].
Latest Release on Sun server - Cool Stack 1.2 supports Solaris 10 and Solaris Express Developer Edition. Requires registration.
Previous Release on Sun server - Cool Stack 1.1 supports Solaris 10 and Solaris Express Developer Edition.
Changelog for Cool Stack 1.2
Packaging
Decomposed CSKamp to CSKapache2, CSKphp5 and CSKmysql32 for more
flexibility during installation. All are packaged in a single CSKamp package
for a single download.
Added CSKruntime package which contains core libraries that all packages are
dependent on. Install this first.
CSKphplibsBundle.tar has been replaced by a CSKphplibsbundle package which
contains CSKphplibs, CSKtds and CSKncurses (same as before).
Single source package for both SPARC and x86. See 'Build' section
below for more details.
Components
Apache version upgraded to 2.2.6. Added mod_fcgid-2.2, mod_jk-1.2.25, mod_proxy,
SMF support.
PHP version upgraded to 5.2.4. Configure and compiler options changed.
Added dtrace extension, FastCGI support.
Added a configuration script, setup-ws7-php.sh for use with Sun Web Server 7.0.
Default location of php.ini is now in /opt/coolstack/php5/etc irrespective of whether you're using mod_php, php binary or php-cgi.
APC version upgraded to 3.0.14.
gmp library compiler optimization level changed from -fast to -xO4.
openldap CFLAGS now includes -D_AVL_H_.
MySQL version upgraded to 5.0.45. Compiler optimization flags changed,
added support for ndbcluster and Solaris SMF support.
Memcached version upgraded to 1.2.2. libevent version upgraded to 1.3d along
with some patches which are now in 1.3e.
Changed compiler flags to include "-mt" and remove "-xipo" (memcached only).
Squid version upgraded to 2.6.16. Added SMF support.
Tomcat version upgraded to 5.5.23. Added SMF support. Tomcat now installs in
/opt/coolstack/tomcat.
Ruby version upgraded to 1.8.6, rails to 1.2.3.
Added lighttpd 1.4.18.
Perl extensions DBI-1.59, DBD-mysql-4.005 and Sys-Syslog-0.18 have been added, DB_File removed.
Added pcre-7.1 as part of CSKruntime package. Currently used by lighttpd only.
Build
A top-level script setupcsenv.sh has been added for easy customization.
Top-level build scripts 'build_coolstack.sh' and 'build_coolstack_internal.pl" have been added to automate the build process. These are in the CSKruntimeSrc
pacakge.
The entire stack on both SPARC and x86 was built with Sun Studio 12
compilers except for mysql on x86/x64 which uses gcc.
Bugs Fixed
Apache does not use openldap.
gd library on SPARC lacks png support.
mod_authnz_ldap incorrectly specified in apache configure.
Perl extension DB_File doesn't work due to missing BDB - fixed by removing this extension.
suexec doesn't work as it is incorrectly specified in apache configure.
Cool Stack Installation on Solaris 10
You must be 'root' to install the packages. Download the packages you
are interested in into any directory. For each of the downloaded
packages, run the following bunzip2 and pkgadd
commands:
bunzip2 [package.pkg.bz2]
For example: bunzip2 CSKmysql_1.2_sparc.pkg.bz2
pkgadd -d [package.pkg]
For example: pkgadd -d CSKmysql_1.2_sparc.pkg
This process will install the package in /opt/coolstack, along
with all dependent libraries.
After installation, please refer to the README file included in each
of the application's directories. The README includes detailed
information on the following:
how the application was built
Solaris-specific configuration and tuning notes.
Pointers to other relevant documentation.
Instructions for setting up SMF service (if applicable).
Cool Stack Installation on OpenSolaris/Solaris Express Developer Edition (SXDE)
Due to some incompatibility in package processing, the data stream format of the packages do not work on some OpenSolaris and SXDE releases. The solution is to convert the streams to filesystem format. Here is an example :
# pkgtrans CSKamp_1.2_x86.pkg /var/tmp # pkgadd -d /var/tmp
pkgadd will display all the packages available in /var/tmp and you can
now choose to install whichever packages you want.
Upgrading from Cool Stack 1.1
If you already have packages from Cool Stack 1.1 installed, please be aware that these will be over-written with the new version. You should back up whatever files you have changed (e.g. apache2/conf directory, php5/lib/php.ini etc.) A safe way to do this is to first rename the current /opt/coolstack directory and then remove the currently installed Cool Stack packages using pkgrm CSKpkgname. Note that pkgrm will not remove files that you added as for e.g. In apache2/htdocs or elsewhere. You can save these files before installing the new packages, then re-copy your saved files back. This process is illustrated below assuming you had only CSKamp installed :
# Save entire coolstack (temporarily)
bash-3.00# mv /opt/coolstack /opt/coolstack1.1
# Delete old Cool Stack 1.1 package
bash-3.00# pkgrm CSKamp
# Save any files you added after installation
bash-3.00# cd /opt/coolstack
bash-3.00# mkdir /var/tmp/CS_save; cp -rp . /var/tmp/CS_save
bash-3.00# cd /var/tmp/CS_save
# delete all files in /var/tmp/save you don't care about e.g. apache2/logs/*
# Add new Cool Stack 1.2 package from wherever you downloaded it to
bash-3.00# bunzip2 CSKamp_1.2_sparc.pkg.bz2; pkgadd -d CSKamp_1.2_sparc.pkg
# Copy back the saved files. Be cautious and ensure that you're copying back ONLY required files or otherwise you could mess up your package
bash-3.00# cp -rp /var/tmp/CS_save/selected_files /opt/coolstack
# Copy your original config files back from /opt/coolstack1.1. For example:
bash-3.00# cd /opt/coolstack; cp ../coolstack1.1/apache2/conf/httpd.conf apache2/conf
Cool Stack Tools Community can assist with questions about Cool Stack
open source software within the Cool Tools Forums.
Developer support for Cool Stack is now available. See the announcement
Note: Support for Cool Stack software is not covered by Sun's
support agreements associated with Solaris or Sun Fire servers.
If you wish to send feedback to the developers of Cool Stack, please send an
email to
Please send your feedback to:
. We would love to hear whether you find
Cool Stack useful, what additional functionality would help etc.
Please also ensure all the latest product updates have been applied
to your system. Please refer to the product notes for your system.