Thứ Ba, 6 tháng 7, 2010

Cài đặt Windows Server core 2008

WINDOWS SERVER CORE 2008

Bài Lab được cung cấp bởi Giảng viên : Đồng Phương Nam


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.


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


Click this bar to view the full image.


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


Click this bar to view the full image.


Nhấn nút Install Now


Click this bar to view the full image.


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


Click this bar to view the full image.


Nhấn No


Click this bar to view the full image.


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


Click this bar to view the full image.


Chọn I accept the license term


Click this bar to view the full image.


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


Click this bar to view the full image.


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


Click this bar to view the full image.


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


Click this bar to view the full image.


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


Click this bar to view the full image.


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


Click this bar to view the full image.


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


Click this bar to view the full image.


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


Click this bar to view the full image.


Giao diện Windows Server Core 2008:


Click this bar to view the full image.


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:


Click this bar to view the full image.


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


Click this bar to view the full image.


Đá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


Click this bar to view the full image.


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


Click this bar to view the full image.



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)


Click this bar to view the full image.


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


Click this bar to view the full image.


Đá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:


Code:
[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:


Click this bar to view the full image.


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


Click this bar to view the full image.


Chọn Manage network connections

Click phải vào biểu tượng Card mạng > Properties

Click this bar to view the full image.


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


Click this bar to view the full image.


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


Click this bar to view the full image.


Nhấn Close


Click this bar to view the full image.


2. Join Domain:


Click phải My Computer > Properties


Click this bar to view the full image.


Chọn Change Settings


Click this bar to view the full image.


Nhấn nút Change


Click this bar to view the full image.


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


Click this bar to view the full image.


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


Click this bar to view the full image.


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




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


Click this bar to view the full image.


Nhấn Close


Click this bar to view the full image.


Nhấn Restart Now


Click this bar to view the full image.


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

0 nhận xét:

Đăng nhận xét

 

Subscribe to our Newsletter

Contact our Support

Email us: Support@templateism.com

Our Team Memebers