Sunday, August 6, 2017

Week 5: Setup Web Server

INTRODUCTION
This week there was a need to setup the web server. The reason to setup the server is to give the flexibility to include coordinating information flow between remote clients and local databases, interpreting scripts and streaming videos.

SETTING UP
The choice here is to use the Apache web server. One of the first steps is to turn of the firewall and iptables using the commands #systemctl stop firewalld/#systemctl stop iptables. The reason being that during this week not concerned with setting up security during server setup. After use the command #yum –y install httpd to install Apache. In image 1 use shows the results of the command #rpm -qa grep| http.
Image 1










Next step is to use the #systemctl start http commands to start the server. Following checks the status with #systemctl status http see image 2. Last is to enable the server with #systemctl enable http. Provided all steps are were followed the server is ready.

Image 2

TEXT BROWSER
Installing a text browser called links using the command #yum -y install links. After which can setup simple text pages to view using a text editor such as nano. Note that when using the text editor, unlike in previous weeks, some html language is needed such as below:

<html><body>

Apache is cool!!!

This message is from your_name_here.

</body></html>

Notice that the terms placed in the "< >" is the opening of the html language and the "</ > closes the html formatting. This is covered in other blogs/classes.

CONCLUSION
Unlike previous weeks this should be quick an easy even for a beginner. Would encourage even a beginner to get in there and try and use the terminal and text editors to unlock the potential of the Linux language.



No comments:

Post a Comment