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
-
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.
-
Enable the server so that it listens to the incoming HTTP
requests.
$ svcadm -v enable
/network/http:apache22
-
To verify that the web server works, open the http://localhost:80 link in a web brower. A valid web
page should be displayed.