SlideShare a Scribd company logo
Apache Web Server
Installation & Configuration
                        SHAOJIE YANG
What is Web Server?
   “Web server can refer to either the hardware(the computer) or the software
    (the computer application) that helps to deliver Web content that can be
    accessed through the Internet.”

   “The most common use of web servers is to host websites, but there are
    other uses such as gaming, data storage or running enterprise applications.”

   -- Definition from Wikipedia
Installation Web Server Software

   Environment:

   Linux CentOS 5.5 System

   Apache v2.2.3

   Web content: WordPress software package (v2.8.6)
About “Yum”

   Yum – Yellow dog Update, Modified, is a Shell front-end software packages
    manager under Fedora, Redhat, SUSE and CentOS.

   Based on RPM package management, yum can auto-download RPM
    packages from certain servers and install them. It can also solve dependence
    relationships between each RPM, and install all dependency packages at
    one time.
About Apache HTTP Server
   “The Apache HTTP Server Project is an effort to develop and maintain an open-
    source HTTP server for modem operating systems including UNIX and Windows
    NT. The goal of this project is to provide a secure, efficient and extensible server
    that provides HTTP services in sync with the current HTTP standards.”

   “Apache httpd has been the most popular web server on the Internet since April
    1996, and celebrated its 17th birthday as a project this February.”

   “The Apache HTTP Server(httpd) is a project of The Apache Software
    Foundation.”

   –Definition from Apache HTTP Server Project) www.httpd.apache.org
Download Apache Software
   Download and install apache software through Yum:
Download and Install php
   Download and install php through Yum
Download WordPress Package
   Web content path: /home/wordpress
Unzip WordPress Package
Install MySQL Database Server
   Download and install MySQL through Yum:
Start MySQL Service
Check Default Database/Login as Root
Create wordpress Database
Login Database as User Wordpress
Modify Database Link File/wp-config.php
Modify Database Link File/wp-config.php
Create Virtual Host File
Create Virtual Host File
Start Apache Service
Modify Iptables File and Restart the Service
Open Web Browser to Check the Site
It’s a Test Page. Why?
   Apache web server set default web content path as /var/www/html. We can
    see there is an “index.html” under the path.

   At the same time, under /etc/httpd/conf.d directory, there is a
    “welcome.conf”. To prevent the test page ever being used, we can delete or
    rename the file.
Rename welcome.conf
What Happened Next?
Check the Web Content File Permissions
Still doesn’t Work, so Disable SeLinux
New Problem
Solution
Open the Site Again
Open the Site Again
Open the Site Again
Open the Site Again
Open the Site Again
Check Database
The Final Product
Web server installation_configuration_apache

More Related Content

PPT
Apache Web Server Setup 2
PPT
Apache web server installation/configuration, Virtual Hosting
PPTX
Apache web server
PDF
Apache Server Tutorial
PDF
Apache Tutorial
PPT
Apache Ppt
PPT
Apache Web Server Setup 3
PPT
Apache ppt
Apache Web Server Setup 2
Apache web server installation/configuration, Virtual Hosting
Apache web server
Apache Server Tutorial
Apache Tutorial
Apache Ppt
Apache Web Server Setup 3
Apache ppt

What's hot (20)

PPT
Apache
PPT
Apache Presentation
PDF
Apache Web server Complete Guide
PPT
Apache Web Server Setup 1
PDF
Apache web server tutorial for linux
PPT
Apache Web Server Setup 4
PPTX
Apache server configuration & optimization
PDF
Configuring the Apache Web Server
PPTX
Apache web service
PPT
Linux Webserver Installation Command and GUI.ppt
PPT
Apache Web Server Architecture Chaitanya Kulkarni
PDF
Securing the Apache web server
PPTX
Apache web server
PDF
APACHE WEB SERVER FOR LINUX
PPTX
Apache web server
PPT
Web Server(Apache),
PPT
5-WebServers.ppt
ODP
Apache ppt
ODP
Apache ppt
PPTX
Setting up a web server in Linux (Ubuntu)
Apache
Apache Presentation
Apache Web server Complete Guide
Apache Web Server Setup 1
Apache web server tutorial for linux
Apache Web Server Setup 4
Apache server configuration & optimization
Configuring the Apache Web Server
Apache web service
Linux Webserver Installation Command and GUI.ppt
Apache Web Server Architecture Chaitanya Kulkarni
Securing the Apache web server
Apache web server
APACHE WEB SERVER FOR LINUX
Apache web server
Web Server(Apache),
5-WebServers.ppt
Apache ppt
Apache ppt
Setting up a web server in Linux (Ubuntu)
Ad

Viewers also liked (20)

PDF
Unix Shell Script
PPTX
setting Dns linux debian
PPT
Managing Diverse IT Infrastructure
PPT
PDF
Slide 1
PPT
SureMail: Notification Overlay for Email Reliability
PPT
Parallels Hosting Products
PPT
Slide 1 - Parallels Plesk Control Panel 8.6.0
PPT
Get your website noticed by Jason King of HAVS
PPT
PDF
Linux Hosting Training Course Level 1-2
PPT
PPT
Microsoft PowerPoint presentation 2.175 Mb
PPT
SureMail: Notification Overlay for Email Reliability
PPS
IT Power Management Strategy
PDF
Installing web sphere application server v7 on red hat enterprise linux v6.3
Unix Shell Script
setting Dns linux debian
Managing Diverse IT Infrastructure
Slide 1
SureMail: Notification Overlay for Email Reliability
Parallels Hosting Products
Slide 1 - Parallels Plesk Control Panel 8.6.0
Get your website noticed by Jason King of HAVS
Linux Hosting Training Course Level 1-2
Microsoft PowerPoint presentation 2.175 Mb
SureMail: Notification Overlay for Email Reliability
IT Power Management Strategy
Installing web sphere application server v7 on red hat enterprise linux v6.3
Ad

Similar to Web server installation_configuration_apache (20)

ODP
Appache.ppt
PPT
Diva23
PDF
Apache windows
PDF
How to Install Apache on Debian 12 Server
PDF
Apache - Quick reference guide
PDF
Using aphace-as-proxy-server
PPT
5-WebServers.ppt
ODP
Nadhiya lamp
PPT
APACHE
PDF
Type of Web server.pdf
PPT
Apache web-server-architecture
PDF
What is Web Server & It's Types.pdf
PDF
Meeting 14. web server ii
PDF
Configuration of Apache Web Server On CentOS 8
PDF
Introduction to Apache Web Services using latex
ODP
Prabu apache installations
PPT
Its3 Drupal
PPTX
Web server hardware and software
PDF
web hosting
Appache.ppt
Diva23
Apache windows
How to Install Apache on Debian 12 Server
Apache - Quick reference guide
Using aphace-as-proxy-server
5-WebServers.ppt
Nadhiya lamp
APACHE
Type of Web server.pdf
Apache web-server-architecture
What is Web Server & It's Types.pdf
Meeting 14. web server ii
Configuration of Apache Web Server On CentOS 8
Introduction to Apache Web Services using latex
Prabu apache installations
Its3 Drupal
Web server hardware and software
web hosting

Recently uploaded (20)

PPTX
MYSQL Presentation for SQL database connectivity
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PDF
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
PPTX
Big Data Technologies - Introduction.pptx
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PDF
Approach and Philosophy of On baking technology
PPTX
sap open course for s4hana steps from ECC to s4
PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PDF
MIND Revenue Release Quarter 2 2025 Press Release
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PPTX
Understanding_Digital_Forensics_Presentation.pptx
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PDF
Empathic Computing: Creating Shared Understanding
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PDF
Network Security Unit 5.pdf for BCA BBA.
DOCX
The AUB Centre for AI in Media Proposal.docx
PDF
Encapsulation theory and applications.pdf
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
MYSQL Presentation for SQL database connectivity
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
Big Data Technologies - Introduction.pptx
Diabetes mellitus diagnosis method based random forest with bat algorithm
Approach and Philosophy of On baking technology
sap open course for s4hana steps from ECC to s4
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
MIND Revenue Release Quarter 2 2025 Press Release
Chapter 3 Spatial Domain Image Processing.pdf
Understanding_Digital_Forensics_Presentation.pptx
Mobile App Security Testing_ A Comprehensive Guide.pdf
“AI and Expert System Decision Support & Business Intelligence Systems”
Empathic Computing: Creating Shared Understanding
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
Network Security Unit 5.pdf for BCA BBA.
The AUB Centre for AI in Media Proposal.docx
Encapsulation theory and applications.pdf
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...

Web server installation_configuration_apache