Sun Web Stack
Please note this page describes how to view and access the Sun Web Stack code (for Solaris 10 and RedHat Linux).
There is Web Stack code in other location as well:
The product page is: http://www.sun.com/software/webstack/
Browsing the Code
The Sun Web Stack code is maintained in a number of repositories, one per primary component. So you'll need to access the specific component you want to browse.
| Build infrastructure | wsbuild |
| Shared libraries | wslibs |
| MySQL | mysql5 |
| Apache | apache2 |
| PHP | php5 |
| Python | python |
| lighttpd | lighttpd |
| memcached | memcached |
| Squid | squid |
| Apache Modules | apache-modules |
| PHP Extensions | php-extensions |
| Tomcat | tomcat |
| Ruby | ruby |
| Installer | installer |
Downloading and Building the Code
As noted above, each primary component has its own repository. Unlike in SFW, you only need to check out the specific code you're interested in using, not the whole universe.
There is a repository called 'wsbuild' which contains the shared build infrastructure, you always need this one.
In order to build the components you will need the Sun Web Stack build tools (wstools). We don't yet have a binary download of the tools, we're working on that. The tools (wstools) are in a source repository as well so you can download and build them meanwhile (unfortunately hg itself is part of wstools so at the moment you'll need to obtain hg from elsewhere first).
First install Sun Studio 12 on Solaris 10 so compilers are available.
Then create /export/wstools and make the directory writable to the user running the build
# hg clone ssh://anon@hg.opensolaris.org/hg/webstack/wstools # cd wstools # gmake
Checking out and building the entire product:
% mkdir webstack % hg clone ssh://anon@hg.opensolaris.org/hg/webstack/wsbuild % cd wsbuild % ./bin/checkout all % gmake publish-all
Checking out and building a single component (say, ruby):
% mkdir webstack % hg clone ssh://anon@hg.opensolaris.org/hg/webstack/wsbuild % cd wsbuild % ./bin/checkout ruby % gmake ruby
Note that many components (particularly on Solaris 10) also require some support libraries so you may also need to check out and build 'wslibs' to build them.
Obtaining Binaries
You can download the official Sun Web Stack binaries here.
Discussions and Feedback
Note that Sun Web Stack (for Solaris 10 and RedHat Linux) is a port of the OpenSolaris Web Stack components to these other platforms. OpenSolaris Web Stack is the primary project which leads the way.
Therefore, for general Web Stack discussion, join the OpenSolaris Web Stack discuss list or forum as described in the mailing lists page. However, for issues or feedback which is specific to non-OpenSolaris platforms, please direct those to the Sun Web Stack forum: http://forums.sun.com/forum.jspa?forumID=980