SlideShare una empresa de Scribd logo
1 de 18
Descargar para leer sin conexión
1
1
11 to 1
Computer Network Administration
Web Server - Installation & Configuration
2
2
22 to 2
Outline
 Introduction
 Why Apache ?
 Installation
 Configuration
 Running Apache
 Basic Security
3
3
33 to 3
Introduction
 A basic web server works as follows :
 It is a program that runs on a host computer .
 It waits for a request from web browser/client
for objects it has in its possession
 Upon receiving the request (GET command from
client), it retrieves the requested information and
sends it to the client. The objects it can serve
include HTML documents, plain text, images,
sounds, video and other data.
4
4
44 to 4
 Apache is the most popular web server
on the internet, running approximately
60% of all web servers.
 This is the default web server on Red
Hat, SuSE, and Debian systems and is
well known in industry for its flexibility
and performance.
Introduction
5
5
55 to 5
Introduction
 Installing and maintaining is easy and
ranks far below email and DNS in
complexity & difficulty of administration.
 Its free and open source and full source
code is available from Apache group
site at www.apache.org .
6
6
66 to 6
Why Apache ?
 Apache’s popularity is due to :
 Apache is highly configurable .
 It is extensible (for e.g. mod_perl and
mod_php3 can be added) .
 Supports virtual hosts or multi homed
servers .
 It is free and open source .
7
7
77 to 7
Installation
 Apache is included with most Linux
distributions. On a machine installed with
recent version of Linux, chances are Apache is
already installed and running.
 Processor status can be checked to see if its
running by using the command
machine1$ ps –ef | grep httpd
8
8
88 to 8
Installation
 If one wishes to download the source
code and compile it then,
 Execute the configure script included
with the distribution to detect type of
system used and set up appropriate
makefiles.
 use --prefix option to specify where in ones
directory tree the Apache server should live.
9
9
99 to 9
Installation
 For example :
% ./configure --prefix=/etc/httpd
 Default modules can be used or some
features may be included or removed by
invoking -enable-module= and
-disable-module= options to configure .
10
10
1010 to 10
Installation
 Some modules like asis, autoindex, env may
be disabled for security reasons. A complete
list of modules can be viewed at
src/configuration file or
http://www.apache.org/docs/mod/index.html
 After executing configure run make and make
install to actually compile and install the
appropriate files .
11
11
1111 to 11
Configuration
 All configuration files are in conf directory
( /etc/httpd/conf). The files that are to be
examined and customized are httpd.conf,
srm.conf and access.conf .
 httpd.conf is used to set the TCP port
(usually port 80), location of log files, and
various network and performance parameters
12
12
1212 to 12
Configuration
 srm.conf file defines the root of the
directory tree in which servable
documents are located .
 access.conf file manages security
concerns. This file contains directives
that control access on a per-file or per-
directory basis .
13
13
1313 to 13
Running Apache
 Apache can be started from machine’s
rc scripts or initiated by hand with
% /usr/sbin/httpd –f /etc/httpd/conf/httpd.conf
 It can be started automatically at boot
time by making a link in rc directory
that points to /etc/init.d/httpd .
14
14
1414 to 14
Security
 Modifying the Default Header :
 A hacker can exploit a web server by the
information it sends in its header ( version,
machine type, its built-up etc) .
 Its always better to modify the default
header by changing the lines that reveals
this information in src/include/httpd.h
file .
15
15
1515 to 15
Security
 Upgrading old software when necessary.
 Protecting Web Data with IP Restrictions :
 Apache can be configured to allow restricted IP
addresses only.
 This can be done by adding following lines
in .htaccess :
Order Deny, Allow
Deny from All
Allow from 192.168.1.100
Allow from 192.168.1.101
16
16
1616 to 16
Security
 Using HTTP Authentication :
 HTTP user authentication restricts access to
a particular directory and subdirectories of
the web server .
 A browser implements authentication by
prompting a dialog box for the user to type
his username/password.
17
17
1717 to 17
Security
 Using Secure HTTP Connections :
 The Secure Socket Layer (SSL) should be
used to minimize the likelihood that a
hacker can snoop a username/password.
 SSL not only encrypts the data before it is
transferred to the web site, but also it
decrypts the data received from the web
site, thus securing the data transfers.
18
18
1818 to 18
• Zolfagharifard, Ellie (24 November 2018). "'Father of the web' Sir Tim Berners-Lee on
his plan to fight fake news". The Telegraph. ISSN 0307-1235. Retrieved 1 February
2019.
• Vaughan-Nichols, Steven J. "Apache and IIS' Web server rival NGINX is growing
fast". ZDNet. Retrieved 1 February 2019.
• Hadi, Nahari (2011). Web commerce security: design and development. Krutz,
Ronald L. Indianapolis: Wiley Pub. ISBN 9781118098899. OCLC 757394142.
• http://www.juntak.com/bus107/MATERIALS/Powerpoint_Presentations/08.ppt
• https://en.wikipedia.org/wiki/Web_server
• https://razorjr.files.wordpress.com/2014/01/lecture8_web_server_browser.ppt
• Sandeep K Thopucherela, ECE Department.
REFERENCE

Más contenido relacionado

La actualidad más candente

SquirrelMail for webmail
SquirrelMail for webmailSquirrelMail for webmail
SquirrelMail for webmailAryman Gautam
 
Web Server Technologies I: HTTP & Getting Started
Web Server Technologies I: HTTP & Getting StartedWeb Server Technologies I: HTTP & Getting Started
Web Server Technologies I: HTTP & Getting StartedPort80 Software
 
Install and configure linux
Install and configure linuxInstall and configure linux
Install and configure linuxVicent Selfa
 
Utosc2007_Apache_Configuration.ppt
Utosc2007_Apache_Configuration.pptUtosc2007_Apache_Configuration.ppt
Utosc2007_Apache_Configuration.pptwebhostingguy
 
Securing the Apache web server
Securing the Apache web serverSecuring the Apache web server
Securing the Apache web serverwebhostingguy
 
Linux Webserver Installation Command and GUI.ppt
Linux Webserver Installation Command and GUI.pptLinux Webserver Installation Command and GUI.ppt
Linux Webserver Installation Command and GUI.pptwebhostingguy
 
RHCE FINAL Questions and Answers
RHCE FINAL Questions and AnswersRHCE FINAL Questions and Answers
RHCE FINAL Questions and AnswersRadien software
 
Share File easily between computers using sftp
Share File easily between computers using sftpShare File easily between computers using sftp
Share File easily between computers using sftpTushar B Kute
 
Nadhiya lamp
Nadhiya lampNadhiya lamp
Nadhiya lampNadhi ya
 
Ftp server linux
Ftp server linuxFtp server linux
Ftp server linuxPawan Kumar
 
SSH Tunneling Recipes
SSH Tunneling RecipesSSH Tunneling Recipes
SSH Tunneling RecipesOSOCO
 
Ftp (file transfer protocol)
Ftp (file transfer protocol)Ftp (file transfer protocol)
Ftp (file transfer protocol)Raghu nath
 

La actualidad más candente (20)

SquirrelMail for webmail
SquirrelMail for webmailSquirrelMail for webmail
SquirrelMail for webmail
 
US07FFT-mod_ftp.ppt
US07FFT-mod_ftp.pptUS07FFT-mod_ftp.ppt
US07FFT-mod_ftp.ppt
 
Web Server Technologies I: HTTP & Getting Started
Web Server Technologies I: HTTP & Getting StartedWeb Server Technologies I: HTTP & Getting Started
Web Server Technologies I: HTTP & Getting Started
 
Install and configure linux
Install and configure linuxInstall and configure linux
Install and configure linux
 
Utosc2007_Apache_Configuration.ppt
Utosc2007_Apache_Configuration.pptUtosc2007_Apache_Configuration.ppt
Utosc2007_Apache_Configuration.ppt
 
Presentation on rhce
Presentation on rhcePresentation on rhce
Presentation on rhce
 
Securing the Apache web server
Securing the Apache web serverSecuring the Apache web server
Securing the Apache web server
 
Meeting 6 : ftp
Meeting 6 : ftpMeeting 6 : ftp
Meeting 6 : ftp
 
Linux Webserver Installation Command and GUI.ppt
Linux Webserver Installation Command and GUI.pptLinux Webserver Installation Command and GUI.ppt
Linux Webserver Installation Command and GUI.ppt
 
ORACLE HA NFS over Oracle ASM
ORACLE HA NFS over Oracle ASMORACLE HA NFS over Oracle ASM
ORACLE HA NFS over Oracle ASM
 
Linux06 nfs
Linux06 nfsLinux06 nfs
Linux06 nfs
 
An overview of ftp
An overview of ftpAn overview of ftp
An overview of ftp
 
RHCE FINAL Questions and Answers
RHCE FINAL Questions and AnswersRHCE FINAL Questions and Answers
RHCE FINAL Questions and Answers
 
Share File easily between computers using sftp
Share File easily between computers using sftpShare File easily between computers using sftp
Share File easily between computers using sftp
 
Nadhiya lamp
Nadhiya lampNadhiya lamp
Nadhiya lamp
 
Ftp server linux
Ftp server linuxFtp server linux
Ftp server linux
 
SSH Tunneling Recipes
SSH Tunneling RecipesSSH Tunneling Recipes
SSH Tunneling Recipes
 
Ftp server
Ftp serverFtp server
Ftp server
 
Cita310chap09
Cita310chap09Cita310chap09
Cita310chap09
 
Ftp (file transfer protocol)
Ftp (file transfer protocol)Ftp (file transfer protocol)
Ftp (file transfer protocol)
 

Similar a Meeting 14. web server ii

Similar a Meeting 14. web server ii (20)

Apache
ApacheApache
Apache
 
Apache
ApacheApache
Apache
 
Apache
ApacheApache
Apache
 
A
AA
A
 
APACHE
APACHEAPACHE
APACHE
 
Apache doc
Apache docApache doc
Apache doc
 
Apache ppt
Apache pptApache ppt
Apache ppt
 
Babitha.4appach
Babitha.4appachBabitha.4appach
Babitha.4appach
 
Babitha.4appach
Babitha.4appachBabitha.4appach
Babitha.4appach
 
Apache ppt
Apache pptApache ppt
Apache ppt
 
Apache ppt
Apache pptApache ppt
Apache ppt
 
Apache
ApacheApache
Apache
 
Apache doc
Apache docApache doc
Apache doc
 
Apache ppt
Apache pptApache ppt
Apache ppt
 
Apache Ppt
Apache PptApache Ppt
Apache Ppt
 
Ch 22: Web Hosting and Internet Servers
Ch 22: Web Hosting and Internet ServersCh 22: Web Hosting and Internet Servers
Ch 22: Web Hosting and Internet Servers
 
Its3 Drupal
Its3 DrupalIts3 Drupal
Its3 Drupal
 
Its3 Drupal
Its3 DrupalIts3 Drupal
Its3 Drupal
 
Running the Apache Web Server
Running the Apache Web ServerRunning the Apache Web Server
Running the Apache Web Server
 
Apache
ApacheApache
Apache
 

Más de Syaiful Ahdan

Sertifikat EC00202128391
 Sertifikat EC00202128391 Sertifikat EC00202128391
Sertifikat EC00202128391Syaiful Ahdan
 
SP2JPB - Aplikasi Sistem Pelayanan Pemesanan Jasa Perbaikan Pada Bengkel Alam...
SP2JPB - Aplikasi Sistem Pelayanan Pemesanan Jasa Perbaikan Pada Bengkel Alam...SP2JPB - Aplikasi Sistem Pelayanan Pemesanan Jasa Perbaikan Pada Bengkel Alam...
SP2JPB - Aplikasi Sistem Pelayanan Pemesanan Jasa Perbaikan Pada Bengkel Alam...Syaiful Ahdan
 
Sertifikat ec00202059774
Sertifikat ec00202059774Sertifikat ec00202059774
Sertifikat ec00202059774Syaiful Ahdan
 
Sertifikat ec00202059775
Sertifikat ec00202059775Sertifikat ec00202059775
Sertifikat ec00202059775Syaiful Ahdan
 
Sertifikat EC00202045078
Sertifikat EC00202045078Sertifikat EC00202045078
Sertifikat EC00202045078Syaiful Ahdan
 
Sertifikat EC00202044723
 Sertifikat EC00202044723 Sertifikat EC00202044723
Sertifikat EC00202044723Syaiful Ahdan
 
Sertifikat EC00202023523
Sertifikat EC00202023523Sertifikat EC00202023523
Sertifikat EC00202023523Syaiful Ahdan
 
Sertifikat EC00201826309
Sertifikat EC00201826309Sertifikat EC00201826309
Sertifikat EC00201826309Syaiful Ahdan
 
Sertifikat EC00202023149
Sertifikat EC00202023149Sertifikat EC00202023149
Sertifikat EC00202023149Syaiful Ahdan
 
Sertifikat EC00202022868
Sertifikat EC00202022868Sertifikat EC00202022868
Sertifikat EC00202022868Syaiful Ahdan
 
Sertifikat EC00202021343
Sertifikat EC00202021343Sertifikat EC00202021343
Sertifikat EC00202021343Syaiful Ahdan
 
Sertifikat EC00202022755
Sertifikat EC00202022755Sertifikat EC00202022755
Sertifikat EC00202022755Syaiful Ahdan
 
Sertifikat EC00201987196
Sertifikat EC00201987196Sertifikat EC00201987196
Sertifikat EC00201987196Syaiful Ahdan
 
Sertifikat EC00201856484
Sertifikat EC00201856484Sertifikat EC00201856484
Sertifikat EC00201856484Syaiful Ahdan
 
Sertifikat EC00201856352
Sertifikat EC00201856352Sertifikat EC00201856352
Sertifikat EC00201856352Syaiful Ahdan
 
Sertifikat EC00201856994
Sertifikat EC00201856994Sertifikat EC00201856994
Sertifikat EC00201856994Syaiful Ahdan
 
Sertifikat EC00201856895
Sertifikat EC00201856895Sertifikat EC00201856895
Sertifikat EC00201856895Syaiful Ahdan
 
Meeting 2 introdcution network administrator
Meeting 2   introdcution network administratorMeeting 2   introdcution network administrator
Meeting 2 introdcution network administratorSyaiful Ahdan
 

Más de Syaiful Ahdan (20)

Sertifikat EC00202128391
 Sertifikat EC00202128391 Sertifikat EC00202128391
Sertifikat EC00202128391
 
SP2JPB - Aplikasi Sistem Pelayanan Pemesanan Jasa Perbaikan Pada Bengkel Alam...
SP2JPB - Aplikasi Sistem Pelayanan Pemesanan Jasa Perbaikan Pada Bengkel Alam...SP2JPB - Aplikasi Sistem Pelayanan Pemesanan Jasa Perbaikan Pada Bengkel Alam...
SP2JPB - Aplikasi Sistem Pelayanan Pemesanan Jasa Perbaikan Pada Bengkel Alam...
 
Sertifikat ec00202059774
Sertifikat ec00202059774Sertifikat ec00202059774
Sertifikat ec00202059774
 
Sertifikat ec00202059775
Sertifikat ec00202059775Sertifikat ec00202059775
Sertifikat ec00202059775
 
Sertifikat EC00202045078
Sertifikat EC00202045078Sertifikat EC00202045078
Sertifikat EC00202045078
 
Sertifikat EC00202044723
 Sertifikat EC00202044723 Sertifikat EC00202044723
Sertifikat EC00202044723
 
Sertifikat EC00202023523
Sertifikat EC00202023523Sertifikat EC00202023523
Sertifikat EC00202023523
 
Sertifikat EC00201826309
Sertifikat EC00201826309Sertifikat EC00201826309
Sertifikat EC00201826309
 
Sertifikat EC00202023149
Sertifikat EC00202023149Sertifikat EC00202023149
Sertifikat EC00202023149
 
Sertifikat EC00202022868
Sertifikat EC00202022868Sertifikat EC00202022868
Sertifikat EC00202022868
 
Sertifikat EC00202021343
Sertifikat EC00202021343Sertifikat EC00202021343
Sertifikat EC00202021343
 
Sertifikat EC00202022755
Sertifikat EC00202022755Sertifikat EC00202022755
Sertifikat EC00202022755
 
Sertifikat EC00201987196
Sertifikat EC00201987196Sertifikat EC00201987196
Sertifikat EC00201987196
 
Sertifikat EC00201856484
Sertifikat EC00201856484Sertifikat EC00201856484
Sertifikat EC00201856484
 
Sertifikat EC00201856352
Sertifikat EC00201856352Sertifikat EC00201856352
Sertifikat EC00201856352
 
Sertifikat EC00201856994
Sertifikat EC00201856994Sertifikat EC00201856994
Sertifikat EC00201856994
 
Sertifikat EC00201856895
Sertifikat EC00201856895Sertifikat EC00201856895
Sertifikat EC00201856895
 
Meeting 2 introdcution network administrator
Meeting 2   introdcution network administratorMeeting 2   introdcution network administrator
Meeting 2 introdcution network administrator
 
Pertemuan 5
Pertemuan 5Pertemuan 5
Pertemuan 5
 
Pertemuan 4
Pertemuan 4Pertemuan 4
Pertemuan 4
 

Último

ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxAreebaZafar22
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactPECB
 
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...KokoStevan
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...christianmathematics
 
Gardella_PRCampaignConclusion Pitch Letter
Gardella_PRCampaignConclusion Pitch LetterGardella_PRCampaignConclusion Pitch Letter
Gardella_PRCampaignConclusion Pitch LetterMateoGardella
 
Gardella_Mateo_IntellectualProperty.pdf.
Gardella_Mateo_IntellectualProperty.pdf.Gardella_Mateo_IntellectualProperty.pdf.
Gardella_Mateo_IntellectualProperty.pdf.MateoGardella
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Disha Kariya
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfAyushMahapatra5
 
Making and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdfMaking and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdfChris Hunter
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDThiyagu K
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingTechSoup
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfAdmir Softic
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsTechSoup
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.christianmathematics
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxDenish Jangid
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxVishalSingh1417
 

Último (20)

ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
Gardella_PRCampaignConclusion Pitch Letter
Gardella_PRCampaignConclusion Pitch LetterGardella_PRCampaignConclusion Pitch Letter
Gardella_PRCampaignConclusion Pitch Letter
 
Gardella_Mateo_IntellectualProperty.pdf.
Gardella_Mateo_IntellectualProperty.pdf.Gardella_Mateo_IntellectualProperty.pdf.
Gardella_Mateo_IntellectualProperty.pdf.
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdf
 
Making and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdfMaking and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdf
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SD
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptx
 

Meeting 14. web server ii

  • 1. 1 1 11 to 1 Computer Network Administration Web Server - Installation & Configuration
  • 2. 2 2 22 to 2 Outline  Introduction  Why Apache ?  Installation  Configuration  Running Apache  Basic Security
  • 3. 3 3 33 to 3 Introduction  A basic web server works as follows :  It is a program that runs on a host computer .  It waits for a request from web browser/client for objects it has in its possession  Upon receiving the request (GET command from client), it retrieves the requested information and sends it to the client. The objects it can serve include HTML documents, plain text, images, sounds, video and other data.
  • 4. 4 4 44 to 4  Apache is the most popular web server on the internet, running approximately 60% of all web servers.  This is the default web server on Red Hat, SuSE, and Debian systems and is well known in industry for its flexibility and performance. Introduction
  • 5. 5 5 55 to 5 Introduction  Installing and maintaining is easy and ranks far below email and DNS in complexity & difficulty of administration.  Its free and open source and full source code is available from Apache group site at www.apache.org .
  • 6. 6 6 66 to 6 Why Apache ?  Apache’s popularity is due to :  Apache is highly configurable .  It is extensible (for e.g. mod_perl and mod_php3 can be added) .  Supports virtual hosts or multi homed servers .  It is free and open source .
  • 7. 7 7 77 to 7 Installation  Apache is included with most Linux distributions. On a machine installed with recent version of Linux, chances are Apache is already installed and running.  Processor status can be checked to see if its running by using the command machine1$ ps –ef | grep httpd
  • 8. 8 8 88 to 8 Installation  If one wishes to download the source code and compile it then,  Execute the configure script included with the distribution to detect type of system used and set up appropriate makefiles.  use --prefix option to specify where in ones directory tree the Apache server should live.
  • 9. 9 9 99 to 9 Installation  For example : % ./configure --prefix=/etc/httpd  Default modules can be used or some features may be included or removed by invoking -enable-module= and -disable-module= options to configure .
  • 10. 10 10 1010 to 10 Installation  Some modules like asis, autoindex, env may be disabled for security reasons. A complete list of modules can be viewed at src/configuration file or http://www.apache.org/docs/mod/index.html  After executing configure run make and make install to actually compile and install the appropriate files .
  • 11. 11 11 1111 to 11 Configuration  All configuration files are in conf directory ( /etc/httpd/conf). The files that are to be examined and customized are httpd.conf, srm.conf and access.conf .  httpd.conf is used to set the TCP port (usually port 80), location of log files, and various network and performance parameters
  • 12. 12 12 1212 to 12 Configuration  srm.conf file defines the root of the directory tree in which servable documents are located .  access.conf file manages security concerns. This file contains directives that control access on a per-file or per- directory basis .
  • 13. 13 13 1313 to 13 Running Apache  Apache can be started from machine’s rc scripts or initiated by hand with % /usr/sbin/httpd –f /etc/httpd/conf/httpd.conf  It can be started automatically at boot time by making a link in rc directory that points to /etc/init.d/httpd .
  • 14. 14 14 1414 to 14 Security  Modifying the Default Header :  A hacker can exploit a web server by the information it sends in its header ( version, machine type, its built-up etc) .  Its always better to modify the default header by changing the lines that reveals this information in src/include/httpd.h file .
  • 15. 15 15 1515 to 15 Security  Upgrading old software when necessary.  Protecting Web Data with IP Restrictions :  Apache can be configured to allow restricted IP addresses only.  This can be done by adding following lines in .htaccess : Order Deny, Allow Deny from All Allow from 192.168.1.100 Allow from 192.168.1.101
  • 16. 16 16 1616 to 16 Security  Using HTTP Authentication :  HTTP user authentication restricts access to a particular directory and subdirectories of the web server .  A browser implements authentication by prompting a dialog box for the user to type his username/password.
  • 17. 17 17 1717 to 17 Security  Using Secure HTTP Connections :  The Secure Socket Layer (SSL) should be used to minimize the likelihood that a hacker can snoop a username/password.  SSL not only encrypts the data before it is transferred to the web site, but also it decrypts the data received from the web site, thus securing the data transfers.
  • 18. 18 18 1818 to 18 • Zolfagharifard, Ellie (24 November 2018). "'Father of the web' Sir Tim Berners-Lee on his plan to fight fake news". The Telegraph. ISSN 0307-1235. Retrieved 1 February 2019. • Vaughan-Nichols, Steven J. "Apache and IIS' Web server rival NGINX is growing fast". ZDNet. Retrieved 1 February 2019. • Hadi, Nahari (2011). Web commerce security: design and development. Krutz, Ronald L. Indianapolis: Wiley Pub. ISBN 9781118098899. OCLC 757394142. • http://www.juntak.com/bus107/MATERIALS/Powerpoint_Presentations/08.ppt • https://en.wikipedia.org/wiki/Web_server • https://razorjr.files.wordpress.com/2014/01/lecture8_web_server_browser.ppt • Sandeep K Thopucherela, ECE Department. REFERENCE