installation guide eproject mobile system
DESCRIPTION
Installation GuideTRANSCRIPT
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
April 2013
Faculty: Tran PhuocSinh
Batch No.: F3-11-1208-S1
Group No.: 3
Students: Fullname Roll No.
1. NGUYEN NGOC VAN PHONG STUDENT683201
2. NGUYEN THANH NHAN STUDENT684347
3. CAO DUY TUAN STUDENT681982
4. TRAN MINH TRUNG STUDENT683938
6. LE TUAN AN STUDENT556489
Sales and Purchase Management System for Mobile Shop
ACE-HCMC-3-FPT - F3-11-1208-S1 - Group 3
2
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
Sales and Purchase Management System for Mobile Shop
ACE-HCMC-3-FPT - F3-11-1208-S1 - Group 3
3
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
Development Software
JDK 6 or better
Netbeans6.9 or better
Java SE 6 or better
MS SQL Server 2008
Technology
Sqljdbc4.jar
Sales and Purchase Management System for Mobile Shop
ACE-HCMC-3-FPT - F3-11-1208-S1 - Group 3
4
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
Sales and Purchase Management System for Mobile Shop
ACE-HCMC-3-FPT - F3-11-1208-S1 - Group 3
5
2.2. Configure TCP/IP
a. Set TCP/IP
-Right Click TCP/IP > Properties (in Protocol for MSSQLSERVER)
Sales and Purchase Management System for Mobile Shop
ACE-HCMC-3-FPT - F3-11-1208-S1 - Group 3
6
- 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
Sales and Purchase Management System for Mobile Shop
ACE-HCMC-3-FPT - F3-11-1208-S1 - Group 3
7
b. Enable TCP/IP
- Right Click TCP/IP > Enable
- Select Ok
Sales and Purchase Management System for Mobile Shop
ACE-HCMC-3-FPT - F3-11-1208-S1 - Group 3
8
c. Restart SQL Server 2008 to apply change
- Select SQL Server 2008 Services > Right click SQL Server
(MSSQLSERVER)
Restart
Sales and Purchase Management System for Mobile Shop
ACE-HCMC-3-FPT - F3-11-1208-S1 - Group 3
9
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
Sales and Purchase Management System for Mobile Shop
ACE-HCMC-3-FPT - F3-11-1208-S1 - Group 3
10
3.2. Attach database to server
Sales and Purchase Management System for Mobile Shop
ACE-HCMC-3-FPT - F3-11-1208-S1 - Group 3
11
Click add button
Sales and Purchase Management System for Mobile Shop
ACE-HCMC-3-FPT - F3-11-1208-S1 - Group 3
12
Select database and click OK
Sales and Purchase Management System for Mobile Shop
ACE-HCMC-3-FPT - F3-11-1208-S1 - Group 3
13
Click ok
Sales and Purchase Management System for Mobile Shop
ACE-HCMC-3-FPT - F3-11-1208-S1 - Group 3
14
4. Open ATM System application & Test connection
4.1. 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:
Sales and Purchase Management System for Mobile Shop
ACE-HCMC-3-FPT - F3-11-1208-S1 - Group 3
15
- Select Configure Database
Sales and Purchase Management System for Mobile Shop
ACE-HCMC-3-FPT - F3-11-1208-S1 - Group 3
16
No Name Description
1 Server Name Name of Server, default value is
“localhost”
2 Port number connect Port number connect, default value
is “1433”
3 Name of database Name of database, , default value is
“MobileShop_System”
4 Name login to MS SQL
Server
Default value is “sa”
5 Password login to MS SQL
Server
Default value is blank
6 Test & Save button Test connection information and
save to
connection.properties file if test
successfully.
7 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.
Sales and Purchase Management System for Mobile Shop
ACE-HCMC-3-FPT - F3-11-1208-S1 - Group 3
17
- If connect information is valid:
Sales and Purchase Management System for Mobile Shop
ACE-HCMC-3-FPT - F3-11-1208-S1 - Group 3
18
- Save connection information automatically :
Sales and Purchase Management System for Mobile Shop
ACE-HCMC-3-FPT - F3-11-1208-S1 - Group 3
19
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.