Вы находитесь на странице: 1из 20

Curriculum code: ACCPI11-6608-ACE Centre Name: ACE-HCMC-3-FPT Address:131 No Trang Long street , Ward 12 , BinhThanh district, HCMC, VN

Sales and Purchase Management System for Mobile Shop


Installation Guide
Faculty: Batch No.: Group No.: Students: 1. 2. 3. 4. 6. Tran PhuocSinh F3-11-1208-S1 3 Fullname NGUYEN NGOC VAN PHONG NGUYEN THANH NHAN CAO DUY TUAN TRAN MINH TRUNG LE TUAN AN Roll No. STUDENT683201 STUDENT684347 STUDENT681982 STUDENT683938 STUDENT556489

April 2013

Sales and Purchase Management System for Mobile Shop

TABLE OF CONTENTS
1. System Requirements ............................................................................. 3 1.1. Hardware Requirements ....................................................................... 3 1.2. Software Requirements ......................................................................... 3 2. Setup Microsoft SQL Server 2008......................................................... 4 2.1. Open SQL Server Configuration Manager ........................................... 4 2.2. Configure TCP/IP ................................................................................. 5 3. Setup MobileShop_System Data base .................................................. 9 3.1. Open MS SQL Server 2008 Management Studio ................................. 9 3.2. Open MobileShop_System.sql file to setup database ......................... 10 4. Open ATM System application & Test connection ......................... 14 4.1. Configure Database Connection ......................................................... 14 4.2. Admin Login ....................................................................................... 19

ACE-HCMC-3-FPT - F3-11-1208-S1 - Group 3

Sales and Purchase Management System for Mobile Shop

1.

System Requirements

1.1. Hardware Requirements


A minimum computer system that will help you access all the tools in thecourses is a Core Duo or better. 1G of RAM or better.

1.2. Software Requirements


Java Runtime Environment (JRE) 6 MS SQL Server 2008 Window XP or higher JDK 6 or better Netbeans6.9 or better Java SE 6 or better MS SQL Server 2008 Technology

Development Software

Sqljdbc4.jar

ACE-HCMC-3-FPT - F3-11-1208-S1 - Group 3

Sales and Purchase Management System for Mobile Shop

2.

Setup Microsoft SQL Server 2008

2.1. Open SQL Server Configuration Manager


Start > All programs > Microsoft SQL Server 2008> Configuration Tools > SQL Server Configuration Manager

ACE-HCMC-3-FPT - F3-11-1208-S1 - Group 3

Sales and Purchase Management System for Mobile Shop

2.2. Configure TCP/IP a. Set TCP/IP


-Right Click TCP/IP > Properties (in Protocol for MSSQLSERVER)

ACE-HCMC-3-FPT - F3-11-1208-S1 - Group 3

Sales and Purchase Management System for Mobile Shop

- Select IP Addresses tab

- On IP1, set value for IP Address and TCP Port: - IP Address: 127.0.0.1 - TCP Port: 1433 - Click Ok button

ACE-HCMC-3-FPT - F3-11-1208-S1 - Group 3

Sales and Purchase Management System for Mobile Shop

b. Enable TCP/IP
- Right Click TCP/IP > Enable

- Select Ok

ACE-HCMC-3-FPT - F3-11-1208-S1 - Group 3

Sales and Purchase Management System for Mobile Shop

c. Restart SQL Server 2008 to apply change

- Select SQL Server 2008 Services > Right click SQL Server (MSSQLSERVER) Restart

ACE-HCMC-3-FPT - F3-11-1208-S1 - Group 3

Sales and Purchase Management System for Mobile Shop

3.

Setup MobileShop_System Database

3.1. Open MS SQL Server 2008 Management Studio


Start > All programs > Microsoft SQL Server 2008> SQL Server

Management Studio

- Input your Login name and password > Click Connect

ACE-HCMC-3-FPT - F3-11-1208-S1 - Group 3

Sales and Purchase Management System for Mobile Shop

3.2. Attach database to server

ACE-HCMC-3-FPT - F3-11-1208-S1 - Group 3

10

Sales and Purchase Management System for Mobile Shop

Click add button

ACE-HCMC-3-FPT - F3-11-1208-S1 - Group 3

11

Sales and Purchase Management System for Mobile Shop

Select database and click OK

ACE-HCMC-3-FPT - F3-11-1208-S1 - Group 3

12

Sales and Purchase Management System for Mobile Shop

Click ok

ACE-HCMC-3-FPT - F3-11-1208-S1 - Group 3

13

Sales and Purchase Management System for Mobile Shop

4.

Open ATM System application & Test connection


- Open MobileShop_System: two ways to run MobileShop_System - Run directly: Double click fileMobileShop_System.jar in dist folder inMobileShop_Systemfolder. - Run MobileShop_System project in Netbeans 6.9.1 (for developer): + Open Netbeans 6.9.1 > Menu File > Open Project > Select MobileShop_SystemprojectinSource_Codefolder in Group1_ATM_System folder. +Press F6 on keyboard to run MobileShop_Systemproject. First Screen appear:

4.1. Open ATM System application & Test connection

ACE-HCMC-3-FPT - F3-11-1208-S1 - Group 3

14

Sales and Purchase Management System for Mobile Shop

- Select Configure Database

ACE-HCMC-3-FPT - F3-11-1208-S1 - Group 3

15

Sales and Purchase Management System for Mobile Shop

No 1 2 3 4

Name Server Name Port number connect Name of database Name login to MS SQL Server

Description Name of Server, default value is localhost Port number connect, default value is 1433 Name of database, , default value is MobileShop_System Default value is sa

Password login to MS SQL Server

Default value is blank

Test & Save button

Test connection information and save to connection.properties file if test successfully.

Close

Close this form

- Input Server name, port, and database name (if need be). - Input your user name and password connect to MS SQL Server. - Click Test & Save button.

ACE-HCMC-3-FPT - F3-11-1208-S1 - Group 3

16

Sales and Purchase Management System for Mobile Shop

- If connect information is valid:

ACE-HCMC-3-FPT - F3-11-1208-S1 - Group 3

17

Sales and Purchase Management System for Mobile Shop

- Save connection information automatically :

ACE-HCMC-3-FPT - F3-11-1208-S1 - Group 3

18

Sales and Purchase Management System for Mobile Shop

4.2. Admin Login

- In First Frame > Admin Login Admin username: AD001 Admin password: 123456 - Click Submit button to go to Mobile Shop System Administrator.

ACE-HCMC-3-FPT - F3-11-1208-S1 - Group 3

19

Sales and Purchase Management System for Mobile Shop

The Installation is successfully.

ACE-HCMC-3-FPT - F3-11-1208-S1 - Group 3

20

Вам также может понравиться