Appendix C: Configuration Of HTTP Server
Last updated
Was this helpful?
Last updated
Was this helpful?
The chapter will show the steps to be followed to install Http server installation in Ubuntu 20.04.2 live operating system.
Open the terminal. Switch to root user.
$ su root
$ enter the root login password
Type the command. $ apt-get install apache2
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/
To confirm HTTP server works properly, type the followings in web browser address space.
http://<IP address of Saturn Board> example
A window with a message “It Works !”appears.
To view copied desired html files in web browser, example to view Diamond webpage, type the followings in web browser address space.
Note: To know the IP address assigned to the Saturn board, type following command in terminal
$ifconfig
http://<ipaddress of target board/ Diamond.html > (ex: Diamond.html)