Apache: Difference between revisions
(summarize existing page) |
|||
Line 1: | Line 1: | ||
== | == Simple Setup == | ||
{{ | * Add the apache2 package with {{Codeline|apk add apache2}} | ||
* Start the service with {{Codeline|rc-service apache2 start}} | |||
* Navigate a browser to the machine's address; there you should see the default "It works" page | |||
* Consider permanently enabling apache on startup with {{Codeline|rc-update add apache2}} | |||
* Edit the configuration in {{Path|/etc/apache2/}}, then run {{Codeline|rc-service apache2 restart}} to enable your changes | |||
* Consult the official documentation https://httpd.apache.org/docs/2.4/ | |||
{{ | |||
{{ | |||
{{ | |||
{{ | |||
Revision as of 13:19, 6 January 2016
Simple Setup
- Add the apache2 package with apk add apache2
- Start the service with rc-service apache2 start
- Navigate a browser to the machine's address; there you should see the default "It works" page
- Consider permanently enabling apache on startup with rc-update add apache2
- Edit the configuration in /etc/apache2/, then run rc-service apache2 restart to enable your changes
- Consult the official documentation https://httpd.apache.org/docs/2.4/