Versionsunterschiede von Test Server
8 | 8 | ||
---|---|---|---|
9 | %% sudo zypper update %% | 9 | %% sudo zypper update %% |
10 | 10 | ||
11 |
===2. |
11 | ===2.1 Download and Install Apache 2=== |
12 |
|
12 | Download and install Apache2 on openSUSE using the following command. |
13 |
%% sudo zypper in |
13 | %% sudo zypper in apache2 %% |
14 | 14 | ||
15 | By default, Apache will not automatically start after installation. You can start it with: | 15 | By default, Apache will not automatically start after installation. You can start it with: |
16 | %% systemctl start apache2.service %% | 16 | %% systemctl start apache2.service %% |
… | … | … | … |
20 | file:apache2_activerunning.png | 20 | file:apache2_activerunning.png |
21 | We can see from the screenshot that Apache is running and auto start enabled. | 21 | We can see from the screenshot that Apache is running and auto start enabled. |
22 | 22 | ||
23 | ===2.2 Check and Start Apache2=== | ||
23 | Check Apache version: | 24 | Check Apache version: |
24 | 25 | ||
25 | %% sudo httpd -v %% | 26 | %% sudo httpd -v %% |