Tuesday, November 20, 2012

Windows Server 2008 - Terminal Services

TERMINAL SERVICES:
WEB ACCESS and REMOTE APPLICATION
Bài viết được cung cấp bởi MCT Trần Thủy Hoàng

I. Mục đích:


Cấu hình Terminal Service hỗ trợ Web Access và chia sẻ Application


Bài lab bao gồm các bước:


1. Cài đặt Terminal Services


2. Tạo user và cấp quyền Remote Desktop cho user


3. Client kết nối vào Terminal Server bằng Remote Desktop Connection


4. Client kết nối vào Terminal Server bằng Web Access


5. Cấu hình Remote Application


6. Client kết nối Remote Application


7. Tạo file .MSI cho Remote Application


8. Client cài đặt file .MSI và kiểm tra



II. Chuẩn bị:


Bài lab bao gồm 2 máy:


- Máy Server: Windows Server 2008 (Máy Server có cài đặt MS Office 2007)


- Máy Client: Windows Vista hoặc Windows Server 2008



Cấu hình TCP/IP cho 2 máy như sau:

Máy Server: 192.168.10.14/24

Máy Client: 192.168.10.15/24


III. Thực hiện:


1. Cài đặt Terminal Services


- Tại máy Server, log on Domain Administrator password P@ssword

- Mở Server Manager từ Administrative Tools, right click Roles, chọn Add Roles


http://www.msopenlab.com/lab/ts/image001.jpg


- Trong cửa sổ Before You Begin, chọn Next

http://www.msopenlab.com/lab/ts/image002.jpg


- Trong cửa sổ Select Server Roles, đánh dấu chọn vào ô Terminal Services, chọn Next


http://www.msopenlab.com/lab/ts/image003.jpg

- Trong cửa sổ Terminal Services, chọn Next


http://www.msopenlab.com/lab/ts/image004.jpg

- Trong cửa sổ Select Server Roles, đánh dấu chọn vào ô Web Access


http://www.msopenlab.com/lab/ts/image005.jpg



- Trong hộp thoại Add Roles Wizard chọn Add Required Features

http://www.msopenlab.com/lab/ts/image006.jpg


- Trong cửa sổ Uninstall and Reinstall Applications for Compatibility chọn Next


http://www.msopenlab.com/lab/ts/image007.jpg



- Trong cửa sổ Specify Authentication Method for Terminal Server, chọn Do not require Network Level Authentication, chọn Next


http://www.msopenlab.com/lab/ts/image008.jpg


- Trong cửa sổ Specify Lisensing Mode, chọn Configure late, chọn Next

http://www.msopenlab.com/lab/ts/image009.jpg


- Trong cửa sổ Select User Groups Allowed Access To This Terminal Server, chọn Next


http://www.msopenlab.com/lab/ts/image010.jpg


- Trong cửa sổ Web Server (IIS) chọn Next


http://www.msopenlab.com/lab/ts/image011.jpg


- Trong cửa sổ Select Role Services chọn Next


http://www.msopenlab.com/lab/ts/image012.jpg


- Trong cửa sổ Confirm Installation Selections chọn Install


http://www.msopenlab.com/lab/ts/image013.jpg


- Sau khi quá trình cài đặt hoàn tất, trong cửa sổ Installation Results, chọn Close



http://www.msopenlab.com/lab/ts/image014.jpg


- Trong hộp thoại Add role Wizard, hệ thống yêu cầu restart, chọn Yes

http://www.msopenlab.com/lab/ts/image015.jpg


- Log on Administrator password P@ssword


- Trong cửa sổ Installation Results, kiểm tra quá trình cài đặt thành công, chọn Close

http://www.msopenlab.com/lab/ts/image016.jpg


- Mở System trong Control Panel


http://www.msopenlab.com/lab/ts/image017.jpg


- Trong cửa sổ System, chọn Remote settings

http://www.msopenlab.com/lab/ts/image018.jpg


- Trong cửa sổ System Properties, tại tab Remote, kiểm tra có chọn Allow connections from computers running any version of Remote Desktop (less secure)

http://www.msopenlab.com/lab/ts/image019.jpg


2. Tạo user và cấp quyền Remote Desktop cho user


- Mở Computer Management từ Administrative Tools, bung Local Users ang Groups, right click Users chọn New User…


http://www.msopenlab.com/lab/ts/image020.jpg


- Tạo user Teo password P@ssword


http://www.msopenlab.com/lab/ts/image021.jpg



http://www.msopenlab.com/lab/ts/image022.jpg


- Vào mục Users, right click user Teo chọn Properties



http://www.msopenlab.com/lab/ts/image023.jpg


- Trong cửa sổ Teo Properties, vào tab Member Of, add group Remote Desktop Users vào danh sách, chọn OK



http://www.msopenlab.com/lab/ts/image024.jpg

3. Client kết nối vào Terminal Server bằng Remote Desktop Connection

- Tại máy Client, log on Administrator password P@ssword

- Vào Start\Programs\Accessories mở Remote Desktop Connection, nhập địa chỉ IP của máy server (vd: 192.168.10.14) vào ô Computer name, chọn Connect

http://www.msopenlab.com/lab/ts/image025.jpg




- Trong cửa sổ Windows Security, nhập user Teo password P@ssword, chọn OK

http://www.msopenlab.com/lab/ts/image026.jpg


- Kiểm tra kết nối thành công vào Terminal Server

http://www.msopenlab.com/lab/ts/image027.jpg


4. Client kết nối vào Terminal Server bằng Web Access

- Tại máy Client, log on Administrator password P@ssword

- Mở Internet Explorer, truy cập vào địa chỉhttp://IP của terminal server/ts (vd: http://192.168.10.14/ts)

- Trong cửa sổ chứng thực, nhập user Teo password P@ssword, chọn OK

http://www.msopenlab.com/lab/ts/image028.jpg


- Trong cửa sổ Microsoft Phishing Filter, chọn Turn off automatic Phishing Filter, chọn OK


http://www.msopenlab.com/lab/ts/image029.jpg

- Trong cửa sổ Internet Explorer, chọn Add

http://www.msopenlab.com/lab/ts/image030.jpg

- Trong cửa sổ Trusted sites, bỏ dấu chọn Require server verification (https:) for all sites in this zone, chọn Add


http://www.msopenlab.com/lab/ts/image031.jpg


- Trong cửa sổ TS Web Access, vào tab Remote Desktop, nhập địa chỉ IP của máy server vào ô Connect to, chọn Connect



http://www.msopenlab.com/lab/ts/image032.jpg


- Trong cửa sổ Remote Desktop Connection chọn Connect

http://www.msopenlab.com/lab/ts/image033.jpg

- Trong cửa sổ Windows Security nhập user Teo password P@ssword, chọn OK

http://www.msopenlab.com/lab/ts/image034.jpg


- Kiểm tra kết nối thành công vào Terminal Server


http://www.msopenlab.com/lab/ts/image035.jpg


5. Cấu hình Remote Application


- Vào Start\Programs\Administrative Tools\Terminal Services mở TS RemoteApp Manager, chọn Action, chọn Add RemoteApp Programs

http://www.msopenlab.com/lab/ts/image036.jpg


- Trong cửa sổ Welcome to the RemoteApp Wizard, chọn Next

http://www.msopenlab.com/lab/ts/image037.jpg

- Trong cửa sổ Choose programs to add to the RemoteApp Programs list, đánh dấu chọn vào các ô:


Microsoft Office Excel 2007


Microsoft Office Outlook 2007


Microsoft Office Power Point 2007


Microsoft Office Word 2007


chọn Next

http://www.msopenlab.com/lab/ts/image038.jpg


- Trong cửa sổ Review Settings, chọn Finish


http://www.msopenlab.com/lab/ts/image039.jpg


- Kiểm tra trong RemoteApp Programs, kiểm tra đã add thành công các chương trình


Microsoft Office Excel 2007


Microsoft Office Outlook 2007


Microsoft Office Power Point 2007


Microsoft Office Word 2007

http://www.msopenlab.com/lab/ts/image040.jpg


6. Client kết nối Remote Application


- Tại máy Client, mở Internet Explorer, truy cập vào địa chỉ http://192.168.10.14/ts

- Trong cửa sổ chứng thực, nhập user Teo password P@ssword, chọn OK


http://www.msopenlab.com/lab/ts/image028.jpg


- Trong cửa sổ TS Web Access, chọn Microsoft Office Word 2007


http://www.msopenlab.com/lab/ts/image041.jpg


- Trong cửa sổ RemoteApp, chọn Connect


http://www.msopenlab.com/lab/ts/image042.jpg


- Trong cửa sổ User Name chọn OK

http://www.msopenlab.com/lab/ts/image043.jpg


- Trong cửa sổ Privacy Options, bỏ tất cả các ô chọn, chọn Next

http://www.msopenlab.com/lab/ts/image044.jpg



- Trong cửa sổ Sign up for Microsoft Update, chọn I don’t want to use Microsoft Update, chọn Finish


http://www.msopenlab.com/lab/ts/image045.jpg


- Kiểm tra tại máy client đã sử dụng được Microsoft Office Word 2007


http://www.msopenlab.com/lab/ts/image046.jpg
nhoc_hamhochoi
13-04-2008, 13:08
7. Tạo file .MSI cho Remote Application


- Vào Start\Programs\Administrative Tools\Terminal Services mở TS RemoteApp Manager. Trong RemoteApp Programs, giữ phím Ctrl chọn:


Microsoft Office Excel 2007


Microsoft Office Outlook 2007


Microsoft Office Power Point 2007


Microsoft Office Word 2007


chọn Create Windows Installer Packages


http://www.msopenlab.com/lab/ts/image047.jpg


- Trong cửa sổ Welcome to the RemoteApp Wizard, chọn Next

http://www.msopenlab.com/lab/ts/image048.jpg

- Trong cửa sổ Specify Package Settings, chọn Next

http://www.msopenlab.com/lab/ts/image049.jpg


- Trong cửa sổ Configure Distribution Package, chọn Next


http://www.msopenlab.com/lab/ts/image050.jpg


- Trong cửa sổ Review Settings, chọn Finish


http://www.msopenlab.com/lab/ts/image051.jpg


- Mở Windows Explorer, vào C:\Programs File\Packaged Programs, kiểm tra đã tạo thành công các file .msi. Right click folder Packaged Programs chọn Properties


http://www.msopenlab.com/lab/ts/image052.jpg


- Trong cửa sổ Packaged Programs Properties, vào tab Sharing chọn Advanced Sharing…


http://www.msopenlab.com/lab/ts/image053.jpg


- Trong cửa sổ Advanced Sharing, dánh dấu chọn vào ô Share this folder, chọn OK


http://www.msopenlab.com/lab/ts/image054.jpg


8. Client cài đặt file .MSI và kiểm tra


- Tại máy client, vào Start\Run, truy cập vào địa chỉ \\địa chỉ ip máy server (vd: \\192.168.10.14)


http://www.msopenlab.com/lab/ts/image055.jpg


- Trong cửa sổ chứng thực, nhập user Teo password P@ssword, chọn OK

http://www.msopenlab.com/lab/ts/image056.jpg

- Sau khi truy cập thành công vào máy server, mở folder Packaged Programs


http://www.msopenlab.com/lab/ts/image057.jpg


- Cài lần lượt tất cả các file .msi


http://www.msopenlab.com/lab/ts/image058.jpg


- Sau khi cài đặt thành công, vào Start\Programs\RemotePrograms, mở Microsoft Office Word 2007

http://www.msopenlab.com/lab/ts/image059.jpg


- Trong cửa sổ RemoteApp, chọn Connect



http://www.msopenlab.com/lab/ts/image060.jpg



- Trong cửa sổ chứng thực user, nhập user Teo password P@ssword



http://www.msopenlab.com/lab/ts/image061.jpg

- Kiểm tra tại máy client đã sử dụng được chương trình Microsoft Office Word 2007


http://www.msopenlab.com/lab/ts/image062.jpg

No comments:

Post a Comment