Infrastructure for Deploying a Website: Open Source, Apache Server

Verified

Added on  2022/10/12

|3
|467
|1
Project
AI Summary
This project focuses on deploying website infrastructure using open-source technologies. The solution begins by recommending the use of Ubuntu Linux for the deployment, highlighting the flexibility of using other Linux distributions. It emphasizes the use of PHP and MySQL as open-source components for the website's development and database management. The first part of the project covers the installation of Apache2, a widely used HTTP server, and the installation of PHP, which is a server-side scripting language, and MySQL database. The solution details the use of the HTTP protocol for communication, including both HTTP and HTTPS, and provides commands for installing Apache and starting its services. The project also describes how the PHP language interacts with MySQL databases. The final section indicates that the project will include sample PHP code for a basic website to be hosted under the Apache2 web server. This project provides a clear guide to setting up a basic website infrastructure using open-source software.
Document Page
Running head: INFRASTRUCTURE FOR DEPLOYING A WEBSITE
Infrastructure for deploying a website
Name of the Student
Name of the University
Authors note
tabler-icon-diamond-filled.svg

Paraphrase This Document

Need a fresh take? Get an instant paraphrase of this document with our AI Paraphraser
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.
chevron_up_icon
1 out of 3
circle_padding
hide_on_mobile
zoom_out_icon
[object Object]