|
9 |
|
|
10 |
====Step 1: Update Software=====
|
|
11 |
Before installing any software, itâs always a good idea to update repository and software packages.
|
|
12 |
|
|
13 |
%% sudo zypper update %%
|
|
14 |
|
|
15 |
====Step 2: Install Apache Web Server====
|
|
16 |
Install Apache on openSUSE using the following command.
|
|
17 |
|
|
18 |
%% sudo zypper install apache2 %%
|
|
19 |
By default, Apache will not automatically start after installation. You can start it with:
|
|
20 |
|
|
21 |
%% sudo systemctl start apache2 %%
|
|
22 |
And enable auto start at boot time with:
|
|
23 |
|
|
24 |
%% sudo systemctl enable apache2 %%
|
|
25 |
Check its status:
|
|
26 |
|
|
27 |
%% systemctl status apache2 %%
|
|
28 |
file:apache2_activerunning.png
|