Web Server/Services Web Server/Services huanghs. Computer Center, CS, NCTU 2 FAMP(FreeBSD+Apache+MySQL+PHP)  Apache 2.2 (35%) /usr/ports/www/apache22.

Slides:



Advertisements
Similar presentations
WordPress from Start to Finish Day 1: Installing and Using WordPress Looking at the WordPress database.
Advertisements

WebGoat & WebScarab “What is computer security for $1000 Alex?”
Windows Apache MySQL PHP Radoslav Georgiev Telerik Corporation
 2003 Prentice Hall, Inc. All rights reserved. Chapter 21 – Web Servers (IIS and Apache) Outline 21.1 Introduction 21.2 HTTP Request Types 21.3 System.
Blogging & Podcasting with WordPress & podPress Gilbert Detillieux November 9, 2010 MUUG Meeting.
Install WordPress with Xampp. By With Thanks to: Rupesh Kumar.
Apache Web Server Quick and Dirty Steve Gibbard for SANOG 16 (Originally by Joel Jaeggli for AfNOG 2007) ‏
+ Team Members Evaluation and Implementation of Web 2.0 Technologies in Support of CReSIS Polar and Cyberinfrastructure Research Projects at Elizabeth.
Web Servers How do our requests for resources on the Internet get handled? Can they be located anywhere? Global?
1 實驗十:以 Linux 架設 Internet/Intranet 伺服 器 教師: 助教:. 2 Outline  Background  Linux system  Popular Internet services  Internet services  Internet  HTTP.
ASP.NET 2.0 Chapter 6 Securing the ASP.NET Application.
How Clients and Servers Work Together. Objectives Learn about the interaction of clients and servers Explore the features and functions of Web servers.
Create a Website Lesson 1 – Part 3. Domain Names 2 Domain names are used to identify one or more IP addresses ( ). For example, the domain.
SSL (Secure Socket Layer) and Secure Web Pages Rob Sodders, University of Florida CIS4930 “Advanced Web Design” Spring 2004
TLS/SSL Review. Transport Layer Security A 30-second history Secure Sockets Layer was developed by Netscape in 1994 as a protocol which permitted persistent.
SSL From Your Smartphone Support for Android Smartphones /
APACHE SERVER By Innovationframes.com »
Project Implementation for COSC 5050 Distributed Database Applications Lab1.
SquirrelMail for Webmail AfNOG 2013 Scalable Internet Services (SS-E) Presented by Michuki Mwangi Lusaka, Zambia (Original Materials by Joelja)
SYST Web Technologies SYST Web Technologies Installing a Web Server (XAMPP)
By Jeerarat Boonyanit. As you can see I have chosen Cpanel for my server management tool. cPanel is a Linux based web hosting control panel that provides.
TOPIC 1 – SERVER SIDE APPLICATIONS IFS 234 – SERVER SIDE APPLICATION DEVELOPMENT.
Team - CA CSCI 5234 Web Security.  Collect and document information of ecommerce security mechanisms.  Using: wiki engine for collaboration.
Appendix: Installing AMP (Apache + MySQL + PHP). Training Course, CS, NCTU 2 AMP  AMP A – Apache Web Server M – MySQL Database Server P – PHP Language.
1 Web Server Concepts Dr. Awad Khalil Computer Science Department AUC.
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.
FAMP FreeBSD/Apache/MySQL/PHP. Computer Center, CS, NCTU 2 Outline  Introduction Apache MySQL PHP  Installation and Administration MySQL Apache PHP.
 2001 Prentice Hall, Inc. All rights reserved. 1 Chapter 21 - Web Servers (IIS, PWS and Apache) Outline 21.1 Introduction 21.2 HTTP Request Types 21.3.
1 Apache and Virtual Sites and SSL Dorcas Muthoni.
Apache and... Virtual Hosts ---- aliases mod_rewrite ---- htaccess AFNOG 11 Kigali, Rwanda May 2010 Dorcas Muthoni Courtesy: Hervey Allen.
MySQL. MySQL is a Relational Database Management System (RDBMS) that runs as a server providing multiuser access to a number of databases. A third party.
Installing and Using MySQL and phpMyAdmin. Last Time... Installing Apache server Installing PHP Running basic PHP scripts on the server Not necessary.
 2004 Prentice Hall, Inc. All rights reserved. 1 Segment – 6 Web Server & database.
SE-2840 Dr. Mark L. Hornick1 Web Application Security.
Web Server/Services Web Server/Services pyhsu. Computer Center, CS, NCTU 2 FAMP(FreeBSD+Apache+MySQL+PHP)  Apache 2.2 (40%) /usr/ports/www/apache22 apache22_enable="YES"
1Computer Sciences Department Princess Nourah bint Abdulrahman University.
Apache Web Server Quick and Dirty for AfNOG 2015 (Originally by Joel Jaeggli for AfNOG 2007) ‏
Apache Web Server Quick and Dirty Evelyn NAMARA for AfNOG 2014 (Originally by Joel Jaeggli for AfNOG 2007) ‏
Turning Windows 7 into a Web Server Ch 28. Understanding Internet Information Services.
Apache Web Server Quick and Dirty Ayitey Bulley for AfNOG 2011 (Originally by Joel Jaeggli for AfNOG 2007) ‏
 Apache 2.2 › /usr/ports/www/apache22 › apache22_enable="YES" (/etc/rc.conf) › /usr/local/etc/rc.d/apache22 start  MySQL 5.0 › /usr/ports/databases/mysql50-server.
Apache Web Server Quick and Dirty Kevin G. Chege for AfNOG 2013 (Originally by Joel Jaeggli for AfNOG 2007) ‏
1 Copyright © 2015 Pexus LLC Patriot PS Personal Server How to configure as a Mail server.
Configuring and Troubleshooting Identity and Access Solutions with Windows Server® 2008 Active Directory®
WAMP Server Installatin Shiyun Wen. WAMP Server Installation  WAMP Server is an integrated installation of Apache, MySQL, and PHP for Windows. Following.
PHP Introduction PHP is a server-side scripting language.
WEB SERVER SOFTWARE FEATURE SETS
PhpMyAdmin Matthew Walsh April 28, 2003 CMSC Shawn Sivy.
Basic Service & Settings xclin. Computer Center, CS, NCTU 2 If you want to transfer a file…
 To start using PHP, you can:  Find a web host with PHP and MySQL support  Install a web server on your own PC, and then install PHP and MySQL.
Web Security. Introduction Webserver hacking refers to attackers taking advantage of vulnerabilities inherent to the web server software itself These.
(ITI310) By Eng. BASSEM ALSAID SESSIONS 10: Internet Information Services (IIS)
Free Powerpoint Templates Page 1 Free Powerpoint Templates Chapter 4- Server Configuration.
Session 11: Cookies, Sessions ans Security iNET Academy Open Source Web Development.
XAMPP.
CGS 3066: Web Programming and Design Spring 2016 Introduction to Server-Side Programming.
L.A.M.P. İlker Korkmaz & Kaya Oğuz CS 350. Why cover a lecture on LAMP? ● Job Opportunities – There are many hosting companies offering LAMP as a web.
Chapter 8: Open Source Web Applications phpMyAdmin Wordpress Coppermine phpBB.
CGS 3066: Web Programming and Design Spring 2017
Tonga Institute of Higher Education IT 141: Information Systems
WordPress Introduction
Web Hosting yicyuan.
Install WordPress with Xampp
(Originally by Joel Jaeggli for AfNOG 2007)‏
IIS.
Tonga Institute of Higher Education IT 141: Information Systems
Homework #05 SSL and TLS Announce: Due:
Tonga Institute of Higher Education IT 141: Information Systems
Designing IIS Security (IIS – Internet Information Service)
Web Application Development Using PHP
Presentation transcript:

Web Server/Services Web Server/Services huanghs

Computer Center, CS, NCTU 2 FAMP(FreeBSD+Apache+MySQL+PHP)  Apache 2.2 (35%) /usr/ports/www/apache22 apache22_enable="YES" (/etc/rc.conf) /usr/local/etc/rc.d/apache22 start  MySQL5.1 (20%) /usr/ports/databases/mysql55-server mysql_enable="YES" (/etc/rc.conf) /usr/local/etc/rc.d/mysql-server start  PHP 5 (20%) /usr/ports/lang/php5 /usr/ports/lang/php5-extensions  HTTPS (25%)  Bouns (20%)

Computer Center, CS, NCTU 3 Apache  Basic system (10%) Apache HTTP Server is the most popular HTTP server software in use. Open source software. Cross-platform and security.  Virtual Hosts (10%) .htaccess (5%)  Userdir (5%)  Blog (5%)

Computer Center, CS, NCTU 4 Apache – Virtual Hosts  Providing services for more than one domain-name (or IP) in one web server.  Apache Name-Based configuration example /usr/local/etc/apache22/extra/httpd-vhosts.conf Notice virtual host’s DocumentRoot permission  To do this homework, you need 2 domain name (If you don’t have static IP)

Computer Center, CS, NCTU 5 Apache –.htaccess .htaccess(hypertext access)  You can use these tools

Computer Center, CS, NCTU 6 Apache – Userdir  Let users have their own web space

Computer Center, CS, NCTU 7 Apache – Blog  You can use Wordpress Movable Type Others you like or Write a system yourself  Don’t use BSP(blog service provider)

Computer Center, CS, NCTU 8 MySQL  What is SQL(Structured Query Language) The most popular computer language which is used to create, modify, retrieve and manipulate data from relational database management systems. SQL Introduction:  A multithreaded, multi-user, SQL Database Management System.  Basic system(10%)  phpMyAdmin(10%) Create another user with limited privilege

Computer Center, CS, NCTU 9 MySQL – phpMyAdmin(1/2)  phpMyAdmin can manage a whole MySQL server as well as a single database over the World Wide Web.  Official Site:  Documentation:  Characteristics Browser-based, Supporting PHP5.2+, MySQL 5.0+, Open Source  There are four authentication modes offered : http, cookie, sign-on and config(the less secure one, not recommanded).

Computer Center, CS, NCTU 10 MySQL – phpMyAdmin(2/2)  Create another user with limited privilege

Computer Center, CS, NCTU 11 PHP  Basic system (10%) /usr/ports/lang/php5 /usr/ports/lang/php5-extensions  Other (10%) Discuz! Joomla! phpBB Xoops …

Computer Center, CS, NCTU 12 HTTPS  Root CA Be a Certificate Authority yourself Issue certifications for your services  /usr/local/etc/apache22/httpd.conf Include/etc/apache22/extra/httpd-ssl.conf  Able to browse your web site via HTTPs(25%)

Computer Center, CS, NCTU 13 Requirement(1/2)  You need two host names use same IP address.  When access user need enter id "nctucs" and password "sahw4" which is implemented by.htaccess.  System user sysadm can put file at ~/WWW/ and others can access it by visiting sysadm's password is your student id.  Your blog domain name is

Computer Center, CS, NCTU 14 Requirement(2/2)  Users use cookie authentication when access your phpMyAdmin site (You need to add a MySQL user for authentication). And notice that if others access can not access it. 

Computer Center, CS, NCTU 15 Bonus1  One of your domain name can use userdir, but another cannot. For example  web. example.org’s IP is  blog. example.org’s IP is  is valid, but is invalid.

Computer Center, CS, NCTU 16 Bonus2  suphp A tool for executing PHP scripts with the permissions of their owners. By using this, user does not need set permission to others. Official Site:  Install suphp and config it Don't permit a php file execution if user except file owner has its write permission.

Computer Center, CS, NCTU 17 Bonus3 – FTP-over-TLS(1/2)  Server ftp/pure-ftpd ftp/ftpd-tls ftp/bsdftpd-ssl  Client ftp/lftpd  OPENSSL "With OpenSSL support" on ftp/ftp-tls  Able to download file via FTP-over-TLS

Computer Center, CS, NCTU 18 Bonus3 – FTP-over-TLS(2/2)  OpenSSL In system › /usr/src/crypto/openssl In ports › security/openssl  How to generate SSL X.509 Certificate

Computer Center, CS, NCTU 19 Other Bonus  Other bonus you can try : mod_rewrite fastcgi gallery …  If you add extra features, please let TAs know. TAs will give bonus score according to degree of difficulty.  This homework's score upper bound is 120.  Each bonus’s score upper bound is 5.

Computer Center, CS, NCTU 20 Demo  Due day: 12/21 18:30  Please go to your demo time. It will open on 12/21 21:30:00 It will close on 12/24 23:59:59