Quản trị net diễn đàn chia sẻ thông tin các thủ thuật mạng, internet bảo mật thông tin dành cho giới IT VIệt hy vọng là nơi bổ ích cho cộng đồng

Quản trị net diễn đàn chia sẻ thông tin các thủ thuật mạng, internet bảo mật thông tin dành cho giới IT VIệt hy vọng là nơi bổ ích cho cộng đồng (http://quantrinet.com/forum/index.php)
-   Module 3: Server Core Domain Controller (http://quantrinet.com/forum/forumdisplay.php?f=257)
-   -   Windows Server 2008 - Cài đặt Windows Server Core (http://quantrinet.com/forum/showthread.php?t=4669)

hoctinhoc 03-02-2010 09:33 PM

Windows Server 2008 - Cài đặt Windows Server Core
 

Windows Server 2008 - Cài đặt Windows Server Core


WINDOWS SERVER CORE 2008



GIỚI THIỆU:

Tùy chọn cài đặt Server Core installation của hệ điều hành Microsoft Windows Server 2008 là một tùy chọn mới cho cài đặt trong Windows Server 2008. Tùy chọn này cho phép cài đặt một số Role cần thiết cho hệ thống, bạn có thể quản lý các Server Core dịch vụ trên đó bằng giao diện Command Line, ngoài ra, bạn có thể quản lý Server Core từ xa bằng công cụ MMC hoặc các công cụ Remote Administration được tích hợp trong Windows Vista va Windows Server 2008

Tùy chọn Server Core installation của Windows Server 2008 mang lại các lợi ích dưới đây:

• Giảm bớt công việc bảo trì do Server Core chỉ cài đặt những dịch vụ cần thiết như DHCP, File, Print, DNS, Media Services, AD LDS hay Active Directory server

• Giảm bề mặt tấn công do Server Core sử dụng giao diện tối thiểu, có ít các dịch vụ và ứng dụng chạy trên Server

• Giảm sự quản lý do có ít ứng dụng và dịch vụ được cài đặt trên Server

• Giảm không gian đĩa cần thiết do Server Core chỉ yêu cầu khoảng 1GB không gian đĩa trống để cài đặt và xấp xỉ 2GB cho các hoạt động sau khi cài đặt.
Tùy chọn này còn hỗ trợ các role máy chủ sau đây:
- Active Directory Domain Services
- Active Directory Lightweight Directory Services (AD LDS)
- Dynamic Host Configuration Protocol (DHCP) Server
- DNS Server
- File Services
- Print Server
- Streaming Media Services
- Web Server (IIS)

Ngoài ra Server Core còn hỗ trợ các Feature sau đây:
- Microsoft Failover Cluster
- Network Load Balancing
- Subsystem for UNIX-based Applications
- Windows Backup
- Multipath I/O
- Removable Storage Management
- Windows Bitlocker Drive Encryption
- Simple Network Management Protocol (SNMP)
- Windows Internet Naming Service (WINS)
- Telnet client
- Quality of Service (QoS)

Trong bài Lab này, tôi sẽ trình bày một số thao tác cơ bản để cài đặt một máy tính Server Core, nâng cấp Server này thành Domain Controller và DNS Server, gia nhập một máy tính sử dụng Windows Server 2008 Server vào domain và sử dụng các công cụ tích hợp trong Windows Server 2008 để quản lý Active Directoty và DNS từ xa.


PHẦN 1: CHUẨN BỊ

PHẦN 2: ĐẶT IP ADDRESS VÀ ĐỔI TÊN MÁY TÍNH

PHẦN 3: NÂNG CẤP SERVER THÀNH DOMAIN CONTROLLER

PHẦN 4: JOIN DOMAIN

PHẦN 5: QUẢN LÝ ACTIVE DIRECTORY VÀ DNS



CHUẨN BỊ:

- Máy tính cài đặt Server Core
- Máy tính Member Server đã được cài đặt Windows Server 2008

THỰC HIỆN:

Khởi động từ đĩa DVD cài đặt Windows Server 2008


Chọn các thông số về ngôn ngữ, định dạng ngày giờ và bàn phím

http://nhatnghe.vn/forum/undefined/i.../wol_error.gifhttp://nam.nhatnghe.vn/WINDOWS_SERVE...8/image002.jpg


Nhấn nút Install Now


http://nhatnghe.vn/forum/undefined/i.../wol_error.gifhttp://nam.nhatnghe.vn/WINDOWS_SERVE...8/image003.jpg

Bỏ dấu Check Automatically activate Windows when I’m online > Next

http://nhatnghe.vn/forum/undefined/i.../wol_error.gif
http://nam.nhatnghe.vn/WINDOWS_SERVE...8/image004.jpg

Nhấn No

http://nhatnghe.vn/forum/undefined/i.../wol_error.gifhttp://nam.nhatnghe.vn/WINDOWS_SERVE...8/image005.jpg

Chọn Windows Server 2008 Enterprise (Server Core Installation) > I have selectedthe edition of Windows that I purchased > Next

http://nhatnghe.vn/forum/undefined/i.../wol_error.gifhttp://nam.nhatnghe.vn/WINDOWS_SERVE...8/image006.jpg

Chọn I accept the license term

http://nhatnghe.vn/forum/undefined/i.../wol_error.gifhttp://nam.nhatnghe.vn/WINDOWS_SERVE...8/image007.jpg

Chọn Partition muốn cài đặt Windows > Next

http://nhatnghe.vn/forum/undefined/i.../wol_error.gifhttp://nam.nhatnghe.vn/WINDOWS_SERVE...8/image008.jpg

Quá trình sao chép các file cần thiết và cài đặt bắt đầu

http://nhatnghe.vn/forum/undefined/i.../wol_error.gifhttp://nam.nhatnghe.vn/WINDOWS_SERVE...8/image009.jpg

Sau khi cài đặt, bạn cần Restart máy, nhấn nút Restart Now

http://nhatnghe.vn/forum/undefined/i.../wol_error.gifhttp://nam.nhatnghe.vn/WINDOWS_SERVE...8/image010.jpg

Sau khi Restart máy, bạn nhấn Other User và nhập UserName: Administrator để log on

http://nhatnghe.vn/forum/undefined/i.../wol_error.gifhttp://nam.nhatnghe.vn/WINDOWS_SERVE...8/image011.jpg

Hệ thống sẽ yêu cần đổi Password ở lần Logon này > Nhấn OK

http://nhatnghe.vn/forum/undefined/i.../wol_error.gifhttp://nam.nhatnghe.vn/WINDOWS_SERVE...8/image012.jpg

Nhập Password mới là 123 ở khung New Password và Confirm New Password

http://nhatnghe.vn/forum/undefined/i.../wol_error.gifhttp://nam.nhatnghe.vn/WINDOWS_SERVE...8/image013.jpg

Hệ thống thông báo: Password đã được thay đổi > OK

http://nhatnghe.vn/forum/undefined/i.../wol_error.gifhttp://nam.nhatnghe.vn/WINDOWS_SERVE...8/image014.jpg

Giao diện Windows Server Core 2008:

http://nhatnghe.vn/forum/undefined/i.../wol_error.gifhttp://nam.nhatnghe.vn/WINDOWS_SERVE...8/image015.jpg




PHẦN 2: ĐẶT IP ADDRESS VÀ ĐỔI TÊN MÁY TÍNH



Đầu tiên bạn cần xem ID của Card mạng bằng lệnh sau:

http://nhatnghe.vn/forum/undefined/i.../wol_error.gifhttp://nam.nhatnghe.vn/WINDOWS_SERVE...8/image016.jpg

Quan sát ID Card mạng ở cột Idx là “2” à bạn cần đặt IP Address cho Card mạng này. Sau đó đánh lệnh IPCONFIG và Ping 192.168.2.200 để kiểm tra
http://nam.nhatnghe.vn/WINDOWS_SERVE...8/image017.jpg

Đánh lệnh hostname để xem tên hiện tại của máy tính, sau đó đổi tên máy tính thành DC25 theo các lệnh bên dưới, cuối cùng dùng lệnh shutdown để restart máy tính

http://nhatnghe.vn/forum/undefined/i.../wol_error.gifhttp://nam.nhatnghe.vn/WINDOWS_SERVE...8/image018.jpg

Sau khi Restart, tắt Firewall để các máy tính khác có thể liên lạc với Server này

http://nhatnghe.vn/forum/undefined/i.../wol_error.gifhttp://nam.nhatnghe.vn/WINDOWS_SERVE...8/image019.jpg




PHẦN 3: NÂNG CẤP SERVER THÀNH DOMAIN CONTROLLER:



Chỉnh thông số Prefered DNS Server thành IP chính mình (192.168.2.25)
http://nam.nhatnghe.vn/WINDOWS_SERVE...8/image020.jpg

Dùng lệnh IPCONFIG /ALL để kiểm tra:

http://nhatnghe.vn/forum/undefined/i.../wol_error.gifhttp://nam.nhatnghe.vn/WINDOWS_SERVE...8/image021.jpg



Đánh lệnh CD\ để chuyển ra thư mục gốc

Dùng lệnh Copy Con C:\Unattend.txt để tạo 1 file văn bản tên là Unattend.txt có nội dung như sau:

Mã:


    [DCINSTALL]

ReplicaOrNewDomain=Domain

TreeOrChild=Tree

CreateOrJoin=Create

NewDomainDNSName= dom25.com

DNSOnNetwork=yes

DomainNetbiosName=dom25

AutoConfigDNS=yes

SiteName= Default_First_Site_Name

AllowAnonymousAccess=no

DatabasePath=%systemroot%\ntds

LogPath=%systemroot%\ntds

SYSVOLPath=%systemroot%\sysvol

SafeModeAdminPassword=P@ssword

CriticalReplicationOnly=No

RebootOnSuccess=Yes

File này cung cấp đầy đủ các thông tin phục vụ cho quá trình nâng cấp tự động (trong ví dụ này, tôi nâng cấp Server này thành 1 Domain Controller, đặt tên domain là dom25.com, cấu hình tự động cài đặt và cấu hình DNS),

Thực hiện nâng cấp bằng lệnh sau:

http://nhatnghe.vn/forum/undefined/i.../wol_error.gifhttp://nam.nhatnghe.vn/WINDOWS_SERVE...8/image022.jpg

Quá trình nâng cấp sẽ tự động diễn ra, kết thúc quá trình, Server sẽ tự động Restart, sau khi Restart. Server này đã trỡ thành Domain Controller của domain dom25.com





PHẦN 4: JOIN DOMAIN


Thực hiện trên Member Server

1. Đặt địa chỉ IP

Click phải vào My Network Places > Properties

http://nhatnghe.vn/forum/undefined/i.../wol_error.gifhttp://nam.nhatnghe.vn/WINDOWS_SERVE...8/image023.jpg

Chọn Manage network connections
Click phải vào biểu tượng Card mạng > Properties

http://nhatnghe.vn/forum/undefined/i.../wol_error.gifhttp://nam.nhatnghe.vn/WINDOWS_SERVE...8/image024.jpg

Chọn Internet Protocol Version 4 (TCP/Ipv4) > Properties

http://nhatnghe.vn/forum/undefined/i.../wol_error.gifhttp://nam.nhatnghe.vn/WINDOWS_SERVE...8/image025.jpg

Đặt thông số IP như hình dưới > OK

http://nhatnghe.vn/forum/undefined/i.../wol_error.gifhttp://nam.nhatnghe.vn/WINDOWS_SERVE...8/image026.jpg

Nhấn Close

http://nhatnghe.vn/forum/undefined/i.../wol_error.gifhttp://nam.nhatnghe.vn/WINDOWS_SERVE...8/image027.jpg

2. Join Domain:

Click phải My Computer > Properties

http://nhatnghe.vn/forum/undefined/i.../wol_error.gifhttp://nam.nhatnghe.vn/WINDOWS_SERVE...8/image028.jpg

Chọn Change Settings

http://nhatnghe.vn/forum/undefined/i.../wol_error.gifhttp://nam.nhatnghe.vn/WINDOWS_SERVE...8/image029.jpg

Nhấn nút Change

http://nhatnghe.vn/forum/undefined/i.../wol_error.gifhttp://nam.nhatnghe.vn/WINDOWS_SERVE...8/image030.jpg

Chọn Domain > Nhập tên domain: dom25.com

http://nhatnghe.vn/forum/undefined/i.../wol_error.gifhttp://nam.nhatnghe.vn/WINDOWS_SERVE...8/image031.jpg

Nhập User Name: Administrator, Password:123 à OK

http://nhatnghe.vn/forum/undefined/i.../wol_error.gifhttp://nam.nhatnghe.vn/WINDOWS_SERVE...8/image032.jpg

Công việc Join Domain diễn ra thành công

http://nam.nhatnghe.vn/WINDOWS_SERVE...8/image033.jpg

Nhấn OK để chấp nhận Restart máy

http://nhatnghe.vn/forum/undefined/i.../wol_error.gifhttp://nam.nhatnghe.vn/WINDOWS_SERVE...8/image034.jpg

Nhấn Close

http://nhatnghe.vn/forum/undefined/i.../wol_error.gifhttp://nam.nhatnghe.vn/WINDOWS_SERVE...8/image035.jpg

Nhấn Restart Now
http://nam.nhatnghe.vn/WINDOWS_SERVE...8/image036.jpg

Sau khi Restart, bạn Log on và domain Administrator (dom25\Administrator) > Máy tính này đã trở thành 1 Member Server của domain dom25.com




PHẦN 5: QUẢN LÝ ACTIVE DIRECTORY VÀ DNS

1. Quản lý Active Directory

Đầu tiên, bạn cần cài đặt công cụ Remote Active Diretory Domain Controller

Cửa sổ Server Manager: Click phải Feature > Add Feature

http://nhatnghe.vn/forum/undefined/i.../wol_error.gifhttp://nam.nhatnghe.vn/WINDOWS_SERVE...8/image037.jpg

Chọn Active Diretory Domain Controller Tool > Next

http://nhatnghe.vn/forum/undefined/i.../wol_error.gifhttp://nam.nhatnghe.vn/WINDOWS_SERVE...8/image038.jpg

Nhấn nút Install

http://nhatnghe.vn/forum/undefined/i.../wol_error.gifhttp://nam.nhatnghe.vn/WINDOWS_SERVE...8/image039.jpg

Quá trình cài đặt diễn ra

http://nhatnghe.vn/forum/undefined/i.../wol_error.gifhttp://nam.nhatnghe.vn/WINDOWS_SERVE...8/image040.jpg

Sau khi hoàn tất > Nhấn nút Close

http://nhatnghe.vn/forum/undefined/i.../wol_error.gifhttp://nam.nhatnghe.vn/WINDOWS_SERVE...8/image041.jpg

Bậy giờ bạn có thể quản lý Domain Controller từ xa thông qua công cụ Active Dicrectory Users and Computers

http://nhatnghe.vn/forum/undefined/i.../wol_error.gifhttp://nam.nhatnghe.vn/WINDOWS_SERVE...8/image042.jpg

Dùng giao diện Active Dicrectory Users and Computers để tạo 1 User

http://nhatnghe.vn/forum/undefined/i.../wol_error.gifhttp://nam.nhatnghe.vn/WINDOWS_SERVE...8/image043.jpg

Đặt tên User là User1 > Next

http://nhatnghe.vn/forum/undefined/i.../wol_error.gifhttp://nam.nhatnghe.vn/WINDOWS_SERVE...8/image044.jpg

Đặt Password là P@ssword à Next

http://nhatnghe.vn/forum/undefined/i.../wol_error.gifhttp://nam.nhatnghe.vn/WINDOWS_SERVE...8/image045.jpg

Nhấn Finish

http://nhatnghe.vn/forum/undefined/i.../wol_error.gifhttp://nam.nhatnghe.vn/WINDOWS_SERVE...8/image046.jpg

Kiểm tra: User1 đã được tạo

http://nhatnghe.vn/forum/undefined/i.../wol_error.gifhttp://nam.nhatnghe.vn/WINDOWS_SERVE...8/image047.jpg

2. Quản lý DNS

Đầu tiên, bạn cần cài đặt công cụ DNS Server Tool

Cửa sổ Server Manager: Click phải Feature > Add Feature

http://nhatnghe.vn/forum/undefined/i.../wol_error.gifhttp://nam.nhatnghe.vn/WINDOWS_SERVE...8/image048.jpg

Chọn công cụ DNS Server Tool > Next

http://nhatnghe.vn/forum/undefined/i.../wol_error.gifhttp://nam.nhatnghe.vn/WINDOWS_SERVE...8/image049.jpg

Nhấn Install

http://nhatnghe.vn/forum/undefined/i.../wol_error.gifhttp://nam.nhatnghe.vn/WINDOWS_SERVE...8/image050.jpg

Quá trình cài đặt diễn ra

http://nhatnghe.vn/forum/undefined/i.../wol_error.gifhttp://nam.nhatnghe.vn/WINDOWS_SERVE...8/image051.jpg

Sau khi hoàn tất > Nhấn nút Close

http://nhatnghe.vn/forum/undefined/i.../wol_error.gifhttp://nam.nhatnghe.vn/WINDOWS_SERVE...8/image052.jpg

Quản lý DNS bằng công cụ DNS Server Tool

http://nhatnghe.vn/forum/undefined/i.../wol_error.gifhttp://nam.nhatnghe.vn/WINDOWS_SERVE...8/image053.jpg

Chọn: The following computer à Nhập 192.168.2.25 (IP của Server) > OK

http://nhatnghe.vn/forum/undefined/i.../wol_error.gifhttp://nam.nhatnghe.vn/WINDOWS_SERVE...8/image054.jpg

Bây giờ bạn có thể dùng giao diện DNS để quản lý DNS Server của mình từ xa

http://nhatnghe.vn/forum/undefined/i.../wol_error.gifhttp://nam.nhatnghe.vn/WINDOWS_SERVE...8/image055.jpg

Kiểm tra truy cập được Interner

http://nhatnghe.vn/forum/undefined/i.../wol_error.gifhttp://nam.nhatnghe.vn/WINDOWS_SERVE...8/image056.jpg



Theo: MSOpenlab



:battay:


Bây giờ là 08:31 PM. Giờ GMT +7

Diễn đàn tin học QuantriNet
quantrinet.com | quantrimang.co.cc
Founded by Trương Văn Phương | Developed by QuantriNet's members.
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.