Versionsunterschiede von Test Server
12 | Download and install Apache2 on openSUSE using the following command. | 12 | Download and install Apache2 on openSUSE using the following command. |
---|---|---|---|
13 | %% sudo zypper in apache2 %% | 13 | %% sudo zypper in apache2 %% |
14 | 14 | ||
15 | === 2.2 Start Apache2==== | ||
15 | By default, Apache will not automatically start after installation. You can start it with: | 16 | By default, Apache will not automatically start after installation. You can start it with: |
16 | %% systemctl start apache2.service %% | 17 | %% systemctl start apache2.service %% |
17 | 18 | ||
… | … | … | … |
20 | file:apache2_activerunning.png | 21 | file:apache2_activerunning.png |
21 | We can see from the screenshot that Apache is running and auto start enabled. | 22 | We can see from the screenshot that Apache is running and auto start enabled. |
22 | 23 | ||
23 | ===2.2 Check and Start Apache2=== | 24 | And enable auto start at boot time with: |
25 | %% sudo systemctl enable apache2 %% | ||
26 | |||
27 | ===2.3 Test === | ||
24 | Check Apache version: | 28 | Check Apache version: |
25 | 29 | ||
26 | %% sudo httpd -v %% | 30 | %% sudo httpd -v %% |
… | … | … | … |
42 | ===Local Testserver Configuration=== | 46 | ===Local Testserver Configuration=== |
43 | Configuring Apache manually involves editing plain text configuration files as user root. | 47 | Configuring Apache manually involves editing plain text configuration files as user root. |
44 | 48 | ||
45 | And enable auto start at boot time with: | 49 | |
46 | %% sudo systemctl enable apache2 %% | ||
47 | 50 | ||
48 | 51 | ||
49 | https://wackowiki.org/doc/Org/Tools/Hosting/TestServer/SettingUpVirtualHosts | 52 | https://wackowiki.org/doc/Org/Tools/Hosting/TestServer/SettingUpVirtualHosts |