GETTING 1 STARTED. Chapter SYS-ED/ COMPUTER EDUCATION TECHNIQUES, INC.

Similar documents
Global Servers. The new masters

TABLE OF CONTENTS 1. INTRODUCTION DEFINITIONS Error! Bookmark not defined REASON FOR ISSUE 2 3. RELATED DOCUMENTS 2 4.

A Technical Overview of the Lucent Managed Firewall

MFS CONCEPTS 1 & COMPONENTS SYS-ED/ COMPUTER EDUCATION TECHNIQUES, INC.

Application Layer: OSI and TCP/IP Models

E-Commerce. Infrastructure I: Computer Networks

Connecting with Computer Science Chapter 5 Review: Chapter Summary:

06/02/ Local & Metropolitan Area Networks 0. INTRODUCTION. 1. History and Future of TCP/IP ACOE322

NetWinderTM. The All-In-One Internet Appliance.

CCNA Exploration Network Fundamentals. Chapter 3 Application Layer Functionality and Protocols

Internet Architecture. Web Programming - 2 (Ref: Chapter 2) IP Software. IP Addressing. TCP/IP Basics. Client Server Basics. URL and MIME Types HTTP

Requirements for ALEPH 500 Installation

CompTIA Network+ Course

Precise-ITC, Inc. Domain Hosting (Web/ ) Reference

The Internet Advanced Research Projects Agency Network (ARPANET) How the Internet Works Transport Control Protocol (TCP)

IBM SecureWay On-Demand Server Version 2.0

Avaya Port Matrix: Avaya Aura Performance Center 7.1

Inside WebSphere Application Server

World Skills Competition. Trade 39: IT PC and Network Support. Day 2 Competition

ZENworks for Desktops Preboot Services

IBM Host Access Client Package for Multiplatforms, V5 IBM Personal Communications and IBM WebSphere Host On-Demand Migrate to the Web at your own pace

Chapter 10: Web Application Development. Informatics Practices Class XII. By- Rajesh Kumar Mishra. KV No.1, AFS, Suratgarh

The Internet, Intranets, and Extranets Chapter 7

6 Computer Networks 6.1. Foundations of Computer Science Cengage Learning

Network+ Guide to Networks 6 th Edition. Chapter 4 Introduction to TCP/IP Protocols

ENG224 INFORMATION TECHNOLOGY Part I 3. The Internet. 3. The Internet

Objectives. Connecting with Computer Science 2

Network Implementation

NETWORK CONFIGURATION AND SERVICES. route add default gw /etc/init.d/apache restart

Chapter 27 WWW and HTTP Copyright The McGraw-Hill Companies, Inc. Permission required for reproduction or display.

Chapter 6. The Protocol TCP/IP. Introduction to Protocols

Architecture Proposal for an Internet Services Charging Platform

CCNA Exploration Network Fundamentals. Chapter 03 Application Functionality and Protocols

WEB TECHNOLOGIES CHAPTER 1

How the Web Works. Chapter 1. Modified by Marissa Schmidt Pearson

Introduction to TCP/IP

Module 2 Overview of Computer Networks

Module 2 Overview of. Computer Networks

M3-R3: INTERNET AND WEB PAGE DESIGN

Siebel Installation Guide for Microsoft Windows

How to find your IP address information

IBM WebSphere Application Server V3.5, Advanced Edition for Linux Extends Support to Red Hat, Caldera, SuSE, and TurboLinux

Novell. ZENworks. for Desktops 3.2 Preboot Services ADMINISTRATION

Chapter 4: Threads. Overview Multithreading Models Threading Issues Pthreads Windows XP Threads Linux Threads Java Threads. Operating System Concepts

3. WWW and HTTP. Fig.3.1 Architecture of WWW

Real Life Web Development. Joseph Paul Cohen

Lab Configuring Dynamic and Static NAT (Solution)

Technology in Action. Chapter 13 Behind the Scenes: The Internet: How It Works Prentice-Hall, Inc.

A+ Guide to Software: Managing, Maintaining, and Troubleshooting, 5e. Chapter 8 Networking Essentials

Configuring Proxy Settings. STEP 1: (Gathering Proxy Information) Windows

AQU Information Systems Fundamentals Spring 2012 Pg. 9.1

THE IMPACT OF E-COMMERCE ON DEVELOPING A COURSE IN OPERATING SYSTEMS: AN INTERPRETIVE STUDY

CICS 1 CONCEPTS AND FACILITIES

CICS and the Web: Web-enable your CICS Applications

Lab Configuring Dynamic and Static NAT (Instructor Version Optional Lab)

Microsoft Exam

LevelOne Broadband Routers

Universal Communicator

Chapter 4: Threads. Overview Multithreading Models Thread Libraries Threading Issues Operating System Examples Windows XP Threads Linux Threads

Typical Network Uses

On demand People Productivity. Architecture - functional view

Software installation and configuration IEC-line series. update:

The Applications and Gaming Tab - Port Range Forward

Chapter 10: Application Layer CCENT Routing and Switching Introduction to Networks v6.0

The World Wide Web. Internet

Requirements for Rosetta Installation. Version 5.x

ECE 650 Systems Programming & Engineering. Spring 2018

(5) Affiliation (10) XML (15) Web Augmentation (20) Gateways. (4) Kernel (9) ES test (14) SSL. (1) Portal (6) EDI (11) Web Directories (16) W3C

Systems Programming. The Unix/Linux Operating System

Chapter 4: Threads. Operating System Concepts 8 th Edition,

Apache Web Server Administration for Windows

By Anthony di Donato. Citrix Systems, Inc.

Unit C - Network Addressing Objectives Purpose of an IP Address and Subnet Mask Purpose of an IP Address and Subnet Mask

Chapter 4: Networking and the Internet. Figure 4.1 Network topologies. Network Classifications. Protocols. (continued)

Chapter 4: Networking and the Internet

Why Firewalls? Firewall Characteristics

IBM WebSphere Application Server V3.5, Advanced Edition Expands Platform Support and Leverages the Performance of the Java 2 Software Development Kit

Introduction to UNIX/LINUX Security. Hu Weiwei

Network Management Utility

Chromakinetics DMXweb Ver 1.3

Motivation For Networking. Information access Interaction among cooperative application programs Resource sharing

IBM Maximo Anywhere Version 7 Release 6. Planning, installation, and deployment IBM

networks List various types of networks and their

Avaya Port Matrix: Avaya Proprietary Use pursuant to the terms of your signed agreement or Avaya policy.

Internet Architecture

SE 4C03 Winter Final Examination Answer Key. Instructor: William M. Farmer

Size of Storage Number of Bits Decimal Range Range, From 0 to 2 n 1. Short Description Hard Disk USB Flash Drive Optical Disc

Ftp Command Line Manual Windows Example Port 22

Internet, HTTP and DNS Examples. Networks: HTTP and DNS 1

Extending the Domino System. Powered by Notes. The First Groupware and Server for the Net R E L E A S E

UNIX 2 OPERATING SYSTEM

Symantec NetBackup PureDisk Compatibility Matrix Created August 26, 2010

Lecture 05 Application Layer - I

Persistent systems. Traditional software: Data stored outside of program. Program

Supported Platforms & Technologies

Dominion KSX II. Quick Setup Guide. Step 1: Configure the KVM Target Servers

Chapter 3 The Basics of Networking

Red Hat Enterprise Linux 5 Virtual Server Administration. Linux Virtual Server (LVS) for Red Hat Enterprise Linux Edition 5

Avaya Port Matrix: Avaya Aura Appliance Virtualization Platform 7.0

Networking and the Web Reminder: Next Quiz on 4/15

Transcription:

GETTING 1 STARTED hapter SYS-ED/ OMPUTER EDUATION TEHNIQUES, IN.

Objectives You will learn: Apache Software Foundation. Apache execution. Apache components. Hypertext Transfer Protocol. TP/IP protocol. IP addresses. Ports. Hardware requirements. A SYS-ED course developed by Jonathan larke. opyright: Oakwood omputing (Apache - 2.8) h 1: Page i

1 Purpose and Function Apache is the software which runs and manages a web server. Its principal function is to service requests from clients for the set of resources it manages. Apache clients are mainly web browsers, but also include web robots and crawlers. Apache resources include: HTML pages. Image files. Results of scripts; usually it is HTML. Java applets. Apache is the most popular web server software on the Internet with over 50% of the installed base; it is a reliable product. A great deal of Apache s attraction is that there is no cost associated with its use. A SYS-ED course developed by Jonathan larke. opyright: Oakwood omputing (Apache - 2.8) h 1: Page 1

2 Apache Software Foundation Apache was developed by the Apache Software Foundation. It still is responsible for approving new releases. Apache is open source. The source can be downloaded and modifications can then be added. If a modification is innovative, it can then be included as a new Apache module. Some of the existing modules started as externally-developed projects. When the binary distribution of Apache is downloaded, the source code is also downloaded. If any problems are encountered, a reading of the sourcecode may well serve to identify the cause of the bug. Apache has a license which allows its distribution. It is not the same as the GNU Public License, and is less restrictive than the GPL. If the primary objective is to use Apache for internal purposes, exclusive of commercial applications, no special actions will be required. However, if the ultimate objective is to create and market a product which includes Apache, it will need to be licensed. A SYS-ED course developed by Jonathan larke. opyright: Oakwood omputing (Apache - 2.8) h 1: Page 2

3 Support The Apache Software Foundation does not directly support Apache Web Server. In most situations, when the recommended versions of Apache are used this should not be a problem. Support from Apache Server can come from several sources: IBM's WebSphere for AIX, Linux, NT, and Solaris includes Apache. IBM offers support for the Apis version (known as IBM HTTPD Server). Apple has Apache integrated into MacOS X Server and MacOS X desktop operating systems. Linux suppliers such as RedHat also provide support for their products, including some support for Apache. Some ISPs also provide support. A SYS-ED course developed by Jonathan larke. opyright: Oakwood omputing (Apache - 2.8) h 1: Page 3

4 Apache Execution UNIX In UNIX, Apache 1.3 runs as a 'forked' process. A web server request is handled by a forked child process. Each child process is a copy of the original process. With Apache 2.0, the platform-dependant code has been placed in a Multi Processing Module. Multi Processing Module is known as MPM. ompatibility with Apache 1.3 is provided with the prefork Multi Processing Module. Microsoft Windows Windows does not have a fork system, and utilizes threads with Apache 2.0. Apache 1.3 used a less reliable POSIX emulation. A SYS-ED course developed by Jonathan larke. opyright: Oakwood omputing (Apache - 2.8) h 1: Page 4

5 Apache omponents Apache uses a configuration file to hold settings and options. Apache utilizes the following modules: core modules. optional modules. 3rd party modules. Any platform specific coding is placed in Multi-Processing Module. Modules can be dynamically added to a running Apache server; these modules are referred to as Dynamic Shared Object - DSO. A SYS-ED course developed by Jonathan larke. opyright: Oakwood omputing (Apache - 2.8) h 1: Page 5

6 Hypertext Transfer Protocol Apache uses HTTP for governing how a client makes a request for information and how the server responds to that request. It is a request/response protocol. HTTP Versions HTTP/0.9 (which is assumed if no protocol version is sent) HTTP/1.0 HTTP/1.1 HTTP Method GET HEAD POST HTTP/1.1 ommands OPTIONS ONNET DELETE PUT TRAE HTTP Messages HTTP may contain HTTP headers: Request headers Response headers Entity headers A SYS-ED course developed by Jonathan larke. opyright: Oakwood omputing (Apache - 2.8) h 1: Page 6

7 TP/IP Apache supports two protocols of IP: Protocol Addressing Example IPv4 32 bit 181.232.47.25 IPv6 128 bit e9f0::723:b3ff:a625:8b5 e9f0:0000:0000:0000:0723:b3ff:a625:08b5 The IPv4 addressing scheme is used on the Internet. It is divided into regions: lass A First number in range 1-126 (max 16,777,214 hosts) lass B First number in range 128-191 First and second numbers fixed. There can be a maximum of 16,382 lass B networks each with 65,534 hosts lass First number in range 192-223 First three numbers fixed. There can be a maximum pf 2,097,150 class networks each with 254 hosts Reserved by TP/IP specification First number in range 224-254 A SYS-ED course developed by Jonathan larke. opyright: Oakwood omputing (Apache - 2.8) h 1: Page 7

8 Special Addresses Host address values of all 0 indicate an anonymous address; the host does not know its own IP address. Host address values of all 255 indicate a broadcast address for the network, and all hosts may receive a broadcast. lass Anonymous Broadcast Netmask A 25.0.0.0 25.255.255.255 255.0.0.0 B 145.23.0.0 145.23.255.255 255.255.0.0 208.179.13.0 208.179.13.255 255.255.255.0 Some IP address ranges have special meanings for networking hardware such as routers. They are treated as private addresses and do not cause data to be transmitted outside the local routers. They can be used for testing purposes or for intranets which will not have an Internet connection. lass A 10.0.0.0 lass B 172.16.0.0 to 172.31.0.0 lass 192.168.0.0 to 192.168.255.0 Loop back address 127.0.0.1 (local host) A SYS-ED course developed by Jonathan larke. opyright: Oakwood omputing (Apache - 2.8) h 1: Page 8

9 Netmask The netmask is ANDed with the IP address to produce the network address. 208.179.13.7 208.179.13.8 208.179.12.0 For lass networks, the netmask is 255.255.255.0. When this is ANDed with the first two IP addresses, the value returned by each is 208.179.13.0. This serves to have them placing on the same network. This means that when a data packet is sent among the IP addresses, TP/IP will attempt to send it directly without routing. However, the third IP address will return 208.179.12.0 when ANDed with its netmask. This means that it is on a different network from the other two, therefore TP/IP will send data packets to the gateway. A SYS-ED course developed by Jonathan larke. opyright: Oakwood omputing (Apache - 2.8) h 1: Page 9

10 Ports Apache uses port 80 by default, and needs to be started by root or at system start-up by UNIX. Non-privileged users can run an Apache server provided they use a port number of at least 1024. There is an Internet daemon (inetd) which provides a server with the capability for listening to many ports and then starting up the relevant program for accepting/managing the incoming requests. Some of the services which inetd implements are not secure (eg. telnet FTP runs on port 21). Since inetd is not required by Apache, some sites elect to disable it. A SYS-ED course developed by Jonathan larke. opyright: Oakwood omputing (Apache - 2.8) h 1: Page 10

11 Hardware Apache can run on a: dedicated P (486 upwards) running UNIX. multi-processor cluster providing the image of a single virtual server Guidelines Utilize as much memory as possible; this will result in less swapping. 10Base2 or 10BaseT is too slow (90 hits/sec, 6-8 Mbits/sec max). Network cards should be at the 10/100 base speed; gigabit Ethernet cards would be a better choice and are now a reasonable cost effective alternative. Utilize two network interfaces: one external to the Internet and another for the local network. Place a firewall between the server and LAN. Use SSI rather than IDE. RAID is better, but at a price. Have a DAT backup or backup on another server on the LAN. Utilize multiple dated backups. A SYS-ED course developed by Jonathan larke. opyright: Oakwood omputing (Apache - 2.8) h 1: Page 11