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"

Slides:



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

Getting Set-up with Hosting and WordPress Gregory Young Alternative Hosting
Windows Apache MySQL PHP Radoslav Georgiev Telerik Corporation
Security Issues and Challenges in Cloud Computing
 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) ‏
What is it? –Large Web sites that support commercial use cannot be written by hand What you’re going to learn –How a Web server and a database can be used.
+ 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.
SSL From Your Smartphone Support for Android Smartphones /
APACHE SERVER By Innovationframes.com »
Project Implementation for COSC 5050 Distributed Database Applications Lab1.
SEEM4570: XAMPP, Eclipse, Summary of Html Kangfei Zhao Room 711,ERB
SYST Web Technologies SYST Web Technologies Installing a Web Server (XAMPP)
Linux Operations and Administration
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.
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.
About Dynamic Sites (Front End / Back End Implementations) by Janssen & Associates Affordable Website Solutions for Individuals and Small Businesses.
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.
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) ‏
Apache with SSL and php Apache with ssl support should be the basic platform for providing web services... There are several different implementations.
Configuring and Troubleshooting Identity and Access Solutions with Windows Server® 2008 Active Directory®
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)
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.
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
Apache web server Quick overview.
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 Servers (IIS and Apache)
Web Application Development Using PHP
Presentation transcript:

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" (/etc/rc.conf) /usr/local/etc/rc.d/apache22 start  MySQL5.5 (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 (20%)  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%)  Redirect (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 Apache – Redirect  You can use mod_rewrite mod_alias  Reference

Computer Center, CS, NCTU 9 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 10 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 11 MySQL – phpMyAdmin(2/2)  Create another user with limited privilege

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

Computer Center, CS, NCTU 13 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(20%)

Computer Center, CS, NCTU 14 Requirement(1/3)  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 15 Requirement(2/3)  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. Only *.* can access it But * can’t access it 

Computer Center, CS, NCTU 16 Requirement(3/3)  Redirect to / / But will not redirect.

Computer Center, CS, NCTU 17 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 18 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. Let can run with owner sysadm ( system(“/usr/bin/id”) )

Computer Center, CS, NCTU 19 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 20 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 21 Other Bonus  Other bonus you can try : fastcgi …  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.