Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
redhat:web-server-redhat:apache:apache24-on-redhat [2020/03/05 14:16] – michael | redhat:web-server-redhat:apache:apache24-on-redhat [2020/03/05 15:02] (current) – [Additional setup] michael | ||
---|---|---|---|
Line 74: | Line 74: | ||
<WRAP center box 100%> | <WRAP center box 100%> | ||
- | ==== Grund Konfiguration | + | ==== Basic configuration |
- | Im folgenden, wird der Apache | + | In the following, the Apache |
< | < | ||
Line 82: | Line 82: | ||
<sxh bash; first-line: 1> | <sxh bash; first-line: 1> | ||
- | # Zeile 86: setzen der Server-Admin Email Adresse | + | # line 86: set the server admin email address |
- | ServerAdmin root@blackgate.org | + | ServerAdmin root@michu-it.com |
- | # Zeile 95: festlegen des Server-Namen | + | # Line 95: set the server name |
- | ServerName www.blackgate.org | + | ServerName www.michu-it.com |
- | # Zeile 151: ' | + | # Line 151: Change |
AllowOverride All | AllowOverride All | ||
- | #Folgendes wird dann noch am Schluss der Konfiguration eingetragen: | + | # The following is entered at the end of the configuration and serves as a hardening purpose: |
ServerTokens Prod | ServerTokens Prod | ||
KeepAlive On | KeepAlive On | ||
</ | </ | ||
- | Nun kann der Webserver auch bereits schon gestartet werden: | + | After each configuration change the apache.service must be reloaded or restarted: |
< | < | ||
- | # systemctl | + | # systemctl |
- | # systemctl enable | + | |
</ | </ | ||
- | |||
- | '' | ||
- | |||
- | < | ||
- | # firewall-cmd --add-service=http --permanent | ||
- | # firewall-cmd --add-service=https --permanent | ||
- | |||
- | # firewall-cmd --reload | ||
- | </ | ||
</ | </ | ||
Line 117: | Line 106: | ||
<WRAP center box 100%> | <WRAP center box 100%> | ||
- | ==== Testseite erstellen | + | ==== Create test page ==== |
- | Zum testen, des Apache | + | To test the Apache |
< | < | ||
Line 129: | Line 118: | ||
< | < | ||
<div style=" | <div style=" | ||
- | Test Page | + | Test Page - Under Construction. |
</ | </ | ||
</ | </ | ||
Line 137: | Line 126: | ||
</ | </ | ||
- | ===== Additional: Configuring .... ===== | ||
- | At this point, you should be able to access Apache with a web browser on '' | + | ===== Additional setup ===== |
+ | Further documentation can be found under the individual links | ||
- | ---- | + | * [[redhat: |
- | + | * [[redhat:proxy-server-redhat: | |
- | + | * [[redhat:web-server-redhat: | |
- | + | | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | FIXME | + | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | <WRAP center box 100%> | + | |
- | ==== Installation von Apache | + | |
- | + | ||
- | < | + | |
- | # curl -sSL https:// | + | |
- | # yum -y install https:// | + | |
- | + | ||
- | # yum update | + | |
- | # yum install httpd php72w-fpm php72w-cli php72w-common php72w-gd php72w-intl php72w-mbstring php72w-mysql php72w-pecl-geoip php72w-pecl-imagick php72w-process php72w-xml | + | |
- | + | ||
- | # mkdir / | + | |
- | # chown -R apache:apache / | + | |
- | + | ||
- | # firewall-cmd --permanent --zone=public --add-service=http | + | |
- | # firewall-cmd --reload | + | |
- | </ | + | |
- | + | ||
- | < | + | |
- | # vim / | + | |
- | </ | + | |
- | + | ||
- | < | + | |
- | # vim / | + | |
- | </ | + | |
- | + | ||
- | < | + | |
- | # systemctl start httpd php-fpm | + | |
- | # systemctl enable httpd php-fp | + | |
- | </ | + | |
- | + | ||
- | < | + | |
- | # vim / | + | |
- | </ | + | |
- | + | ||
- | ---- | + | |