Versionsunterschiede von Test Server
hinzugefĂźgt:
%% systemctl start apache2.service %% 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 of openSUSE Leap 15.1. You should see the âIt works!â Web page which means Apache Web server is running correctly.
entfernt:
%% sudo systemctl start apache2 %% Now create index.html file under the document root. %% mkdir -p /srv/www/htdocs/index.html %% Save and close the file. Then in your browserâs address bar, type the IP address of openSUSE Leap 15.1. You should see the âIt works!â Web page which means Apache Web server is running correctly. %%cd /srv/www/htdocs/ echo "<h1>This is Apache OpenSUSE Leap 42.1</h1>" > index.html %%