The translation is temporarily closed for contributions due to maintenance, please come back later.
The translation was automatically locked due to following alerts: Could not push the repository.
Context English Portuguese (Brazil)
_ translator-credits
The Apache HTTP Server
According to the survey from <link xlink:href=""/>, the Apache HTTP Server (Apache) is the world's most widely-used Web server. Developed by the Apache Software Foundation (<link xlink:href=""/>), it is available for most operating systems. <phrase role="productname"><phrase os="osuse">openSUSE® Leap</phrase><phrase os="sles">SUSE® Linux Enterprise Server</phrase><phrase os="sled">SUSE® Linux Enterprise Desktop</phrase></phrase> includes Apache version 2.4. In this chapter, learn how to install, configure and set up a Web server; how to use SSL, CGI, and additional modules; and how to troubleshoot Apache.
Quick Start
With this section, quickly set up and start Apache. You must be <systemitem class="username">root</systemitem> to install and configure Apache.
Make sure the following requirements are met before trying to set up the Apache Web server:
The machine's network is configured properly. For more information about this topic, refer to <xref linkend=""/>.
The machine's exact system time is maintained by synchronizing with a time server. This is necessary because parts of the HTTP protocol depend on the correct time. See <xref linkend="cha.ntp"/> to learn more about this topic.
The latest security updates are installed. If in doubt, run a YaST Online Update.
The default Web server port (<literal>80</literal>) is opened in the firewall. For this, configure <systemitem class="daemon">firewalld</systemitem> to allow the service <literal>http</literal> in the public zone. See <xref linkend=""/> for details.
Apache on <phrase role="productname"><phrase os="osuse">openSUSE Leap</phrase><phrase os="sles">SUSE Linux Enterprise Server</phrase><phrase os="sled">SUSE Linux Enterprise Desktop</phrase></phrase> is not installed by default. To install it with a standard, predefined configuration that runs <quote>out of the box</quote>, proceed as follows:
Installing Apache with the Default Configuration
Start YaST and select <menuchoice> <guimenu>Software</guimenu> <guimenu>Software Management</guimenu> </menuchoice>.
Choose <menuchoice> <guimenu>View</guimenu> <guimenu>Patterns</guimenu> </menuchoice> and select <guimenu>Web and LAMP Server</guimenu>.
Confirm the installation of the dependent packages to finish the installation process.
You can start Apache automatically at boot time or start it manually.
To make sure that Apache is automatically started during boot in the targets <literal></literal> and <literal></literal>, execute the following command: