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