MySQL Tools fo r 5.0 - Setup WizardLicense A greem ent Please read the following license agreement carefully.. Chọn Next Ready to Install the Program The wizard IS ready to begin install
Trang 1Đ Ạ I H Ọ C Q U Ố C G I A H À N Ộ I
HƯỚNG DẪN CÀI ĐẶT VÀ s ử DUNG
T ê n đề tài: P h á t triển hệ t h ốn g t h ôn g tin hình ảnh ba chiểu hỗ trọ' chẩn
Trang 2ĐẠI HỌ C Q U Õ C GIA HA NỌI
I ĐAI HOC QUOC GIA HA NOI '
! [RUNG TAM THÒNG TIN THƯ VIỆN
C C Í Í C C C C M
Trang 3Mục lục
1: File cài d ặ t 3
2: Cài d ặ t 3
2.1 c 'ài đặt cơ sớ cìừ liệu M ysqì 3
2.2 c 'ài đặt S e n 'e r 16
2.3 Cài đặt C lient 20
2.4 Cài đặt R i s 23
3: Hướng dẫn sử dụng phần m ề m 25
3.1 Sư dụng SERVER 25
3.2 Sứ dụnỉĩ R is 26
3.3 Sir t/ịiiig Client 27
Trang 4H Ư Ớ N G D ẢN CÀI Đ Ặ T V À s ử D Ụ N G 1: File cài đặt
ĩru y cộp vào địa chi sau đế tải file cài đặt : 112.137.141,9\\ITI.P acs
Ta được các file sau (hình bên d ư ới) tiến hành 2 Íải nén và bắt dầu cài đặt
2: Cài đặt
2 1 Cài đặt cơ sơ d ữ liệu M vsql
- Chạy file ni ys ql - ins ta ll er -e omnu mi ty- 5 6 22 0 msi
MySQL Installer
To proceed you must accept the Oracle Software License Term
Choosing i Setup Type
Trang 5A rc h ite c tu re X64
S o m e p ro d u c ts has p a th c o n flic ts
Chọn vị trí cài đặt tại Install D irectory và v ị trí lưu dừ liệu Data D irectory và nhấn
Trang 6The following products have failing requirements The installer will attempt to resolve some
cf this automatically Requirements marked as manudl cannot be resolved automatically Click cn those items tc try and resolve them manually.
Fcr Product MySQL : or Excel 1 3.3 Ccnnec'c •Pythcn :3 4; 2
Requirement Visual StudiC Toois for Office 2010 is
P y th o n 5 4 IS n c : in s ta lle d
Nhấn Next để tiếp tục
You still h avefaillin g product requir
Ị products will not be installed or upc
ements, If you jraded, Is this 0
Yes
jroceed, those k?
No
M ột hộp thoại xuất hiện, nhấn Yes để chuyên santi bước tiêp theo
5
Trang 7Choosing a Setup Type,
~ I MySQL h o t I fie I 1 1.6 P e a á / to Insta ll
I MySQL fo r Visual S tu d io 1.2.3 R e a d /to Insta ll
I J MySQL Fa'C'iC 1.5.3 s M /S Q l u t i iit i R e a d /to Insta ll
f J C o n n e cto r ODBC 5.3.4 Ready to In sta ll
I C o n n e c to r /C - - 1.1.J P e a d , ’ O Insta ll [_ "J C o nn e cto r J 5.1.34 Read., to Insta ll
; * ! Connect O' K E ’ 6-9 5 F: sad / ! 0 I n s till
|~~~"| S a m p le : and E A 3 n* p I e 5 5 6.22 P s a d , to I f* c * 3 1 1
QL C o nn e cto r c 6 1.5 R e a d / to In sta ll
I D o t c ri'e n t a t io n 5.6.22 f;e 3d :o install
Click [Execute] to in s ta ll or u p d a te th e fo llo w in g packa ge s
^ Ị~ I M/SQL for Visual studio 1.2 3
& \ n M/SQL Fabric 1.3.3 & M ySQ L utiliti.
Trang 8iAtíM 'ấMt,’Ếẻ&ẳítÀíù 4á^»Us»ù'A’Ì««.W
vVe'll no.'.' wa I th r o u g h d c o n fig u r a tio n .-vizard f c r e ach o f th e f o llo w in g p ro d u c ts
i c u ca n c a n c e l at an;, p c m t if y o u w is h t c le a e th is .vizard w ith o u t c o n fig u r in g all th e
p ro d u c ts
MySQL Server 5.6.22 Ready to C o n fig u re
S am ples and Exam ples 5.6.22 Ready to C o n fig u re
Tại cửa sổ này ta thay đổi cổns tại Port Num ber nếu cổng mặc định "3306 đã được
sứ dụnu bởi phân mềm khác và nhấn Next đê tiêp tục
7
Trang 9< B ack N e x t > C a n ce l
Roct Account Password
Current Root Password NV.SQL Root P a :: word:
Type and Netyvoi'king ệjậ
Accounts and Roles
Apply Serve; Com.cjuratoi
‘ yỉtL’^ỉỉỉĩỉẾ é fí-ể Ế Ễ
W indows Service
p "] C o n fig u re M yS Q L Server as a W in d o w s S ervice
W in d o w s S ervice D e tails
P le a e 3 W ifid o v •, SeiMcf- m rv r H be u •:*'_! for th : MySQL Server moldncr: A uniqu
Windows Service Name: M/SQL56
M Start the MySQL Server at System Startup
R un W in d o w s S ervice as .
• ' Standard System Account
1 ' Custom User
Ở làn cài đặt đầu tiên ta nhập mật khẩu mặt định là "123456” rồi nhấn Next
mmmmmmmmmmmmgmam
— X
Tiếp tục nhấn Next
Trang 10A p p ly S erve! C o n fig u r a tio n
P ro d u c t MySQL S erver 5 6 2 2
S a m p le s and E xam p le s 5.6.22
Tiếp tục chọn Next
9
Trang 11S a m p le s 3 r d E xam ple s 5.6
S tatus :o n fig u r
C o nfig u ; 3*.ion C o m p le te
£ancel
Chọn Next và sau đó chọn Finish dể hoàn tất quá trình cài đặt
Tiếp theo cài đặt file m y s q l - g u i- t oo ls - 5 0- r l7 -w i n3 2 m s i
Welcome to the Setup WÌ7arrl fo r MySQI Tools
Trang 12MySQL Tools fo r 5.0 - Setup Wizard
License A greem ent
Please read the following license agreement carefully
It under the terms o f the GNU General P ublic License as published by
(at your option) any later version
but WITHOUT ANY WARRANTY; w ith o u t even the implied warranty of
M ERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE See theGNU General Public License for more details
(• ) I accept tine terms in the license agreement
o I do n ot accept the terms in the license agreement
Chọn i a cce pt the terms in the license a g r e e m e n t ” và nhấn Next để tiếp tục
D estination Folder
ị Click Next to install to this folder, or click Chanae to install to a different folder
I
I J' I Install MySQL Tools for 5,0 to;
I J C:'program Files (x36)V*1y5QLVv1y5QL Tools for 5 0 \ Change
Nhân C h a n g e (c ó thể bỏ qua) để chọn v ị trí cài đặt và nhấn N e x t để tiếp tục
12
Trang 13-'•Ul MySQL Took for 5,0 - Setup Wizard
Setup Type
Choose tine setup type that best suits your needs
Please select a setup type
ỹ f Ẹ j f cho ose which program features YOU w a n t installed and where they
n ? o ' 5 ? will be installed, Recommended for advanced users
Chọn Next
Ready to Install the Program
The wizard IS ready to begin installation
I f you want to review or change any o f your installation settings, click Back Click Cancel to exit the wizard
Current Settings:
Setup Type:
Complete
Destination Folder:
C ifro g ra m Piles (x36)\MySQLV^lySQL Tools for 5.0\
Chọn Install và sau đó chọn Finish đế kết thúc quá trình cài đặt
Trang 14( • ) C o m p le te
All program features will be installed, (Requires the most disk space,)
Custom
5 choose which program features you want installed and where they
will be installed, Recommended for advanced users
Chọn Next
Ready to Install the Program
Tile wizard IS ready to begin installation
I f you want to review or change any o f your installation settings, click Back Click Cancel to exit the wizard
Current Settings:
Setup Type:
Complete
Destination Folder:
C: program Files (x35) V'^lySQL’sMvSQL Tools for 5.0\
Chọn Install và sau đó chọn Finish để kết thúc quá trình cài đặt
13
Trang 151 iòp theo cài đặt file my s í |l - con ne ct or- ne t- 6 9 8 ms i
W elcom e to the M ySQL C o n n e cto r Net
6 9 8 Setup W izard
The Setup Wizard will install MySQL Connector Net 6.9.3 on your computer, Click N ext to continue or Cancel to exit the Setup Wizard,
CustomAllows users to choose which program features will be installed and where they will be installed Recommended for advanced users
CompleteAll program features will be installed Requires the most disk space
Chọn Co mpl e te rồ i chọn N ex t đợi quá trình tự động cài đặt hoàn thành rồi nhấn
Trang 16I ièp theo ta tiên hành import đũ' liệu cho mysql
1 im dên MySql Admi ni st ra to r và khỏi chạy
Port:
l ại đây ta nhập tài khoản mặt định của mysql là "root” và mật khẩu là “ 123456’
Lưu ý: chọn đúng cổng mà ta đã cài đặt tại ô Port rồi nhấn O k để tiếp tục
ì ■Wrr.inismtiW'
f.i» frill v t* Tnrh
Mj'SCl C'ltnt Vfi'.ion 5 1
Openi ng
H iid w iii 2i 'ntf I p.l PtnliumiKi C«J B?sc i 2.40GHz, 4.; GB RAM
ĩạ i cưa sô màn hình làm việc ta tìm đến mục Restore
15
Trang 17ĨẬ <
B " * " [t _ [ own I
n e j d frt* SQL fie* V Ca-xel
j Optn Ba<tup Flit I i'rfft KfU Ị '
Chọn Open B a ck up file và tiến hành chọn file cơ sở dữ liệu Mysql đã tải ở bước đầu Sau đó chọn Start Re stor e đợi cho đến khi quá trình restore hoàn tất
2.2Củi đặt Server
Giải nén file tải về ta được 3 thư mục sau
Trang 18Tiên hành cài đặt server
ìm dên tile setup.exe và khỏi chạy
SetUpPacsSeiver - InstallShield Wizard
i - .iStli J.
Cancel
W e lc o m e t o th e In s ta lls h ie ld w iz a r d f o r
S e tU p P a c s S e rv e r
■ : • The In sta llS h ie ld (R ) W iza rd will install S e tU p P a csS e rve r on yo u r
WARNING: This program IS protected by copyright law and international treaties
L L i_ i— L c X ế17
Trang 19The wizard IS ready to begin installation,
I f you want to review or change any o f your installation settings, dick Back Click Cancel to exit the wizard
Trang 20( họn Install dè cài dặt và dợi cho đến khi qua trìn h cài đật hoàn thành thì nhấn Finish
I ại máy server ta tru y cập vào thư mục C : \ P r o g r a m Files ( x8 6 ) \ I T I - V N U \
(\vindow s-64bit)
Dê tiên hành set quyên quản trị cho tài khoản n sư ời dùna như sau
Kích chuộc phải vào thư mục Se r ve r chon properties -> chọn security
Group or user names:
T i l ALL REsTRICTED A P p LỈCATION PACKA.GEs
i i ĩ CYCTCW
To change permissions, click Edit
Permissions for ALL
Edit
Deny
Modify Read ẳ execute List folder contents Read
For special permissions or advanced settings,
Chọn tài khoản người dù ng hiện tại trên w i n d o w s rồi c họn Edit
19
Trang 21Permissions tor berverr
Genera! Sharing Si Object name: C:\Fi Group or user names 1
ecuntyObject name c -Program Files ix36)\ITI-VNU\SGroup or user names:
i z CREATOR OWNER SYSTEM
ỉiỊ Administrators [LOSKERY-Administrators)
Permissions for Users
~ □ *
S e tu p W o rk s ta b o n r e q u ir e s th e fo llo w in g ite m s to b e in s ta lle d o n y o u r c o m p u te r Click
In s t a ll to b e g in in s ta llin g th e s e r e q u ire m e n ts
S ta tu s R e q u ire m e n t
P e n d in g M ic r o s o ft V isual C + + 2 0 1 5 R e d is tr ib u ta b le P a c k a g e (x6-4)
N ê u máy bạn c h ưa có Microsoft Visual C++ 2015 Redistributable Packege thì phần
m ê m sẽ yêu cầu bạn cài đặt thê m ta nhấn Install để tiến hành cài đặt
Trang 22■JfJ SetUpWorkstation - InstallShield Wizard
License A greem ent
Please read the following license agreement carefully
To add your own license te xt to this dialoq, specify your license aareement file in the Diõloa editor,
1, Navigate to the User In te rfa ce view
2, Select the LicenseAgreement dialog,
3, Choose to edit the dialog layout,
4, Once in the Dialog editor, select the M e m o ScrollableText control
After you build your release, your license text will be displayed in the License Agreement dialog
o I do not accept the terms in the license agreement
Chọn "I accept the terms in the license a g re eme n t” và nhấn Next đê tiếp tục
21
Trang 23Chon Next rồi chọn Install
In s ta llS h ie ld w iz a r d C o m p le te d
Chọn Finish để kết thúc quá trình cài đặt
1 ại máy client ta cũna tiên hành set quyền quản trị cho người dùng tươns tự như bước trên.
Trang 24P le a se re a d th e fo llo w in g lic e n s e a g re e m e n t c a r e fu lly
To a d d y o u r o w n lic e n s e t e x t to th is d ia lo g , s p e c ify y o u r lic e n s e a a r e e r n e n t file in th e D ia lo g
Trang 25SetupRis - InstallShịeld* Wizard
Custom er Info rm a tio n
Please enter your information
User Name:
r
Organization:
Installshield
Đ ợ i cho quá trình tự dộng cài đặt hoàn tất ta nhấn Finish để kết thúc
1 rên máy cài đặt ris ta cũng tiên hành set quyền cho người dùng tương tự bước trên Đên đây quá trình cài đặt đã hoàn tất, ta chuyển sana bước tiếp theo.
Trang 26T h u m ục ả n h ” chính là thư mục chứa ảnh để Server lấy ảnh về
• Cấu hình kết nối C S D L PACS
“ Đ ịa chỉ IP ” là địa chỉ của máy cài cơ sở dừ liệu mysql Nếu cài đặt mysql trên máy chủ thì địa chỉ ip này chính là “ lo ca lh ost” và “ C ổn g " chính là cổng được chọn lúc cài đặt mysql
“ C S D L " là tên của cơ sở dừ liệu trên mysql được sử dụng cho SERVER
Trang 27P le a s e r e a d t i l e fo llo w in g lic e n s e a g r e e m e n t c a r e fu lly
To a d d y o u r o w n lic e n s e t e x t to th is d ia lo a , s p e c if y y o u r lic e n s e a g r e e m e n t file in th e D ia lo q
Trang 28^ SetupRis - InstallShịeld Wizard XCustomer Inform ation
Please enter your information
User Name:
Organization:
Installshield
Chọn Next rồi chọn Install
Đ ợ i cho quá trình tự động cài đặt hoàn tất ta nhấn Finish để kết thúc
Trên máy cài đặt ris ta cũng tiến hành set quyền cho người dùne tương tự bước trên Đên đây quá trình cài đặt đã hoàn tất, ta chuyển sang bước tiếp theo.
24
Trang 29The InstallShield(R) Wizard will install SetupRis on your computer To continue, click Next.
WARNING: This program IS protected by copyriaht law and international treaties
P le a se re a d th e fo llo w in a lic e n s e a g r e e m e n t c a r e fu lly
To a d d y o u r o w n lic e n s e t e x t to th is d ia lo a , s p e c ify y o u r lic e n s e a g r e e m e n t file in th e D ia lo a
Trang 30ỷ i SetUpWorkstation - InstallShield Wizard
Please read tine following license agreement carefully,
To add your own license te x t to this dialoa, specify your license agreement file in the Dialoa editor
1 Navigate to the User In te rfa c e view
2 Select the LicenseAgreem ent dialog
4 Once in the Dialog editor, select the Memo ScrollableText control
After YOU build y o u r relea se, your license te x t will be displayed in the License Agreement dialoa
(•) I accept the terms in the license agreement
InstallShield
Chọn “I accept the t er ms in the license a g r e e m e n t ” và nhấn N e x t để tiếp tục
Trang 31Chọn Install đê cài đặt và đợi cho đòn khi qua trình cài đặt hoan thành thì nhấn Finish
- Tại máy server ta truy cộp vào thư mục C: \P rogr am Files (x86) \ỈTI-VNU\
(\vindow s-64bit)
Đê tiên hành set quyên quản trị cho tài khoản người dùng như sau
K ích chuộc phải vào thư mục Server c hon properties -> chọn security
t ® ALL RESTRICTED APPLICATION PACKAGES
£ & CREATOR OWNER
Permissions for ALL
Full control ModifyRead ẳ execute List folder content Read
Write
For special permissions or advanced settings,
C họ n tài k ho ản người dù ng hiện tại trên w i n d ow s rồi chọn E d i t