====== Cool Stack on your Accelerator ======
Cool Stack is Sun's preferred suite of pre-compiled open-source software, optimized for performance on both Solaris x86 and SPARC architectures, and fully tested by Sun. While Cool Stack provides a great way to get up and running with the SAMP (Solaris, Apache, MySQL, PHP) stack, Sun also provides several other packages through Cool Stack.
===== Installing Cool Stack =====
==== Cool Stack runtime ====
Cool Stack includes a base, runtime package (CSKruntime) that is required by all of the other packages listed below (with the exception of CSKtomcat, which is written in Java and is identical to the standard Tomcat distribution). To install the Cool Stack runtime package:
- Download **CSKruntime_1.2_x86.pkg.bz2** from http://cooltools.sunsource.net/coolstack/. //See [[accelerators:kb:sun_studio#downloading-from-sun-s-download-center|the guide to downloading from Sun's Download Center]]//.
- Decompress the archive:
bzip2 -d CSKruntime_1.2_x86.pkg.bz2
- Install the package:
pkgadd -d CSKruntime_1.2_x86.pkg You will be prompted twice: at the first prompt, press ''ENTER'' to select the CSKruntime package. At the second prompt, press ''y'' to confirm the installation.
- You should see:
Installation of was successful.
During the Cool Stack runtime installation, you may see:
ln: cannot create /usr/sfw/lib/libssl.so.0.9.7: Read-only file system
ln: cannot create /usr/sfw/lib/libcrypto.so.0.9.7: Read-only file system
You may have to make adjustments to your [[accelerators:kb:environment#ld_library_path|LD_LIBRARY_PATH]] to get this working (see Apache instructions).
CSKruntime 1.2 includes: libxml2 2.6.27, libiconv 1.9.2, openldap 2.3.30 cyrus-sasl 2.1.22, readline 5.2, pcre 7.1
===== Installing Packages =====
- [[accelerators:kb:coolstack:install-amp|Installing Apache, MySQL, PHP (CSKamp)]]
- [[accelerators:kb:coolstack:apache22-build-subversion|Building Subversion for Apache 2.2]]
- [[accelerators:kb:coolstack:install-perl|Installing Perl (CSKperl)]]
- [[accelerators:kb:coolstack:install-memcached|Installing Memcached (CSKmemcached)]]
- [[accelerators:kb:coolstack:install-ruby|Installing Ruby (CSKruby)]]
- [[accelerators:kb:coolstack:install-squid|Installing Squid (CSKsquid)]]
- [[accelerators:kb:coolstack:install-tomcat|Installing Tomcat (CSKtomcat)]]
- [[accelerators:kb:coolstack:install-lighttpd|Installing Lighttpd (CSKlighttpd)]]