TUTORIAL (1) Software installation Written by: Eng. Ahmed Mohamed Abdel Ghafar, Edited by Eng. Muhammed Hammad, Eng. Hamdy Soltan & Eng. Osama Talaat.

Slides:



Advertisements
Similar presentations
SAM 2007 v3.0 The Student Experience Including SAM Projects and Course Assess assignments.
Advertisements

Java Database Connectivity (JDBC). 2/24 JDBC (Java DataBase Connectivity) - provides access to relational database systems JDBC is a vendor independent.
Single Search By Rakphao Theppan, librarian Searching Online Resources.
Choose a category: Install Episys Install Accessories Synergent Confidential Episys Version Synergent 2008Download latest guides from:
CS115 HOW TO INSTALL THE JAVA DEVELOPMENT KIT (JDK)
XMAS installation instructions Windows Version: 1.0 4/22/2008.
This is your desktop. Open a browser and Click on this link.
Programming for the Web Assignment 1 Help Mark Johnson.
Discovering SQL all rights reserved (c) 2010 agilitator.com INSTALLING MySQL 5.1 Community Server.
Sara SartoliAkbar Siami Namin NSF-SFS workshop July 14-18, 2014.
Computer Science 101 Web Access to Databases Overview of Web Access to Databases.
MIS2502: Data Analytics MySQL and SQL Workbench David Schuff
Dynamic Web site With PHP and MySQL. MySQL The combination of MySQL database and PHP scripting language is optimum for building dynamic websites. MySQL.
NetBeans IDE Downloading and Installation Guide. Downloading NetBeans IDE Installation Setup.
ECE356 – Database Systems Lab 1 – Building a Web Project with NetBeans Tiuley Alguindigue Lab Instructor – University of Waterloo, E & CE Dept. Fall 2013.
SERVLETS.
WebServer & Tomcat By B. Venkateswarlu M.Tech Assoc Prof IT(Dept) Newton’s Institute of Engineering.
SEEM4570: XAMPP, Eclipse, Summary of Html Kangfei Zhao Room 711,ERB
Mozilla Thunderbird Roderick Bautista Cheryl Knott Gyeong Lee Lee Raynes Kelly Santos.
VMWare Workstation Installation. Starting Vmware Workstation Go to the start menu and start the VMware Workstation program. *Note: The following instructions.
JSP and Servlets Lecture notes by Theodoros Anagnostopoulos.
By: Ahmed Mirza December 3, 2009 EN393. Introduction Antivirus software is a computer application that detects, prevents and removes malicious software,
E-Commerce LAB#1 Samia alblwi1E-Commerce ( IS412) 2011.
Microsoft Windows 2003 Server. Client/Server Environment Many client computers connect to a server.
CSCI 6962: Server-side Design and Programming
A Guide to SQL, Eighth Edition Chapter Three Creating Tables.
Session 5: Working with MySQL iNET Academy Open Source Web Development.
© Copyright by Deitel & Associates, Inc. and Pearson Education Inc. All Rights Reserved. 1 Outline 29.1 Multi-Tier Architecture 29.2 Web Servers.
Tutorial 11 Installing, Updating, and Configuring Software
Installing the SAFARIODBC.EXE For use with Excel May 3, 2002.
IT 211 Project Integration and Deployment Lab #11.
CS441 CURRENT TOPICS IN PROGRAMMING LANGUAGES LECTURE 5_1 George Koutsogiannakis/ Summer
Targeted Training, LLC. APPLYING STYLES DOWNLOAD FREE TRIAL OF ADOBE CONTRIBUTE ADOBE CONTRIBUTE CONNECTION WIZARD ENTERING EDIT MODE WEB PUBLISHING PROCESS.
Active Server Pages ASP is Microsoft’s server-side script engine for dynamically-generated web pages. Most common language used is VBScript. If you use.
Open Internet Explorer Go to: my.ccsd.net Type YOUR InterAct username and password. Then Submit Query.
Installing and Using Active Directory Written by Marc Zacharko.
Fall 2005 Using FrontPage to Enhance Blackboard - Darek Sady1 Using FrontPage to Enhance Blackboard 1.Introduction 2.Starting FrontPage 3.Creating Documents.
Plug-in Development Environment. Session Outline Tools Installation Configuration New Project Basic Debugging Remote Debugging.
Installing and Using MySQL and phpMyAdmin. Last Time... Installing Apache server Installing PHP Running basic PHP scripts on the server Not necessary.
Servlets Database Access. Agenda:  Setup Java Environment  Install Database  Install Database Drivers  Create Table and add records  Accessing a.
ISYS 475 Project: Customizing a Zen Cart E-Commerce Site.
Downloading and Installing Autodesk Revit 2016
Present :Arezoo Mollahasani. Step 1  Define your server connection Open MySQL WorkBench and click New Server Instance on the right of the window.
Moodle with Style Integrating new technologies to empower learning and transform leadership.
Downloading and Installing Autodesk Inventor Professional 2015 This is a 4 step process 1.Register with the Autodesk Student Community 2.Downloading the.
Tour Overview Introduction Collage Basics Collage Basics (Templates and Tools) Computer Configuration Bookmark Collage Getting Started Tour Collage Terminology.
1 Introduction to Web Applications & APIs. 2 Agenda  Architecture of Web Applications Three layer architecture  Web Server (Tomcat) Installation Data.
Creating a simple database This shows you how to set up a database using PHPMyAdmin (installed with WAMP)
Installing SAS 1. Requirements If you do not have an old copy of SAS installed on your computer, go directly to Slide 6. Make sure you have uninstalled.
Lecturer : 이선아  APM  Apache  PHP  MySQL.
Database Access Using JDBC BCIS 3680 Enterprise Programming.
Setting up Dreamweaver to use your local WAMP testing Server
Configuration Web Server Tomcat - Install JDK Install Tom cat Configure Tom cat for running Servlet C:\Program Files\Apache Software Foundation\Tomcat.
Steps to Install VirtueMart 1. Setup Database 2. Download VirtueMart 3. Setup VirtueMart 4. Test installation Prerequisites: 1. XAMPP installation complete.
By Rina Juliana ; Meryan Itoanna ; Riska Nurmalia CREATE A WEBSITE BY OFFLINE.
1 Download current version of Tomcat from: g/tomcat/ g/tomcat/ Install it in: C:\Program Files\Apache.
MYSQL AND MYSQL WORKBENCH MIS2502 Data Analytics.
Settings MySQL Database and JDBC configuration Instructor: Sergey Goldman.
Software-Projekt 2008 Seminarvortrag“Short tutorial of MySql“ Wei Chen Verena Honsel.
CACI Proprietary Information | Date 1 PD² SR13 Client Upgrade Name: Semarria Rosemond Title: Systems Analyst, Lead Date: December 8, 2011.
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.
Joomla Awdhesh Kumar Singsys Pte Ltd. What is Joomla? Joomla is an award-winning content management system (CMS), which enables you to build Web sites.
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.
Downloading and Installing GRASP-AF Workshop Ian Robson Information Analyst, North of England Cardiovascular Network.
COM621: Advanced Interactive Web Development Lecture 10 PHP and MySQL.
Database Programming Basic JDBC Programming Concepts.
Labs: Create, deploy and test a simple web service
Apache Tomcat & Quick Tutorial
SEEM4570 Tutorial 07: Filezilla and PHP
MySQL and PHPMyAdmin 1.
Presentation transcript:

TUTORIAL (1) Software installation Written by: Eng. Ahmed Mohamed Abdel Ghafar, Edited by Eng. Muhammed Hammad, Eng. Hamdy Soltan & Eng. Osama Talaat

DOWNLOAD SOFTWARE Click any picture to go to download link … MySQL InstallerApache TomcatJava JDK If you have x64 processor architecture in your computer, download both the x86 & x64 versions of the JDK. Download MySQL Connector/JDownload MySQL Connector/J (platform independent).

MYSQL SERVER Install MySQL Products

MYSQL SERVER Accept the licence

MYSQL SERVER Do not check for updates

MYSQL SERVER Choose the full setup

MYSQL SERVER You must be connected to the internet to download the missed component

MYSQL SERVER The items to be installed

MYSQL SERVER Configure MySQL Server

MYSQL SERVER Configure MySQL Server

MYSQL SERVER Set the password to: root

MYSQL SERVER Configure MySQL Server

MYSQL SERVER Samples & Examples

MYSQL SERVER Samples & Examples

MYSQL SERVER Completed …

MYSQL SERVER MySQL Workbech

INSTALL JAVA JDK If you have x64 processor architecture in your computer, install both the x86 & then x64 versions of the JDK.

APACHE TOMCAT

Set the username and password to: root

APACHE TOMCAT

 Check that apache is running correctly, open this link:  A similar page like this should appear  Done !!!

RUN APACHE TOMCAT SERVICE AT STARTUP Control Panel >> Administrative tools >> Services

RUN APACHE TOMCAT SERVICE AT STARTUP Startup type: Automatic

FIRST JSP PAGE  Make a new text document in your desktop.  Copy the following code and paste it in the text document: Non Official page Faculty of Engineering; Computer and Systems Dept.

FIRST JSP PAGE  Rename the text file as faculty.jsp  Navigate to C:\Program Files\Apache Software Foundation\Tomcat 7.0\webapps  Make a new folder and rename it faculty.  Copy the text file to this folder.  If you are running windows 7 you must be an administrator and you may have to make the text file at any other location and then pasting it in the “faculty” folder.  Go to your browser:  The following page should appear:

BUILDING A TEST DATABASE Open MySQL Workbench, Database Menu >> Query Database

BUILDING A TEST DATABASE The localhost with Port Number: 3306, username: root & password: root

BUILDING A TEST DATABASE Click this button to create a new database schema

BUILDING A TEST DATABASE Name it faculty and click Apply

BUILDING A TEST DATABASE Apply

BUILDING A TEST DATABASE Finish

BUILDING A TEST DATABASE The new empty database is created and listed in the left

BUILDING A TEST DATABASE Name it students, and create new columns with the names id, FirstName & LastNames then click Apply, Apply then Finish

BUILDING A TEST DATABASE Edit the table rows data

BUILDING A TEST DATABASE Enter any data correspond to the field names,then click Apply, Apply and Finish

INSTALL MYSQL CONNECTOR/J  extract MySQL Connector/J you downloaded.  Copy the file named: “mysql-connector-java-xxxx-bin”  Paste it in C:\Program Files\Apache Software Foundation\Tomcat 7.0\lib.

TESTING APACHE TOMCAT AND MYSQL TOGETHER  Make a new text document in your desktop.  Copy the following code and paste it in the text document: <% String connectionURL = "jdbc:mysql://localhost:3306/faculty?user=root;password=root"; Connection connection = null; Statement statement = null; ResultSet rs = null; %> <%

TESTING APACHE TOMCAT AND MYSQL TOGETHER try { Class.forName("com.mysql.jdbc.Driver").newInstance(); connection = DriverManager.getConnection(connectionURL, "root", "root"); statement = connection.createStatement(); rs = statement.executeQuery("SELECT * FROM students"); while (rs.next()) { out.println(rs.getInt("id")+rs.getString("FirstName")+rs.getString("LastName")+rs.getString(" ")+" "); } rs.close(); } catch(Exception e) { System.err.println("Exception: " + e.getMessage()); } finally { try { if(connection != null) connection.close(); } catch(SQLException e) {} } %>

TESTING APACHE TOMCAT AND MYSQL TOGETHER  Rename the text file as test.jsp  Navigate to C:\Program Files\Apache Software Foundation\Tomcat 7.0\webapps\ROOT  Copy the text file to this folder.  RESTART YOUR COMPUTER  Go to your browser and type in address Bar:  The database entries you have entered before must be displayed in the browser.

DONE!! CONGRATULATIONS