Versionsunterschiede von Test Server
hinzugefĂźgt:
%% systemctl start apache2.service %% %% sudo systemctl status apache2 %% 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>It Works!</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 %% Now change into DocumentRoot, create index.html file and put the following text into the file. %%cd /srv/www/htdocs/ echo "<h1>It Works</h1>" > 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. If you are installing LAMP on your local openSUSE Leap 15.1 machine, just type 127.0.0.1 or localhost in the browser address bar.