INFRASTRUCTURE FOR DEPLOYING A WEBSITE.

Verified

Added on  2022/10/12

|3
|467
|1
AI Summary

Contribute Materials

Your contribution can guide someone’s learning journey. Share your documents today.
Document Page
Running head: INFRASTRUCTURE FOR DEPLOYING A WEBSITE
Infrastructure for deploying a website
Name of the Student
Name of the University
Authors note

Secure Best Marks with AI Grader

Need help grading? Try our AI Grader for instant feedback on your assignments.
Document Page
1INFRASTRUCTURE FOR DEPLOYING A WEBSITE
Infrastructure for deploying web site using open source OS and Apache
Server
As the organization GotGreen has decided to use an open source Linux therefore it is
suggested to use the Ubuntu distribution for setting up the infrastructure for the deployment
of the site. However this deployment of can be done on any of the Linux distributions. It is
possible and suggested to use the PHP and MySQL (Both the development language and the
database are also open source and free to use for projects like this.
In the first part, the basic components and their installation part is done. At first the
Apache2 is to be installed which is an open-source HTTP server that is main to deploy the
website. This server is one of the most popular web-server utilized throughout the world. php
and the php is the server-side scripting language. The web server is considered as a daemon
that communicates using the https protocol. This is a text-based protocol that is helpful in
sending and receiving the response objects over the network communication.
The http protocol is capable of sending request and responses in clear text, through
port 80/TCP of the system by default even though other ports of the server and system can be
utilized for this communication. The HTTP protocol also available TLS/SSL encrypted
version which is known as the https and uses port 443/TCP. In case of http communication
exchange a client connects to web server. After this it requests the desired resource through
the use of GET command. There are other commands are available in http protocol such as
HEAD, POST that allows the clients/users in order to request any kind data for the desired
resource or any other kind of data from the server by the clients of the organization.
In order to install the apache server, the command is
apt-get install apache2
Document Page
2INFRASTRUCTURE FOR DEPLOYING A WEBSITE
$ /etc/init.d/apache2 start.
The protocols can be installed and using the following commands;
yum install httpd,
Then the services can be started using chkconfig httpd on
/etc/init.d/httpd start commands on the server.
This language the available components are helpful in order to interact with mySQL
database engines for the proposed website. Finally the mySQL database is important for the
organization so that this database can contain the business data in the different tables.
In the next section, we shall write sample PHP code for a basic website and host it
under apache2 web server.
1 out of 3
circle_padding
hide_on_mobile
zoom_out_icon
[object Object]

Your All-in-One AI-Powered Toolkit for Academic Success.

Available 24*7 on WhatsApp / Email

[object Object]