Setup apache » Historie » Version 1
Jeremias Keihsler, 11.02.2019 11:49
1 | 1 | Jeremias Keihsler | h1. Install Procedure for apache |
---|---|---|---|
2 | |||
3 | h2. Requirements |
||
4 | |||
5 | To install apache you will need the following: |
||
6 | * a installed and supported operating system |
||
7 | * root-access |
||
8 | * a fast internet connection |
||
9 | |||
10 | h2. Preliminary Note |
||
11 | |||
12 | This procedure is based on a documentation supplied by https://www.digitalocean.com/community/tutorials/how-to-install-linux-apache-mysql-php-lamp-stack-on-centos-7 |
||
13 | |||
14 | h2. Install |
||
15 | |||
16 | <pre><code class="bash"> |
||
17 | dnf install httpd |
||
18 | </code></pre> |
||
19 | |||
20 | h2. Service |
||
21 | |||
22 | <pre><code class="bash"> |
||
23 | systemctl start httpd.service |
||
24 | systemctl enable httpd.service |
||
25 | </code></pre> |
||
26 | |||
27 | h2. Firewall |
||
28 | |||
29 | <pre><code class="bash"> |
||
30 | firewall-cmd --permanent --zone=public --add-service=http |
||
31 | firewall-cmd --permanent --zone=public --add-service=https |
||
32 | firewall-cmd --reload |
||
33 | </code></pre> |