SlideShare una empresa de Scribd logo
1 de 37
Topic : Install LAMP Stack on Linux Server OS
Oracle VM VirtualBox is cross-platform
virtualization software that allows users to
extend their existing computer to run
multiple operating systems including
Microsoft Windows, Mac OS X, Linux, and
Oracle Solaris, at the same time.
Here Click on Next and proceed.
Installing The Virtual Box
Once VitualBox is installed, we can create,
add or import new VMs using toolbar
buttons.
Installing The Virtual Box
Click New on Virtual Machine
toolbar and add details about
the new VM and required OS.
Installing Linux (Ubuntu) Server
Step 1:
Select the Base Memory and
Processors to be allocated to
the Virtual Machine.
Installing Linux (Ubuntu) Server
Step 2:
Select the size of memory to
be allocated for Virtual Hard
Disk.
Installing Linux (Ubuntu) Server
Step 3:
This is the interface for the
newly created Virtual Machine
for Ubuntu Server.
Select Server and Press on
Start to run the Virtual
Machine.
Installing Linux (Ubuntu) Server
Step 4:
Press Enter to install Ubuntu
Server.
Installing Linux (Ubuntu) Server
Step 5:
Select the preferred language
and press Enter.
Installing Linux (Ubuntu) Server
Step 6:
Select the preferred keyboard
layout and its variant, select
Done once finished and press
Enter.
Installing Linux (Ubuntu) Server
Step 7:
Select the preferred Base for
the installation, select Done
once finished and press Enter.
Installing Linux (Ubuntu) Server
Step 8:
Select the preferred network
connection for the server to
connect with other machines,
select Done once finished and
press Enter.
Installing Linux (Ubuntu) Server
Step 9:
Select the proxy address if
needed, select Done once
finished and press Enter.
Installing Linux (Ubuntu) Server
Step 10:
Select the archive for Ubuntu,
select Done once finished and
press Enter.
Installing Linux (Ubuntu) Server
Step 11:
Configure the storage/ disk
space for the server(you can
change or select the default
value selected at the beginning
of the installation), select Done
once finished and press Enter.
Installing Linux (Ubuntu) Server
Step 12:
Configure the storage/ disk
space for the server(you can
change or select available
space and used spaces), select
Done once finished and press
Enter.
Installing Linux (Ubuntu) Server
Step 13:
Setup the profile for the user
that includes username,
password, server’s name etc,
select Done once finished and
press Enter.
Installing Linux (Ubuntu) Server
Step 14:
Setup OpenSSH to allow
remote access to the server,
select Done once finished and
press Enter.
Installing Linux (Ubuntu) Server
Step 15:
Select the required snaps
(Enter Space to select/deselect
particular snaps), select Done
once finished and press Enter.
SNAP:
A snap is an application
containerized with all its
dependencies.
Installing Linux (Ubuntu) Server
Step 16:
The installation of the server
starts, it may take few mintues
depending upon our setup,
once finished select Reboot
Now and press Enter.
Installing Linux (Ubuntu) Server
Step 17:
Once the server reboots it will
ask us for Login Credentials,
enter the credentials set at the
beginning of the installation
and press Enter.
The given screen will appear
once the credentials match.
Installing Linux (Ubuntu) Server
Step 18:
Now we will update and
upgrade the server.
To Update & Upgrade:
$ sudo apt update
$ sudo apt upgrade -y
Installing Linux (Ubuntu) Server
Step 19:
Now we will install Apache in
the server.
To install Apache :
$ sudo apt install apache2
You will be prompted to
confirm Apaches installation by
pressing Y, then Enter.
Installing APACHE
Step 20:
Once the installation is
finished, we need to adjust
firewall settings to allow HTTP
traffic.
UFW has different application
profiles that you can leverage
for accomplishing that. To list
all currently available UFW
application profiles
we can run:
$ sudo apt install apache2
.
Installing APACHE
Step 21:
Meaning of the profile:
• Apache : This profile opens ony port 80.
• Apache Full : This profile opens both port 80
and port 443.
• Apache Secure : This profile opens ony port 443.
To allow traffic on port 80, we will use Apache
profile as:
$ sudo ufw allow in "Apache“
Now we will verify the profile change by :
$ sudo ufw status
Installing APACHE
Step 22:
We can do a spot check right away
to verify that everything went as
planned by visiting our server’s
public IP address in our web
browser. We will see the default
Ubuntu Apache page.
In my case, public ip is :
http:// 192.168.1.76
.
Installing APACHE
Step 23:
Now that we have a web server
up and running, we need to
install the database system to
be able to store and manage
data for our site.
we can run:
$ sudo apt install mysql-server
When prompted confirm the
installation by typing Y and then
Enter.
.
Installing MySQL
Step 24:
When we’re finished, test if
we’re able to log in to the MySQL
console by typing:
$ sudo mysql
This will connect to MYSQL
server as root user. We will see
an output as in the figure.
To exit the MySQL console, type:
mysql>exit
Installing MySQL
Step 25:
PHP is the component of our setup
that will process code to display
dynamic content to the final user.
$ sudo apt install php libapache2-
mod-php php-mysql
Here we install package such as:
• php-mysql: allows php to
communicate with MySQL—
based databases.
• libapache2-mod-php: enables
Apache to handle PHP files.
When prompted confirm the
installation by typing Y and then
Enter.
Installing PHP
Step 26:
Create the directory for ost_project as follows:
$ sudo mkdir /var/www/ost_project
We assign ownership of the directory with $USER
that will reference the current system user.
sudo chown -R $USER:$USER /var/www/ost_project
Creating a Virtual Host for Website
Step 27:
We open a new configuration file in Apache’s
sites-available directory using :
$ sudo nano /etc/apache2/sites-
available/ost_project.conf
We will enter the bare-bones configurations on
the newly created blank file.
Now we save and close the file when we’re
done. When we are using nano, we can do it by
pressing CTRL+X, then Y, and ENTER.
Creating a Virtual Host for Website
Step 28:
Now, We will use a2ensite to enable the virtual
host.
$ sudo a2ensite ost_project
We will disable Apache’s default website by:
$ sudo a2dissite 000-default
To make sure our configuration file doesn’t
contain syntax error, we run:
$ sudo systemctl reload apache2
Creating a Virtual Host for Website
Step 29:
Now, our new website is active, but the web-root
/var/www/ost_project is still empty. So we will create
an index.html file in that location and test the host if it
works as expected.
$ nano /var/www/ost_project/index.html
Now, we include the content on this file
as shown in the 2nd figure.
Creating a Virtual Host for Website
Step 30:
Now, we access our server’s domain name or IP
address once again from our browser and check
if Apache ‘s virtual host is working as expected.
In my case IP address is :
http://192.168.1.77
If we can see this page it means our Apache
virtual host is working fine.
Creating a Virtual Host for Website
Step 31:
Now, we’ll create a PHP test script to confirm
that Apache is able to handle and process
requests for PHP files.
We will create a new file named info.php inside
our common web folder as:
$ nano /var/www/ost_project/info.php
This will open a blank file. We will as valid php
script as shown in figure , in the file.
Testing PHP Processing on our Web Server
Step 32:
Once the file is saved, we will test the script by
accessing the server’s domain name or IP
address as
http://192.168.1.77/info.php
If we can see this page, PHP processing on our
Web Server is working as expected.
Testing PHP Processing on our Web Server
Step 33:
ThankYou!!!

Más contenido relacionado

Similar a Install LAMP Stack in Linux Server OS and Hosting a Custom Domain .pptx

install CentOS 6.3 minimal on Hyper-V
install CentOS 6.3 minimal on Hyper-Vinstall CentOS 6.3 minimal on Hyper-V
install CentOS 6.3 minimal on Hyper-VTũi Wichets
 
Virtualization and Socket Programing
Virtualization and Socket ProgramingVirtualization and Socket Programing
Virtualization and Socket ProgramingMidhun S
 
Amazon AWS Workspace Howto
Amazon AWS Workspace HowtoAmazon AWS Workspace Howto
Amazon AWS Workspace Howtomailbhargav
 
installation and configuration of informatica server
installation and configuration of informatica serverinstallation and configuration of informatica server
installation and configuration of informatica serverketulp
 
Diva23
Diva23Diva23
Diva23diva23
 
Step by step procedure to set up a
Step by step procedure to set up aStep by step procedure to set up a
Step by step procedure to set up aRuchiseo
 
Host a Web Application on an Apache Server while Running the Server on an EC2...
Host a Web Application on an Apache Server while Running the Server on an EC2...Host a Web Application on an Apache Server while Running the Server on an EC2...
Host a Web Application on an Apache Server while Running the Server on an EC2...Ayomide Ogunsanya
 
Share point 2010 enterprise single server farm installation
Share point 2010 enterprise single server farm installationShare point 2010 enterprise single server farm installation
Share point 2010 enterprise single server farm installationparallelminder
 
Share point 2010 enterprise single server farm installation
Share point 2010 enterprise single server farm installationShare point 2010 enterprise single server farm installation
Share point 2010 enterprise single server farm installationparallelminder
 
Setting up the hyperledger composer in ubuntu
Setting up the hyperledger composer in ubuntuSetting up the hyperledger composer in ubuntu
Setting up the hyperledger composer in ubuntukesavan N B
 
Aws overview part 2(compute services)
Aws overview   part 2(compute services)Aws overview   part 2(compute services)
Aws overview part 2(compute services)Parag Patil
 
Krenel Based Virtual Machine In Centos7
Krenel Based Virtual Machine In Centos7Krenel Based Virtual Machine In Centos7
Krenel Based Virtual Machine In Centos7a_ratra
 
DCHQ Cloud Application Platform | Linux Containers | Docker PaaS
DCHQ Cloud Application Platform | Linux Containers | Docker PaaSDCHQ Cloud Application Platform | Linux Containers | Docker PaaS
DCHQ Cloud Application Platform | Linux Containers | Docker PaaSdchq
 
Create Development and Production Environments with Vagrant
Create Development and Production Environments with VagrantCreate Development and Production Environments with Vagrant
Create Development and Production Environments with VagrantBrian Hogan
 
Project-make a public website server using raspberry pi
Project-make a public website server using raspberry piProject-make a public website server using raspberry pi
Project-make a public website server using raspberry piFahim Hossain
 

Similar a Install LAMP Stack in Linux Server OS and Hosting a Custom Domain .pptx (20)

install CentOS 6.3 minimal on Hyper-V
install CentOS 6.3 minimal on Hyper-Vinstall CentOS 6.3 minimal on Hyper-V
install CentOS 6.3 minimal on Hyper-V
 
Virtualization and Socket Programing
Virtualization and Socket ProgramingVirtualization and Socket Programing
Virtualization and Socket Programing
 
Amazon AWS Workspace Howto
Amazon AWS Workspace HowtoAmazon AWS Workspace Howto
Amazon AWS Workspace Howto
 
installation and configuration of informatica server
installation and configuration of informatica serverinstallation and configuration of informatica server
installation and configuration of informatica server
 
Diva23
Diva23Diva23
Diva23
 
Step by step procedure to set up a
Step by step procedure to set up aStep by step procedure to set up a
Step by step procedure to set up a
 
Host a Web Application on an Apache Server while Running the Server on an EC2...
Host a Web Application on an Apache Server while Running the Server on an EC2...Host a Web Application on an Apache Server while Running the Server on an EC2...
Host a Web Application on an Apache Server while Running the Server on an EC2...
 
Virtualization.pdf
Virtualization.pdfVirtualization.pdf
Virtualization.pdf
 
Share point 2010 enterprise single server farm installation
Share point 2010 enterprise single server farm installationShare point 2010 enterprise single server farm installation
Share point 2010 enterprise single server farm installation
 
Share point 2010 enterprise single server farm installation
Share point 2010 enterprise single server farm installationShare point 2010 enterprise single server farm installation
Share point 2010 enterprise single server farm installation
 
Setting up the hyperledger composer in ubuntu
Setting up the hyperledger composer in ubuntuSetting up the hyperledger composer in ubuntu
Setting up the hyperledger composer in ubuntu
 
Client Server Live Hosting Documentation
Client Server Live Hosting Documentation Client Server Live Hosting Documentation
Client Server Live Hosting Documentation
 
Aws overview part 2(compute services)
Aws overview   part 2(compute services)Aws overview   part 2(compute services)
Aws overview part 2(compute services)
 
Solace Integration with Mulesoft
Solace Integration with MulesoftSolace Integration with Mulesoft
Solace Integration with Mulesoft
 
Krenel Based Virtual Machine In Centos7
Krenel Based Virtual Machine In Centos7Krenel Based Virtual Machine In Centos7
Krenel Based Virtual Machine In Centos7
 
Security Testing Using Infrastructure-As-Code
Security Testing Using Infrastructure-As-CodeSecurity Testing Using Infrastructure-As-Code
Security Testing Using Infrastructure-As-Code
 
Wampserver install
Wampserver installWampserver install
Wampserver install
 
DCHQ Cloud Application Platform | Linux Containers | Docker PaaS
DCHQ Cloud Application Platform | Linux Containers | Docker PaaSDCHQ Cloud Application Platform | Linux Containers | Docker PaaS
DCHQ Cloud Application Platform | Linux Containers | Docker PaaS
 
Create Development and Production Environments with Vagrant
Create Development and Production Environments with VagrantCreate Development and Production Environments with Vagrant
Create Development and Production Environments with Vagrant
 
Project-make a public website server using raspberry pi
Project-make a public website server using raspberry piProject-make a public website server using raspberry pi
Project-make a public website server using raspberry pi
 

Más de Ciceer Ghimirey

Classification-Support Vector Machines.pptx
Classification-Support Vector Machines.pptxClassification-Support Vector Machines.pptx
Classification-Support Vector Machines.pptxCiceer Ghimirey
 
Machine Vision Concepts ,Application & Components.pptx
Machine Vision Concepts ,Application & Components.pptxMachine Vision Concepts ,Application & Components.pptx
Machine Vision Concepts ,Application & Components.pptxCiceer Ghimirey
 
Lab 5 Linux File Structure and Hierarchy.pptx
Lab 5 Linux File Structure and Hierarchy.pptxLab 5 Linux File Structure and Hierarchy.pptx
Lab 5 Linux File Structure and Hierarchy.pptxCiceer Ghimirey
 
Lab 4 -Linux Files, Directories and Basic Commands Part-2.pptx
Lab 4 -Linux Files, Directories and Basic Commands Part-2.pptxLab 4 -Linux Files, Directories and Basic Commands Part-2.pptx
Lab 4 -Linux Files, Directories and Basic Commands Part-2.pptxCiceer Ghimirey
 
Lab 3 -Linux Files, Directories and Basic Commands.pptx
Lab 3 -Linux Files, Directories and Basic Commands.pptxLab 3 -Linux Files, Directories and Basic Commands.pptx
Lab 3 -Linux Files, Directories and Basic Commands.pptxCiceer Ghimirey
 
Complete WordPress Setup (Description about Themes & Plugins Added)
Complete WordPress Setup (Description about Themes & Plugins Added)Complete WordPress Setup (Description about Themes & Plugins Added)
Complete WordPress Setup (Description about Themes & Plugins Added)Ciceer Ghimirey
 
WordPress Introduction and WordPress Theme Installation Slides
WordPress Introduction and WordPress Theme Installation SlidesWordPress Introduction and WordPress Theme Installation Slides
WordPress Introduction and WordPress Theme Installation SlidesCiceer Ghimirey
 

Más de Ciceer Ghimirey (7)

Classification-Support Vector Machines.pptx
Classification-Support Vector Machines.pptxClassification-Support Vector Machines.pptx
Classification-Support Vector Machines.pptx
 
Machine Vision Concepts ,Application & Components.pptx
Machine Vision Concepts ,Application & Components.pptxMachine Vision Concepts ,Application & Components.pptx
Machine Vision Concepts ,Application & Components.pptx
 
Lab 5 Linux File Structure and Hierarchy.pptx
Lab 5 Linux File Structure and Hierarchy.pptxLab 5 Linux File Structure and Hierarchy.pptx
Lab 5 Linux File Structure and Hierarchy.pptx
 
Lab 4 -Linux Files, Directories and Basic Commands Part-2.pptx
Lab 4 -Linux Files, Directories and Basic Commands Part-2.pptxLab 4 -Linux Files, Directories and Basic Commands Part-2.pptx
Lab 4 -Linux Files, Directories and Basic Commands Part-2.pptx
 
Lab 3 -Linux Files, Directories and Basic Commands.pptx
Lab 3 -Linux Files, Directories and Basic Commands.pptxLab 3 -Linux Files, Directories and Basic Commands.pptx
Lab 3 -Linux Files, Directories and Basic Commands.pptx
 
Complete WordPress Setup (Description about Themes & Plugins Added)
Complete WordPress Setup (Description about Themes & Plugins Added)Complete WordPress Setup (Description about Themes & Plugins Added)
Complete WordPress Setup (Description about Themes & Plugins Added)
 
WordPress Introduction and WordPress Theme Installation Slides
WordPress Introduction and WordPress Theme Installation SlidesWordPress Introduction and WordPress Theme Installation Slides
WordPress Introduction and WordPress Theme Installation Slides
 

Último

Develop Keyboard Skill.pptx er power point
Develop Keyboard Skill.pptx er power pointDevelop Keyboard Skill.pptx er power point
Develop Keyboard Skill.pptx er power pointGetawu
 
Call Girls in Thane 9892124323, Vashi cAll girls Serivces Juhu Escorts, powai...
Call Girls in Thane 9892124323, Vashi cAll girls Serivces Juhu Escorts, powai...Call Girls in Thane 9892124323, Vashi cAll girls Serivces Juhu Escorts, powai...
Call Girls in Thane 9892124323, Vashi cAll girls Serivces Juhu Escorts, powai...Pooja Nehwal
 
《伯明翰城市大学毕业证成绩单购买》学历证书学位证书区别《复刻原版1:1伯明翰城市大学毕业证书|修改BCU成绩单PDF版》Q微信741003700《BCU学...
《伯明翰城市大学毕业证成绩单购买》学历证书学位证书区别《复刻原版1:1伯明翰城市大学毕业证书|修改BCU成绩单PDF版》Q微信741003700《BCU学...《伯明翰城市大学毕业证成绩单购买》学历证书学位证书区别《复刻原版1:1伯明翰城市大学毕业证书|修改BCU成绩单PDF版》Q微信741003700《BCU学...
《伯明翰城市大学毕业证成绩单购买》学历证书学位证书区别《复刻原版1:1伯明翰城市大学毕业证书|修改BCU成绩单PDF版》Q微信741003700《BCU学...ur8mqw8e
 
Dubai Call Girls O528786472 Call Girls In Dubai Wisteria
Dubai Call Girls O528786472 Call Girls In Dubai WisteriaDubai Call Girls O528786472 Call Girls In Dubai Wisteria
Dubai Call Girls O528786472 Call Girls In Dubai WisteriaUnited Arab Emirates
 
NO1 Verified Amil Baba In Karachi Kala Jadu In Karachi Amil baba In Karachi A...
NO1 Verified Amil Baba In Karachi Kala Jadu In Karachi Amil baba In Karachi A...NO1 Verified Amil Baba In Karachi Kala Jadu In Karachi Amil baba In Karachi A...
NO1 Verified Amil Baba In Karachi Kala Jadu In Karachi Amil baba In Karachi A...Amil baba
 
VIP Call Girls Hitech City ( Hyderabad ) Phone 8250192130 | ₹5k To 25k With R...
VIP Call Girls Hitech City ( Hyderabad ) Phone 8250192130 | ₹5k To 25k With R...VIP Call Girls Hitech City ( Hyderabad ) Phone 8250192130 | ₹5k To 25k With R...
VIP Call Girls Hitech City ( Hyderabad ) Phone 8250192130 | ₹5k To 25k With R...Suhani Kapoor
 
Call Girls Kothrud Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Kothrud Call Me 7737669865 Budget Friendly No Advance BookingCall Girls Kothrud Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Kothrud Call Me 7737669865 Budget Friendly No Advance Bookingroncy bisnoi
 
9892124323, Call Girl in Juhu Call Girls Services (Rate ₹8.5K) 24×7 with Hote...
9892124323, Call Girl in Juhu Call Girls Services (Rate ₹8.5K) 24×7 with Hote...9892124323, Call Girl in Juhu Call Girls Services (Rate ₹8.5K) 24×7 with Hote...
9892124323, Call Girl in Juhu Call Girls Services (Rate ₹8.5K) 24×7 with Hote...Pooja Nehwal
 
Call Girls in Nagpur Bhavna Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Bhavna Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Bhavna Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Bhavna Call 7001035870 Meet With Nagpur Escortsranjana rawat
 
VVIP Pune Call Girls Warje (7001035870) Pune Escorts Nearby with Complete Sat...
VVIP Pune Call Girls Warje (7001035870) Pune Escorts Nearby with Complete Sat...VVIP Pune Call Girls Warje (7001035870) Pune Escorts Nearby with Complete Sat...
VVIP Pune Call Girls Warje (7001035870) Pune Escorts Nearby with Complete Sat...Call Girls in Nagpur High Profile
 
定制加拿大滑铁卢大学毕业证(Waterloo毕业证书)成绩单(文凭)原版一比一
定制加拿大滑铁卢大学毕业证(Waterloo毕业证书)成绩单(文凭)原版一比一定制加拿大滑铁卢大学毕业证(Waterloo毕业证书)成绩单(文凭)原版一比一
定制加拿大滑铁卢大学毕业证(Waterloo毕业证书)成绩单(文凭)原版一比一zul5vf0pq
 
Russian Escorts in lucknow 💗 9719455033 💥 Lovely Lasses: Radiant Beauties Shi...
Russian Escorts in lucknow 💗 9719455033 💥 Lovely Lasses: Radiant Beauties Shi...Russian Escorts in lucknow 💗 9719455033 💥 Lovely Lasses: Radiant Beauties Shi...
Russian Escorts in lucknow 💗 9719455033 💥 Lovely Lasses: Radiant Beauties Shi...nagunakhan
 
Thane Escorts, (Pooja 09892124323), Thane Call Girls
Thane Escorts, (Pooja 09892124323), Thane Call GirlsThane Escorts, (Pooja 09892124323), Thane Call Girls
Thane Escorts, (Pooja 09892124323), Thane Call GirlsPooja Nehwal
 
Call Girls in Vashi Escorts Services - 7738631006
Call Girls in Vashi Escorts Services - 7738631006Call Girls in Vashi Escorts Services - 7738631006
Call Girls in Vashi Escorts Services - 7738631006Pooja Nehwal
 
Call Girls Delhi {Rs-10000 Laxmi Nagar] 9711199012 Whats Up Number
Call Girls Delhi {Rs-10000 Laxmi Nagar] 9711199012 Whats Up NumberCall Girls Delhi {Rs-10000 Laxmi Nagar] 9711199012 Whats Up Number
Call Girls Delhi {Rs-10000 Laxmi Nagar] 9711199012 Whats Up NumberMs Riya
 
presentation about microsoft power point
presentation about microsoft power pointpresentation about microsoft power point
presentation about microsoft power pointchhavia330
 
FULL ENJOY - 8264348440 Call Girls in Hauz Khas | Delhi
FULL ENJOY - 8264348440 Call Girls in Hauz Khas | DelhiFULL ENJOY - 8264348440 Call Girls in Hauz Khas | Delhi
FULL ENJOY - 8264348440 Call Girls in Hauz Khas | Delhisoniya singh
 
Top Rated Pune Call Girls Katraj ⟟ 6297143586 ⟟ Call Me For Genuine Sex Serv...
Top Rated  Pune Call Girls Katraj ⟟ 6297143586 ⟟ Call Me For Genuine Sex Serv...Top Rated  Pune Call Girls Katraj ⟟ 6297143586 ⟟ Call Me For Genuine Sex Serv...
Top Rated Pune Call Girls Katraj ⟟ 6297143586 ⟟ Call Me For Genuine Sex Serv...Call Girls in Nagpur High Profile
 
Call Girls in Nagpur Sakshi Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Sakshi Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Sakshi Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Sakshi Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
Makarba ( Call Girls ) Ahmedabad ✔ 6297143586 ✔ Hot Model With Sexy Bhabi Rea...
Makarba ( Call Girls ) Ahmedabad ✔ 6297143586 ✔ Hot Model With Sexy Bhabi Rea...Makarba ( Call Girls ) Ahmedabad ✔ 6297143586 ✔ Hot Model With Sexy Bhabi Rea...
Makarba ( Call Girls ) Ahmedabad ✔ 6297143586 ✔ Hot Model With Sexy Bhabi Rea...Naicy mandal
 

Último (20)

Develop Keyboard Skill.pptx er power point
Develop Keyboard Skill.pptx er power pointDevelop Keyboard Skill.pptx er power point
Develop Keyboard Skill.pptx er power point
 
Call Girls in Thane 9892124323, Vashi cAll girls Serivces Juhu Escorts, powai...
Call Girls in Thane 9892124323, Vashi cAll girls Serivces Juhu Escorts, powai...Call Girls in Thane 9892124323, Vashi cAll girls Serivces Juhu Escorts, powai...
Call Girls in Thane 9892124323, Vashi cAll girls Serivces Juhu Escorts, powai...
 
《伯明翰城市大学毕业证成绩单购买》学历证书学位证书区别《复刻原版1:1伯明翰城市大学毕业证书|修改BCU成绩单PDF版》Q微信741003700《BCU学...
《伯明翰城市大学毕业证成绩单购买》学历证书学位证书区别《复刻原版1:1伯明翰城市大学毕业证书|修改BCU成绩单PDF版》Q微信741003700《BCU学...《伯明翰城市大学毕业证成绩单购买》学历证书学位证书区别《复刻原版1:1伯明翰城市大学毕业证书|修改BCU成绩单PDF版》Q微信741003700《BCU学...
《伯明翰城市大学毕业证成绩单购买》学历证书学位证书区别《复刻原版1:1伯明翰城市大学毕业证书|修改BCU成绩单PDF版》Q微信741003700《BCU学...
 
Dubai Call Girls O528786472 Call Girls In Dubai Wisteria
Dubai Call Girls O528786472 Call Girls In Dubai WisteriaDubai Call Girls O528786472 Call Girls In Dubai Wisteria
Dubai Call Girls O528786472 Call Girls In Dubai Wisteria
 
NO1 Verified Amil Baba In Karachi Kala Jadu In Karachi Amil baba In Karachi A...
NO1 Verified Amil Baba In Karachi Kala Jadu In Karachi Amil baba In Karachi A...NO1 Verified Amil Baba In Karachi Kala Jadu In Karachi Amil baba In Karachi A...
NO1 Verified Amil Baba In Karachi Kala Jadu In Karachi Amil baba In Karachi A...
 
VIP Call Girls Hitech City ( Hyderabad ) Phone 8250192130 | ₹5k To 25k With R...
VIP Call Girls Hitech City ( Hyderabad ) Phone 8250192130 | ₹5k To 25k With R...VIP Call Girls Hitech City ( Hyderabad ) Phone 8250192130 | ₹5k To 25k With R...
VIP Call Girls Hitech City ( Hyderabad ) Phone 8250192130 | ₹5k To 25k With R...
 
Call Girls Kothrud Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Kothrud Call Me 7737669865 Budget Friendly No Advance BookingCall Girls Kothrud Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Kothrud Call Me 7737669865 Budget Friendly No Advance Booking
 
9892124323, Call Girl in Juhu Call Girls Services (Rate ₹8.5K) 24×7 with Hote...
9892124323, Call Girl in Juhu Call Girls Services (Rate ₹8.5K) 24×7 with Hote...9892124323, Call Girl in Juhu Call Girls Services (Rate ₹8.5K) 24×7 with Hote...
9892124323, Call Girl in Juhu Call Girls Services (Rate ₹8.5K) 24×7 with Hote...
 
Call Girls in Nagpur Bhavna Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Bhavna Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Bhavna Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Bhavna Call 7001035870 Meet With Nagpur Escorts
 
VVIP Pune Call Girls Warje (7001035870) Pune Escorts Nearby with Complete Sat...
VVIP Pune Call Girls Warje (7001035870) Pune Escorts Nearby with Complete Sat...VVIP Pune Call Girls Warje (7001035870) Pune Escorts Nearby with Complete Sat...
VVIP Pune Call Girls Warje (7001035870) Pune Escorts Nearby with Complete Sat...
 
定制加拿大滑铁卢大学毕业证(Waterloo毕业证书)成绩单(文凭)原版一比一
定制加拿大滑铁卢大学毕业证(Waterloo毕业证书)成绩单(文凭)原版一比一定制加拿大滑铁卢大学毕业证(Waterloo毕业证书)成绩单(文凭)原版一比一
定制加拿大滑铁卢大学毕业证(Waterloo毕业证书)成绩单(文凭)原版一比一
 
Russian Escorts in lucknow 💗 9719455033 💥 Lovely Lasses: Radiant Beauties Shi...
Russian Escorts in lucknow 💗 9719455033 💥 Lovely Lasses: Radiant Beauties Shi...Russian Escorts in lucknow 💗 9719455033 💥 Lovely Lasses: Radiant Beauties Shi...
Russian Escorts in lucknow 💗 9719455033 💥 Lovely Lasses: Radiant Beauties Shi...
 
Thane Escorts, (Pooja 09892124323), Thane Call Girls
Thane Escorts, (Pooja 09892124323), Thane Call GirlsThane Escorts, (Pooja 09892124323), Thane Call Girls
Thane Escorts, (Pooja 09892124323), Thane Call Girls
 
Call Girls in Vashi Escorts Services - 7738631006
Call Girls in Vashi Escorts Services - 7738631006Call Girls in Vashi Escorts Services - 7738631006
Call Girls in Vashi Escorts Services - 7738631006
 
Call Girls Delhi {Rs-10000 Laxmi Nagar] 9711199012 Whats Up Number
Call Girls Delhi {Rs-10000 Laxmi Nagar] 9711199012 Whats Up NumberCall Girls Delhi {Rs-10000 Laxmi Nagar] 9711199012 Whats Up Number
Call Girls Delhi {Rs-10000 Laxmi Nagar] 9711199012 Whats Up Number
 
presentation about microsoft power point
presentation about microsoft power pointpresentation about microsoft power point
presentation about microsoft power point
 
FULL ENJOY - 8264348440 Call Girls in Hauz Khas | Delhi
FULL ENJOY - 8264348440 Call Girls in Hauz Khas | DelhiFULL ENJOY - 8264348440 Call Girls in Hauz Khas | Delhi
FULL ENJOY - 8264348440 Call Girls in Hauz Khas | Delhi
 
Top Rated Pune Call Girls Katraj ⟟ 6297143586 ⟟ Call Me For Genuine Sex Serv...
Top Rated  Pune Call Girls Katraj ⟟ 6297143586 ⟟ Call Me For Genuine Sex Serv...Top Rated  Pune Call Girls Katraj ⟟ 6297143586 ⟟ Call Me For Genuine Sex Serv...
Top Rated Pune Call Girls Katraj ⟟ 6297143586 ⟟ Call Me For Genuine Sex Serv...
 
Call Girls in Nagpur Sakshi Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Sakshi Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Sakshi Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Sakshi Call 7001035870 Meet With Nagpur Escorts
 
Makarba ( Call Girls ) Ahmedabad ✔ 6297143586 ✔ Hot Model With Sexy Bhabi Rea...
Makarba ( Call Girls ) Ahmedabad ✔ 6297143586 ✔ Hot Model With Sexy Bhabi Rea...Makarba ( Call Girls ) Ahmedabad ✔ 6297143586 ✔ Hot Model With Sexy Bhabi Rea...
Makarba ( Call Girls ) Ahmedabad ✔ 6297143586 ✔ Hot Model With Sexy Bhabi Rea...
 

Install LAMP Stack in Linux Server OS and Hosting a Custom Domain .pptx

  • 1. Topic : Install LAMP Stack on Linux Server OS
  • 2. Oracle VM VirtualBox is cross-platform virtualization software that allows users to extend their existing computer to run multiple operating systems including Microsoft Windows, Mac OS X, Linux, and Oracle Solaris, at the same time. Here Click on Next and proceed. Installing The Virtual Box
  • 3. Once VitualBox is installed, we can create, add or import new VMs using toolbar buttons. Installing The Virtual Box
  • 4. Click New on Virtual Machine toolbar and add details about the new VM and required OS. Installing Linux (Ubuntu) Server Step 1:
  • 5. Select the Base Memory and Processors to be allocated to the Virtual Machine. Installing Linux (Ubuntu) Server Step 2:
  • 6. Select the size of memory to be allocated for Virtual Hard Disk. Installing Linux (Ubuntu) Server Step 3:
  • 7. This is the interface for the newly created Virtual Machine for Ubuntu Server. Select Server and Press on Start to run the Virtual Machine. Installing Linux (Ubuntu) Server Step 4:
  • 8. Press Enter to install Ubuntu Server. Installing Linux (Ubuntu) Server Step 5:
  • 9. Select the preferred language and press Enter. Installing Linux (Ubuntu) Server Step 6:
  • 10. Select the preferred keyboard layout and its variant, select Done once finished and press Enter. Installing Linux (Ubuntu) Server Step 7:
  • 11. Select the preferred Base for the installation, select Done once finished and press Enter. Installing Linux (Ubuntu) Server Step 8:
  • 12. Select the preferred network connection for the server to connect with other machines, select Done once finished and press Enter. Installing Linux (Ubuntu) Server Step 9:
  • 13. Select the proxy address if needed, select Done once finished and press Enter. Installing Linux (Ubuntu) Server Step 10:
  • 14. Select the archive for Ubuntu, select Done once finished and press Enter. Installing Linux (Ubuntu) Server Step 11:
  • 15. Configure the storage/ disk space for the server(you can change or select the default value selected at the beginning of the installation), select Done once finished and press Enter. Installing Linux (Ubuntu) Server Step 12:
  • 16. Configure the storage/ disk space for the server(you can change or select available space and used spaces), select Done once finished and press Enter. Installing Linux (Ubuntu) Server Step 13:
  • 17. Setup the profile for the user that includes username, password, server’s name etc, select Done once finished and press Enter. Installing Linux (Ubuntu) Server Step 14:
  • 18. Setup OpenSSH to allow remote access to the server, select Done once finished and press Enter. Installing Linux (Ubuntu) Server Step 15:
  • 19. Select the required snaps (Enter Space to select/deselect particular snaps), select Done once finished and press Enter. SNAP: A snap is an application containerized with all its dependencies. Installing Linux (Ubuntu) Server Step 16:
  • 20. The installation of the server starts, it may take few mintues depending upon our setup, once finished select Reboot Now and press Enter. Installing Linux (Ubuntu) Server Step 17:
  • 21. Once the server reboots it will ask us for Login Credentials, enter the credentials set at the beginning of the installation and press Enter. The given screen will appear once the credentials match. Installing Linux (Ubuntu) Server Step 18:
  • 22. Now we will update and upgrade the server. To Update & Upgrade: $ sudo apt update $ sudo apt upgrade -y Installing Linux (Ubuntu) Server Step 19:
  • 23. Now we will install Apache in the server. To install Apache : $ sudo apt install apache2 You will be prompted to confirm Apaches installation by pressing Y, then Enter. Installing APACHE Step 20:
  • 24. Once the installation is finished, we need to adjust firewall settings to allow HTTP traffic. UFW has different application profiles that you can leverage for accomplishing that. To list all currently available UFW application profiles we can run: $ sudo apt install apache2 . Installing APACHE Step 21:
  • 25. Meaning of the profile: • Apache : This profile opens ony port 80. • Apache Full : This profile opens both port 80 and port 443. • Apache Secure : This profile opens ony port 443. To allow traffic on port 80, we will use Apache profile as: $ sudo ufw allow in "Apache“ Now we will verify the profile change by : $ sudo ufw status Installing APACHE Step 22:
  • 26. We can do a spot check right away to verify that everything went as planned by visiting our server’s public IP address in our web browser. We will see the default Ubuntu Apache page. In my case, public ip is : http:// 192.168.1.76 . Installing APACHE Step 23:
  • 27. Now that we have a web server up and running, we need to install the database system to be able to store and manage data for our site. we can run: $ sudo apt install mysql-server When prompted confirm the installation by typing Y and then Enter. . Installing MySQL Step 24:
  • 28. When we’re finished, test if we’re able to log in to the MySQL console by typing: $ sudo mysql This will connect to MYSQL server as root user. We will see an output as in the figure. To exit the MySQL console, type: mysql>exit Installing MySQL Step 25:
  • 29. PHP is the component of our setup that will process code to display dynamic content to the final user. $ sudo apt install php libapache2- mod-php php-mysql Here we install package such as: • php-mysql: allows php to communicate with MySQL— based databases. • libapache2-mod-php: enables Apache to handle PHP files. When prompted confirm the installation by typing Y and then Enter. Installing PHP Step 26:
  • 30. Create the directory for ost_project as follows: $ sudo mkdir /var/www/ost_project We assign ownership of the directory with $USER that will reference the current system user. sudo chown -R $USER:$USER /var/www/ost_project Creating a Virtual Host for Website Step 27:
  • 31. We open a new configuration file in Apache’s sites-available directory using : $ sudo nano /etc/apache2/sites- available/ost_project.conf We will enter the bare-bones configurations on the newly created blank file. Now we save and close the file when we’re done. When we are using nano, we can do it by pressing CTRL+X, then Y, and ENTER. Creating a Virtual Host for Website Step 28:
  • 32. Now, We will use a2ensite to enable the virtual host. $ sudo a2ensite ost_project We will disable Apache’s default website by: $ sudo a2dissite 000-default To make sure our configuration file doesn’t contain syntax error, we run: $ sudo systemctl reload apache2 Creating a Virtual Host for Website Step 29:
  • 33. Now, our new website is active, but the web-root /var/www/ost_project is still empty. So we will create an index.html file in that location and test the host if it works as expected. $ nano /var/www/ost_project/index.html Now, we include the content on this file as shown in the 2nd figure. Creating a Virtual Host for Website Step 30:
  • 34. Now, we access our server’s domain name or IP address once again from our browser and check if Apache ‘s virtual host is working as expected. In my case IP address is : http://192.168.1.77 If we can see this page it means our Apache virtual host is working fine. Creating a Virtual Host for Website Step 31:
  • 35. Now, we’ll create a PHP test script to confirm that Apache is able to handle and process requests for PHP files. We will create a new file named info.php inside our common web folder as: $ nano /var/www/ost_project/info.php This will open a blank file. We will as valid php script as shown in figure , in the file. Testing PHP Processing on our Web Server Step 32:
  • 36. Once the file is saved, we will test the script by accessing the server’s domain name or IP address as http://192.168.1.77/info.php If we can see this page, PHP processing on our Web Server is working as expected. Testing PHP Processing on our Web Server Step 33: