1 Week 6 The lynx browser Apache Web Server John Wang With materials courtesy of Inge Mclaurin.

Slides:



Advertisements
Similar presentations
4.01 How Web Pages Work.
Advertisements

Communicating Information: Web Design. It’s a big net HTTP FTP TCP/IP SMTP protocols The Internet The Internet is a network of networks… It connects millions.
 To publish information for global distribution, one needs a universally understood language, a kind of publishing mother tongue that all computers may.
20-753: Fundamentals of Web Programming 1 Lecture 11: Web Server Case Study Fundamentals of Web Programming Lecture 11: Web Server Case Study.
Chapter Apache Installation on Linux. Acknowledgement The contribution made by Darrin Morison is acknowledged.
Apache Installation by Jack Davis. Web Servers The Apache HTTP Server is the most widely used web server on the Internet. Apache is fast, free, and full-featured.
XP Browser and Basics1. XP Browser and Basics2 Learn about Web browser software and Web pages The Web is a collection of files that reside.
CIS 240 Introduction to UNIX Instructor: Sue Sampson.
CIS101 Introduction to Computing Week 05. Agenda Your questions CIS101 Survey Introduction to the Internet & HTML Online HTML Resources Using the HTML.
Chapter Apache Installation in Linux- Mandrake. Acknowledgment The following information has been obtained directly from
Introduction to HTML 2006 INT197B. What is the Internet? Global network of computers that are connected and communicate via a series of Protocols Protocols.
How Clients and Servers Work Together. Objectives Learn about the interaction of clients and servers Explore the features and functions of Web servers.
CP476 Internet Computing Browser and Web Server 1 Web Browsers A client software program that allows you to access and view Web pages on the Internet –Examples.
Introduction 2: Internet, Intranet, and Extranet J394 – Perancangan Situs Web Program Sudi Manajemen Universitas Bina Nusantara.
Browser and Basics Tutorial 1. Learn about Web browser software and Web pages The Web is a collection of files that reside on computers, called.
COMPUTER TERMS PART 1. COOKIE A cookie is a small amount of data generated by a website and saved by your web browser. Its purpose is to remember information.
Web Design Terms and Concepts Ms. Scales. Q. What is a Server? A. A server is a computer that stores information many people can access. It runs special.
Quick Tour of the Web Technologies: The BIG picture LECTURE A bird’s eye view of the different web technologies that we shall explore and study.
Linux Operations and Administration
2440: 141 Web Site Administration Remote Web Server Access Tools Instructor: Enoch E. Damson.
Web Servers Web server software is a product that works with the operating system The server computer can run more than one software product such as .
Web Servers Installation and Configuration May 24, 2001 CIS System Administration Problem Statement The class topic is setting up a Linux server to support.
Copyright © cs-tutorial.com. Introduction to Web Development In 1990 and 1991,Tim Berners-Lee created the World Wide Web at the European Laboratory for.
An introduction to Apache. Different Types of Web Servers Apache is the default web server for may Unix servers. IIS is Microsoft’s default web server.
CSCI-235 Micro-Computer Applications The Internet.
1 John Magee 9 November 2012 CS120 Lecture 17a: Publishing Web pages.
CP476 Internet Computing Lecture 5 : HTTP, WWW and URL 1 Lecture 5. WWW, HTTP and URL Objective: to review the concepts of WWW to understand how HTTP works.
OV Copyright © 1998 Ziff-Davis Education, a division of Ziff-Davis Inc. All rights reserved. The Internet World-wide network of computers connected.
XP New Perspectives on Browser and Basics Tutorial 1 1 Browser and Basics Tutorial 1.
Chapter 8 The Internet: A Resource for All of Us.
Introduction to Computers Section 8A. home How the Internet Works Anyone with access to the Internet can exchange text, data files, and programs with.
 The internet is the hardware that creates the massive worldwide network. Computers, cables, telephone wires, high-speed communication lines. The internet.
Microsoft Internet Information Services 5.0 (IIS) By: Edik Magardomyan Fozi Abdurhman Bassem Albaiady Vince Serobyan.
HOW WEB SERVER WORKS? By- PUSHPENDU MONDAL RAJAT CHAUHAN RAHUL YADAV RANJIT MEENA RAHUL TYAGI.
SUSE Linux Enterprise Desktop Administration Chapter 12 Administer Printing.
 Internet network of connected computer › No company owns the internet › Purpose is to share information  World Wide Web (Web) one of the ways information.
1 Web Development & Design Foundations with XHTML Chapter 1 Key Concepts.
HTML for ISD Brown Bag Presentation Session 1 Why?
April 17, 2004 Prof. Paul Lin 1 CPET 355 Data Communications & Networking 7. The Application Layer: World Wide Web - Part 1 Paul I-Hai Lin, Professor Electrical.
1 Welcome to CSC 301 Web Programming Charles Frank.
Application Layer Khondaker Abdullah-Al-Mamun Lecturer, CSE Instructor, CNAP AUST.
Accessing the World Wide Web
World Wide Web “WWW”, "Web" or "W3". World Wide Web “WWW”, "Web" or "W3"
COP 3813 Intro to Internet Computing Prof. Roy Levow Lecture 1.
Web Browsers  Web browser- software that you run on your computer to make it work as a web client.  Web Servers- Computers connected to the Internet.
Unit 1 Welcome to the Internet: the Tools of the Trade.
Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 1 Fundamentals.
Web Server.
17 Establishing Dial-up Connection to the Internet Using Windows 9x 1.Install and configure the modem 2.Configure Dial-Up Adapter 3.Configure Dial-Up Networking.
CSCI-235 Micro-Computers in Science The Internet and World Wide Web.
Presented by Lonnye Bower Fardin Khan Chris Orona APACHE WEB SERVER.
JavaScript and Ajax (Internet Background) Week 1 Web site:
Matthew Baillie, Luke Day THE INTERNET. HISTORY OF THE INTERNET J.C.R. Licklider authored a series of memos concerning theoretical network structures.
Planning, configuring, running and maintaining a web server -1.
PYP002 Intro.to Computer Science Brwosing the Web1 Browsing the Web Chapter 19.
ECMM6018 Enterprise Networking For Electronic Commerce Tutorial 1 Installing A Web Server.
Apache Web Server v. 2.2 Reference Manual Chapter 2 Starting Apache.
APACHE Apache is generally recognized as the world's most popular Web server (HTTP server). Originally designed for Unix servers, the Apache Web server.
Web and Proxy Server.
4.01 How Web Pages Work.
Tonga Institute of Higher Education IT 141: Information Systems
Warm Handshake with Websites, Servers and Web Servers:
E-commerce | WWW World Wide Web - Concepts
E-commerce | WWW World Wide Web - Concepts
Introducing the World Wide Web
Tonga Institute of Higher Education IT 141: Information Systems
Web Page Concept and Design :
Tonga Institute of Higher Education IT 141: Information Systems
APACHE WEB SERVER.
4.01 How Web Pages Work.
Presentation transcript:

1 Week 6 The lynx browser Apache Web Server John Wang With materials courtesy of Inge Mclaurin

2 The Catalyst for W3 In 1990, while working for Europe’s high energy physics research lab (CERN), Tim Berners-Lee began to create the basic W3 infrastructure. CERN’s problem: 1.Results of costly experiments were kept in different formats on different computers. 2.There was high turn-over rate in CERN. New staff often could not find valuable data left by people who departed. They were “losing” information.

3 The Philosophy Behind W3 Tim Bernes-Lee proposed “Hypertext” system to organize information. 1.Different files can still be kept on different servers 2.An “index” can link files and information together. This index can direct the end-users to diverse pieces of info on different servers. 3.Users can jump from link to link without any hierarchical restriction.

4 W3 Infrastructure Two main components: (2) Client browser program (e.g. Lynx, Microsoft Explorer), resides on end-user computers. (1) Web servers (e.g. Apache server), storing information in Hypertext Markup Language (HTML).

5 Daemon “a process that runs in the background and performs a specified operation at predefined times or in response to certain events.” The term daemon is a UNIX term Microsoft Windows refers to daemons as System Agents and services. Source: webopedia.com

6 Daemon A daemon is a program that 1. runs continuously 2.exists for the purpose of handling periodic service requests that a computer system expects to receive. The daemon program forwards the requests to other programs Source: techtarget.com

7 Why do we need to know about “Daemons”? because... Each server of pages on the Web has an HTTP Daemon that continually waits for requests to come in from Web clients and their users. Source: techtarget.com

8 The Lynx Browser The Lynx browser is a text-based web browser. Lynx browser is already installed on zenit. –Telnet into zenit.senecac.on.ca –type “lynx” followed by the website you want to visit, and press ENTER. $ lynx

9 Visiting “apache.org” with lynx

10 In the beginning… CERN CERN’s original http server was used by all early websites (1991 ~ 1993) It was considered to be a big and complex piece of software.

11 New Kid on the Block… NCSA Only about 200 websites existed in 1993, when National Center for Supercomputing Applications (University of Illinois) released NCSA Mosaic. Mosaic was the first readily available graphical web browser. NCSA team wanted to create a small web server - so NCSA httpd was born. It quickly became the most popular web server.

12 The Apache Web Server Lots of NCSA Mosaic/httpd project team members (mostly students) went to form Netscape company in NCSA httpd development slowed down, and security holes were not addressed quickly. Web administrators around the world shared their changes & modification (patches) of the NCSA httpd. They called their effort “A PAtCHy server”, which became “APACHE”

13 The Apache Web Server By 1995, there were hundreds of volunteers re-writing and improving the software, making APACHE faster and better. Apache has been the most popular web server on the Internet since April of (Latest Netcraft survey showed that 60% of all websites use Apache. Second place is Microsoft at 30%.) Source:

14 Apache Design Philosophy Apache teams wanted to make the software: 1.Open-source: anyone can examine the software code 2.Modular: different add-on (or “mod”) can be developed independently 3.OS independent: Apache is available on many different platforms (Windows, Netware, Unix variances)

15 Directories & Important Files apachectl / home i120???? HOME binpasswordlogshtdocsconf cgi-bin httpd.conf.defaulthttpd.conf index.html httpd.pid.htaccess.htpassword httpd error_logaccess_log

16 The conf directory The conf directory contains the files used to configure apache. / home i120???? HOME conf httpd.conf.default httpd httpd.conf

17 The httpd.conf file The httpd.conf file is used to configure apache. The httpd.conf.default file is a back-up copy of the httpd.conf file. / home i120???? HOME conf httpd.conf.default httpd httpd.conf

18 The bin directory “bin” is short for “binary”. The compiled Apache binary files are stored in this directory. It contains the file apachectl. / home i120???? HOME httpd apachectl bin

19 The apachectl file apachectl is a program that starts, restarts or stops your Apache daemon/server. The file name is “apache” followed by “ctl” which stands for ConTroL / home i120???? HOME httpd apachectl bin

20 The htdocs directory The htdocs directory contains the files that will be displayed on your webpage. For example: –HTML pages –Graphics files –PDF files / home i120???? HOME httpd htdocs index.html.htaccess

21 The index.html file The index.html file is the “default” HTML page for a website. If the users enters the URL of a site without specifying a HTML page, index.html will be displayed. / home i120???? HOME httpd index.html.htaccess htdocs

22 The index.html file Example: is really

23 The logs directory The logs directory contains files that are logs of events that happen to your server. / home i120???? HOME httpd logs httpd.pid error_log access_log

24 A note on PID numbers A process is the execution of a command by the UNIX system. UNIX assigns a unique process identification (PID) number at the creation of each process. As long as a process is in existence, it keeps the same PID number.

25 The httpd.pid file When your server is running it will contain a file called httpd.pid. This file contains the PID of the running server. / home i120???? HOME httpd logs httpd.pid error_log access_log

26 The error_log file The error_log file contains a log of all error message generated by your server. If you are having difficulty with your server this is the first place you look when trouble-shooting. / home i120???? HOME httpd logs httpd.pid error_log access_log

27 Hint! Whenever you have any problem with your Apache Server......the first thing to do is to check your “log files”

28 The access_log file The access_log file contains a log of everyone who logs into your server. / home i120???? HOME httpd logs httpd.pid error_log access_log

29 apachectl / home in120??? HOME bin password logshtdocsconfcgi-bin httpd.conf.defaulthttpd.conf index.html httpd.pid.htaccess.htpassword httpd error_logaccess_log password protection

30 The password directory In the lab you are asked to create a password directory. This is the directory that will store all the password files. / home i120???? HOME httpd password.htpassword

31 The htpassword file In the lab you are asked to create a.htpassword file. This is the file that will store all the passwords you will create. / home i120???? HOME httpd password.htpassword

32 The.htaccess file You will also create the.htaccess file in htdocs directory. Its password protects the directory it is stored in. / home i120???? HOME httpd htdocs index.html.htaccess

33 Working with your Apache Server Read all the instructions Follow all the instructions Do one step at a time Save Often Once completed delete everything and do it all again, and again, and again. Keep redoing it until you can do it without help, and without the written instructions.

34 Remember...”Ports”? In TCP/IP networking, “port” is not the same as physical/hardware port (e.g. parallel port, serial port) "logical connection place" and specifically, using the Internet's protocol, TCP/IP, the way a client program specifies a particular server program on a computer in a network.TCP/IP Source: techtarget.com

35 Port Port numbers are from 0 to Ports 0 to 1024 (well-known ports) are reserved for use by privileged services. These include telnet, ftp, nntp, etc. For the HTTP service, port 80 is defined as a default and it does not have to be specified in the URL. Example: is really

36 ~i1201g45/ Your HTML pages on Zenit You now access your “public_html” directory through port 80 on Zenit. /home/i1201g45/ public_html/index.html ZENIT

37 Running Apache on zenit By installing Apache in your zenit directory, you need to use an unique port number. Please check my website for your port number. /home/i1201g45/httpd/ htdocs/index.html ZENIT