Installation of Apache, PHP & MySQL Tutor: Zhang lidan Office: 312 Chow Yei Ching

Slides:



Advertisements
Similar presentations
MySQL Installation Guide. MySQL Downloading MySQL Installer.
Advertisements

Objectives Overview Define an operating system
Chapter Apache Installation on Linux. Acknowledgement The contribution made by Darrin Morison is acknowledged.
PHP Programming with MySQL Slide 2-1 CHAPTER 2 Getting Started with PHP.
1 Configuring Web services (Week 15, Monday 4/17/2006) © Abdou Illia, Spring 2006.
Lesson 15 – INSTALL AND SET UP NETWARE 5.1. Understanding NetWare 5.1 Preparing for installation Installing NetWare 5.1 Configuring NetWare 5.1 client.
Network+ Guide to Networks, Fourth Edition Chapter 10 Netware-Based Networking.
Chapter Apache Installation in Linux- Mandrake. Acknowledgment The following information has been obtained directly from
XMAS installation instructions Windows Version: 1.0 4/22/2008.
Website Development & Management Getting Ready for the Server-Side CIT Fall Instructor: John Seydel, Ph.D.
Lab 03 Windows Operating Systems (Cont.). PYP002 Preparatory Computer ScienceWindows Operating System2 Objectives Develop a good understanding of 1. The.
Hands-On Microsoft Windows Server 2003 Chapter 2 Installing Windows Server 2003, Standard Edition.
Module 6 Windows 2000 Professional 6.1 Installation 6.2 Administration/User Interface 6.3 User Accounts 6.4 Managing the File System 6.5 Services.
Discovering SQL all rights reserved (c) 2010 agilitator.com INSTALLING MySQL 5.1 Community Server.
Apache : Installation, Configuration, Basic Security Presented by, Sandeep K Thopucherela, ECE Department.
MZ790 Print Driver and RINC Software Install and Setup These instructions are to assist you in installation and setup of the MZ790 Print Driver and RINC.
Dynamic Web site With PHP and MySQL. MySQL The combination of MySQL database and PHP scripting language is optimum for building dynamic websites. MySQL.
Module 2: Planning to Install SQL Server. Overview Hardware Installation Considerations SQL Server 2000 Editions Software Installation Considerations.
1 Module 2 Installing Windows NT. 2  Overview Preparing for Installation Installing Windows NT Performing a Server-based Installation Troubleshooting.
TUTORIAL (1) Software installation Written by: Eng. Ahmed Mohamed Abdel Ghafar, Edited by Eng. Muhammed Hammad, Eng. Hamdy Soltan & Eng. Osama Talaat.
SEEM4570: XAMPP, Eclipse, Summary of Html Kangfei Zhao Room 711,ERB
Installing Windows Vista Lesson 2. Skills Matrix Technology SkillObjective DomainObjective # Performing a Clean Installation Set up Windows Vista as the.
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.
Hosted Exchange The purpose of this Startup Guide is to familiarize you with ExchangeDefender's Exchange and SharePoint Hosting. ExchangeDefender.
© 2008 The McGraw-Hill Companies, Inc. All rights reserved. M I C R O S O F T ® Preparing for Electronic Distribution Lesson 14.
Best Practices in Moodle Administration Best Practices in Moodle Administration A variety of topics from technical to practical Jonathan Moore Vice President.
Introduction to HP LoadRunner Getting Familiar with LoadRunner >>>>>>>>>>>>>>>>>>>>>>
Session 5: Working with MySQL iNET Academy Open Source Web Development.
Back to content Final Presentation Mr. Phay Sok Thea, class “2B”, group 3, Networking Topic: Mail Client “Outlook Express” *At the end of the presentation.
Tutorial 11 Installing, Updating, and Configuring Software
Installing the SAFARIODBC.EXE For use with Excel May 3, 2002.
1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 3 v3.0 Module 6 Switch Configuration.
Getting Started with Application Software
CHAPTER NT Installation Screens. Chapter Objectives Explain the installation in detail Focus on the three stages of installation Use screen images to.
WaveMaker Visual AJAX Studio 4.0 Training Installation.
Explain the purpose of an operating system
Apache, MySQL and PHP Installation and Configuration Chapter 3 PHP Installation and Configuration.
Installing and Using Active Directory Written by Marc Zacharko.
FTP Server and FTP Commands By Nanda Ganesan, Ph.D. © Nanda Ganesan, All Rights Reserved.
Chapter 13 Users, Groups Profiles and Policies. Learning Objectives Understand Windows XP Professional user accounts Understand the different types of.
Using OUI to install Oracle9i Release 2 on an OpenVMS System.
Computer Emergency Notification System (CENS)
Apache, MySQL and PHP Installation and Configuration Chapter 1 Apache Installation and Configuration.
1 Session 1: Introduction to PHP & MySQL iNET Academy Open Source Web Development.
Apache, MySQL and PHP Installation and Configuration Chapter 2 MySQL Installation and Configuration.
IS493 INFORMATION SECURITY TUTORIAL # 1 (S ) ASHRAF YOUSSEF.
WAMP Server Installatin Shiyun Wen. WAMP Server Installation  WAMP Server is an integrated installation of Apache, MySQL, and PHP for Windows. Following.
PART 2 INTRODUCTION TO DYNAMIC WEB CONTENT AND PHP.
What is MySQL? MySQL is a relational database management system (RDBMS) based on SQL (Structured Query Language). First released in January, Many.
2007 TAX YEARERO TRAINING - MODULE 61 ERO (Transmitter) Training Module 6 Federal and State Installation and Updates.
Chapter 9 Operating Systems Discovering Computers Technology in a World of Computers, Mobile Devices, and the Internet.
Configuring and Deploying Web Applications Lesson 7.
CHAPTER Windows Server Management. Chapter Objectives Give an overview of the Server Manager Provide details of accessing the Server Manager Explain the.
Virtual Machines Module 2. Objectives Define virtual machine Define common terminology Identify advantages and disadvantages Determine what software is.
1 BCS 4 th Semester. Step 1: Download SQL Server 2005 Express Edition Version Feature SQL Server 2005 Express Edition SP1 SQL Server 2005 Express Edition.
INTERNET APPLICATIONS CPIT405 Install a web server and analyze packets.
CACI Proprietary Information | Date 1 PD² SR13 Client Upgrade Name: Semarria Rosemond Title: Systems Analyst, Lead Date: December 8, 2011.
CACI Proprietary Information | Date 1 PD² v4.2 Increment 2 SR13 and FPDS Engine v3.5 Database Upgrade Name: Semarria Rosemond Title: Systems Analyst, Lead.
Proctor Caching Overview. 2 Proctor Caching Diagram.
1.Switch on the computer and wait for loading. 2.Select the Windows 7 OS at the end of the list. 3.Click on the link ‘Administrator’ 4.Enter the administrator.
Installing and Configuring Moodle. Download Download latest Windows Install package from Moodle.orgMoodle.org.
1.Switch on the computer and wait for loading. 2.Select the Windows 7 OS at the end of the list. 3.Click on the link ‘Administrator’ 4.Enter the administrator.
9 Copyright © 2004, Oracle. All rights reserved. Getting Started with Oracle Migration Workbench.
Downloading and Installing GRASP-AF Workshop Ian Robson Information Analyst, North of England Cardiovascular Network.
DISCOVERING COMPUTERS 2018 Digital Technology, Data, and Devices
Creating an Oracle Database
Windows Operating Systems (Cont.)
HC Hyper-V Module GUI Portal VPS Templates Web Console
Configuring Internet-related services
Presentation transcript:

Installation of Apache, PHP & MySQL Tutor: Zhang lidan Office: 312 Chow Yei Ching

Assignment 1 Mark Standard 1. Correctness accurately describe the functionality to be delivered Meet the standards in Software engineering (terminologies…) Reasonable & feasible design 2. Unambiguous Clear; easy to be understood 3. Comprehensive detail functions and demands in your system Format You can adopt any format; make your report clear and comprehensive

Assignment Handin Choose one of the following two means: 1. Web Handin Login with your web-handin account and submit your program(s) to the correct course and assignment folder 2. Hardcopy Handin Assignment box B2, 3rd floor, CYC Building. Deadline: November 1, 2006

Outline In this tutorial, you will learn how to Install, configure & Test Apache Install, configure & Test PHP Install, configure & Test MySQL

Installation of Apache 1. Download the Apache HTTP Server The latest version is 2.2.3, download from Apache download page ( Windows: 3rd line: include source files, compile Apache source code 4th line: MSI installer package

Installation of Apache 2. After you download the installer, double-click on the file apache_2.2.3-win32-x86-no_ssl.msi start the installation process. You will get a welcome screen, as shown next:

Installation of Apache 3. the Apache license screen Select agree, click ”next”

Installation of Apache 4. asks you to provide basic information about your computer If your machine does not have a full network address, use localhost or as the server name

Installation of Apache 5. choose the type of installation Typical installation: not install headers and libraries. Don’t plan to compile your own modules Custom installation: Select whether to install header files or documentation, & the target installation directory

Installation of Apache 6. installation process

Installation of Apache 7. If everything goes well, it will present you with the final screen

Configuration of Apache Apache keeps all of its configuration information in files. Directories: Conf: main configuration file httpd.conf Htdocs: hold your web server Httpd.conf 1. Directives : configure specific settings of Apache, such as authorization, performance, and network parameters 2. Containers: specify the context to which those settings refer.

Test of Apache Server Open the apache server programs->Apache HTTP Server >Control Apache Server->Start If everything goes well, you can access Apache using a browser. The default installation page will be displayed

Installation of PHP 1. Download PHP package( ) Be compatible with apache 2.2.x, download version of (5.2.x) PECL extension: support more extensions

Installation of PHP 2. Unzip the download PHP file to installation directory (php5.2-win zip) to “c:\PHP5” 3. Extract the PECL extension file to “c:\PHP5\ext\”. PECL is a repository for PHP Extensions, providing a directory of all known extensions and hosting facilities for downloading and development of PHP extensions. E.g. support C++, image processing …

Installation of PHP 4. Copy the dll file that will be used by the system in explaining and compiling the php files. 1. Copy the php5ts.dll from “c:\PHP5” to “c:\windows”;(or “c:\winnt” in windows 2000 OS) 2. Copy the following dll files from “c:\PHP5” to “c:\windows\system32” fdftk.dll fribidi.dll gds32.dll libeay32.dll libmhash.dll libmysql.dll ntwdblib.dll yaz.dll

Installation of PHP 5. Copy php.ini-dist file from “c:\php5” to “c:\windows”; and rename this file as “php.ini”. Edit this file using any edit tools, like Notepad. Locate the lines of ; Directory in which the loadable extensions (modules) reside. extension_dir = "./" Modify the 2nd line to extension_dir = "c:\PHP5\ext" Save and close the file

Installation of PHP 6. Edit Apache configuration file to make the server can distinguish and use the correct compiler to PHP files. 1. Open httpd.conf: Locate DirectoryIndex index.html Add php default page, normally as index.php DirectoryIndex index.html index.php 2. In order to make Apache distinguish php and its corresponding extensions, Add the following 2 lines: AddType application/x-httpd-php.php AddType application/x-httpd-php-source.phps 3. Finally, the server should load the php module when it starts. So, add this line LoadModule php5_module c:\PHP5\php5apache2_2.dll 4. OK, save the httpd.conf file, and restart Apache server.

Test of Apache & PHP After the above setup, we can test whether the Apache server can distinguish and correctly compile the php file. We can write a simple php file as: <?php phpinfo(); ?> Save as “test.php” into the server root directory.....\Apache 2.2\htdocs (default) Then open the browser, and type the address: If the php is installed correctly, you will see the following webpage:

Test of Apache & PHP

Installation of MySQL 1. Download MySQL setup file Current steady version:

Installation of MySQL 2. After download, double click(mysql-essential win31.msi) Welcome screen

Installation of MySQL 3. Select setup type

Installation of MySQL 4. Confirmation

Installation of MySQL 5. sign up After registration, you can access to post in the MySQL forums at forums.mysql.com along with the ability to report bugs at bugs.mysql.com and subscribe newsletter forums.mysql.com bugs.mysql.com

Installation of MySQL 6. Complete installation 7. start “Configuration the MySQL Server”

Configuration of MySQL 7.0 Welcome screen Launch the …\bin\MySQLInstanceConfig.exe Create a custom “my.ini” file by asking a series of questions

Configuration of MySQL 7.1 select a Maintenance Option type Detects a existing “my.ini”, you have the option of either reconfiguring your existing server, or removing the server instance by deleting the “my.ini” file and stopping and removing the MySQL service

Configuration of MySQL 7.2 Choose a Configuration Type Standard: new users, quickly without having to make many decisions about server configuration. may be incompatible with systems with an existing MySQL installation), not recommend Detailed Configuration

Configuration of MySQL 7.3 Server type (memory, disk and processor usage) Developer Machine :a typical desktop workstation, MySQL is only for personal use (minimal system resources) Server Machine :running alongside other server applications, such as FTP, and Web servers (a moderate portion of the system resources) Dedicated MySQL Server Machine :run only the MySQL server (all available system resources)

Configuration of MySQL 7.4 Select Database Usage indicate the storage engines used when creating MySQL tables. Determine whether the InnoDB storage engine is available and what percentage of server resources to it

Configuration of MySQL 7.5 InnoDB tablespace setting Select a different location for InnoDB talbespace files than the MySQL server data directory (higher capacity or higher performance storage device available, e.g. RAID storage system)

Configuration of MySQL 7.6 Concurrent connections Prevent the server from running out of resources, limit the number Decision Support :Maximum number of connections is set at 100, with an average of 20 concurrent connections assumed Online Transaction Processing :maximum number is 500 Manual settings:

Configuration of MySQL 7.7 Networking and Strict Mode options Enable or disable TCP/IP networking, and to configurate the port number to connect to the MySQL server Strict mode: If you applications that rely on MySQL’s old “forgiving” behavior

Configuration of MySQL 7.8 character set Select “Best Support For Multilingualism”(UTF8 store different characters )

Configuration of MySQL 7.9 Service options Start automatically during system startup, even restarted automatically by Windows in service failure 。 Default name: MySQL, you can change the name, or uncheck the installation

Configuration of MySQL 7.10 security option Set a root password for your MySQL Do not wish to set a root password, uncheck “Modify security settings” Create an anonymous user account, check the box

Configuration of MySQL 7.11 Confirmation, click Execute

Configuration of MySQL 7.12 Finish If no problem, service started

Test of MySQL mysqlshow -u root –p // show the databases mysqlshow mysql -u root –p //show tables in mysql

Useful toolset MySQL GUI Tools Bundle for 5.0 Provide a suite of desktop applications for the administration of MySQL instances and for building and manipulating the data within MySQL databases ( MySQL administrator 1.2 Perform administrative operations, such as configuring, monitoring and starting/stopping a MySQL server, managing users and connections, backups… MySQL Query Browser 1.2 Graphical tool for creating, executing and optimizing queries in a graphical environment MySQL Migration Toolkit 1.1 Graphical tool for migrating schema and data from various relational database systems to MySQL MySQL Workbench 1.1 Schema desin application that enables users to graphically design and modify tables and other database objects