Versionsunterschiede von Test Server




← Vorherige Änderung
Nächste Änderung →

hinzugefĂźgt:
%% systemctl start apache2.service %%
%% sudo systemctl status apache2 %%
%% Server version: Apache/2.4.57 (Linux/SUSE)
 Server built:   2023-04-07 13:20:25.000000000 +0000 %%
Now change into DocumentRoot, 
%% cd /srv/www/htdocs/%%
create index.html file and put the following text into the file.
%% echo -e
'<html>\n<html>\n\t<body>\n\t\t<h1>Hello
World!</h1>\n\t</body>\n</html>' > index.html%%
Then in your browser’s address bar, type the IP address 127.0.0.1 or
localhost in the browser address bar.  You should see the “It works!”
Web page which means Apache Web server is running correctly.
file:apache2_works.png

entfernt:
%% sudo systemctl start apache2 %%
%% systemctl status apache2 %%
%%Server version: Apache/2.4.57 (Linux/SUSE)
Server built:   2023-04-07 13:20:25.000000000 +0000 %%