CPGM21X1 - Sheridan College

Download Report

Transcript CPGM21X1 - Sheridan College

SYST 28043
Web Technologies
Installing a Web Server (XAMPP)
Web Servers
Software on a computer that “listens” for
requests for web files
Runs continuously (in a perfect world)
Checks to see if an incoming request is valid
If valid, it “serves” up the requested file
Client: the requestor (e.g. browser)
http://en.wikipedia.org/wiki/Web_server
7/21/2015
Wendi Jollymore, ACES
2
Web Servers
The WWW has many different kinds of
web servers
Most Popular (current):
Apache
Microsoft IIS
Google Web Server
7/21/2015
Wendi Jollymore, ACES
3
Web Servers
Web servers can process pages after
retrieving them
And before sending them to client
E.g. ASP.NET pages
We’ll be doing things that require a
web server:
PHP and MySQL mostly
We need to install a web server on
the laptops!
7/21/2015
Wendi Jollymore, ACES
4
XAMPP
A nice package of tools:
Apache Web Server
MySQL database server
For creating, storing, and maintaining databases
PHP and Perl for coding
PHP = PHP: Hypertext Preprocessor
Perl is just “Perl” !
XAMPP is cool because it’s
FREE!
Open Source
Platform independent
Easy to install, set up, and use
7/21/2015
Wendi Jollymore, ACES
5
XAMPP
Stands for:
X = cross-platform
A = Apache Web Server
M = MySQL
P = PHP
P = Perl
See also:
WAMP – Windows, Apache, MySql, PHP
LAMP – Linux, Apache, MySql, PHP
7/21/2015
Wendi Jollymore, ACES
6
Download/Install
Instructions and everything in the notes!
Download
You’ll be getting the latest version from the web
site.
Install
Just follow the instructions in the notes!
Setup
Security: Setting up passwords so no one else can
go into your www or sql servers’ config
Alias: a “nickname” for a long directory/path
where you can put your projects, so you don’t
have to use the default web root
Test!
7/21/2015
Wendi Jollymore, ACES
7