Installing the Web Development Stack

Setting Up Your Development Environment on OpenSolaris

Complete Web Development Stack

The OpenSolaris OS offers complete support for developing and deploying applications for the web. The most commonly used open source applications, servers, and frameworks are available for the OpenSolaris OS. These Web Stack applications include several open source applications that are optimized for the OpenSolaris OS.

Following are some of the most popular tools that are available in Web Stack:

  1. Server Software - Apache Web Server, Squid Proxy Server
  2. Database Software - MySQL Server, PostgreSQL Server
  3. Programming Environment - PHP, Perl, Ruby, Python
  4. Caching Software - Memcached

Installing Web Stack

Web Stack is not included on the OpenSolaris Live CD. You need to download the package separately from the IPS repository. Two different packages provide clusters of tools, or you could download and install each tool separately.

The AMP runtime components cluster (amp) includes Apache, MySQL, and PHP.

The AMP developer cluster (amp-dev) includes Apache, MySQL, PHP, the Web Stack user interface, NetBeans, Python, Tomcat, Squid, memchached, and other open source tools and servers, and the Mercurial, CVS, and Subversion source management systems.

To download and install a package by using the OpenSolaris Package Manager:

  1. Select System > Administration > Package Manager from the desktop menu bar on your OpenSolaris system.
  2. To find all the AMP packages, do one of the following steps:
    • Select a Repository to search, select Web Services from the category menu, and select All Packages from the Show menu.
    • Select a Repository to search, select Development from the category menu, select the Integrated Development Environments sub-category, and select All Packages from the Show menu.
    • Select a Repository to search, type amp or web in the Search field, and press the Enter key.
    • Select All Repositories from the Search menu, type amp or web in the Search field, and press the Enter key.
  3. A check mark in the Status column of the package list means that package is already installed on your system. If the package is not already installed, or if you want to update that package, select the checkbox to the left of the package name and then select the Install/Update button or the Package > Install/Update menu option at the top of the Package Manager window.

To install Web Stack components individually, use the Search field to find the packages you need to install. For example, enter "postgres" or "apache" into the Search field.

To use the IPS command line interface to install the AMP runtime components, enter the following command. This cluster does not include any development environment packages.

$ pfexec pkg install amp

To install the AMP developer cluster, enter the following command:

$ pfexec pkg install amp-dev

Using the Web Stack IPS Repository

See the Web Stack repository for additional Web Stack tools you can install, such as Drupal or PHPMyAdmin. The applications that are available in the Web Stack repository are configured to work well with other components in the Web Stack.

To add this repository to the Package Manager:

  1. Select Add from the Repository menu or select the File > Manage Repositories menu option at the top of the Package Manager window.
  2. Enter the Name "webstack". This name will appear in the Repository menu.
  3. Enter the URL "http://pkg.opensolaris.org/webstack/".
  4. Select the Add button.
  5. Quit and restart the Package Manager to see this new repository in the list.

To add this repository using the IPS command line interface, use the pkg set-publisher command. See the OpenSolaris 2009.06 Image Packaging System Guide for more information.

Web Stack Information Resources

For more information about Web Stack, refer to the following documents and web sites:

Labels

appdeveloper appdeveloper Delete
task task Delete
adding adding Delete
installing installing Delete
webstack webstack Delete
singleadmin singleadmin Delete
smallsiteadmin smallsiteadmin Delete
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.

Sign up or Log in to add a comment or watch this page.


The individuals who post here are part of the extended Sun Microsystems community and they might not be employed or in any way formally affiliated with Sun Microsystems. The opinions expressed here are their own, are not necessarily reviewed in advance by anyone but the individual authors, and neither Sun nor any other party necessarily agrees with them.

Copyright 1994-2009 Sun Microsystems, Inc.
Powered by Atlassian Confluence
Sun Guidelines on Public Discourse Privacy Policy Terms of Use Trademarks Site Map Employment Investor Relations Contact