Versionsunterschiede von Test Server
21 | 21 | file:apache2_activerunning.png |
---|---|---|
22 | 22 | We can see from the screenshot that Apache is running and auto start enabled. |
23 | 23 | |
24 |
|
|
24 | Do you want your webserver to always start at boot time? | |
25 | 25 | %% sudo systemctl enable apache2 %% |
26 | 26 | |
27 | 27 | ===2.3 Test === |
… | … | … |
40 | 40 | %% echo -e '<html>\n<html>\n\t<body>\n\t\t<h1>It Works!</h1>\n\t</body>\n</html>' > index.html%% |
41 | 41 | |
42 | 42 | 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. |
43 | ||
44 | %% http://localhost %% | |
43 | 45 | |
44 | 46 | file:apache2_works.png |
45 | 47 |