Setting Up the Application Development Environment in Oracle® Solaris 11

Exit Print View

Updated: July 2014
 
 

Apache Web Server

Apache is a widely used open-source web server. Apache web server version 2.2 is available as an IPS package for Oracle Solaris 11 operating system. For more information on the Apache web server, see the Apache documentation.

How to install the Apache Web Server

  1. Type the following command:

    $ pkg install web/server/apache-22


    Tip  -  Alternately, you can install the group/feature/amp package. This package contains Apache web server, MySQL database, and PHP.
  2. Enable the server so that it listens to the incoming HTTP requests.

    $ svcadm -v enable /network/http:apache22

  3. To verify that the web server works, open the http://localhost:80 link in a web brower. A valid web page should be displayed.