For the complete documentation index, see llms.txt. This page is also available as Markdown.

Appendix C: Configuration of HTTP server

The chapter will show the steps to be followed to install Http server installation in Ubuntu 20.04.1 live operating system.

Step 1: Installing the HTTP Web Server on Ubuntu.

Open the terminal.

Switch to root user.

$ su root

$ enter the root login password

Type the command.

$ apt-get install apache2

Step 2: Create and serve our own webpages to user
Copy the desired html files to the following directory.     
                 $ cp example.html /var/www/html/
 
For Example if user wants to view Diamond system webpage. Copy the Diamond system html page to the above mentioned directory.
                 $ cp Diamond.html /var/www/html/
Step 3: Testing the HTTP Server

A window with a message “It Works !”appears.

Figure 19: It Works

Last updated

Was this helpful?