SlideShare a Scribd company logo
1 of 14
Download to read offline
“Chuyên trang dành cho kỹ thuật viên tin học”
CHIA SẺ - KINH NGHIỆM - HỌC TẬP - THỦ THUẬT
Part 48 - Upgrade Server 2008 - Windows Server Core - WSC
Kể từ Windows Server 2008 trở đi Microsoft đã nhận thấy vấn đề bảo mật & ổn định hệ thống càng được phải chú
trọng hơn chính vì thế Microsoft đã đưa ra một chuẩn hệ điều hành Server mới gọi là Windows Server Core với
chuẩn mới này hệ điều hành Server của bạn không còn giao diện đồ họa nữa mà mọi thao tác trên Server đều được
sử dụng bằng lệnh thông qua DOS Command hoặc các công cụ điều khiển từ xa trong Remote Administration được
tích hợp trong Windows Vista & Windows Server 2008
Lợi ích của việc ứng dụng Windows Server Core:
- Giảm đến mức tối đa khả năng bị tấn công từ bên ngoài vì Server Core không có các công cụ đồ họa cũng như các
công cụ, ứng dụng...
- Server Core sẽ giúp ta giảm bớt công tác bảo trì vì mọi thao tác ta đều thực hiện trên một máy Remote khác, chính
vì không có các công cụ, ứng dụng... nên Server Core chạy rất ổn định ít gây lỗi cũng như xung đột hệ thống.
- Server Core chiếm rất ít dung lượng đĩa cứng chỉ khoảng 1.5Gb mà thôi nên các dịch vụ chạy trên này sẽ có tốc độ
truy cập nhanh hơn và không gian đĩa cứng sẽ dư giả hơn.
Như vậy với Server Core người ta sẽ cài các dịch vụ như DHCP, DNS, Web..... lên các máy Server Core này. Khi đó
ta dùng một máy Server 2008 nào đó và tiến hành cài các công cụ Remote Administration lên đây để cấu hình các
dịch vụ trên Server Core.
Như vậy trong mô hình này tôi sử dụng 2 máy trong đó:
- Máy PC01 là máy Server 2008
- Máy PC02 là các máy Server Core và sẽ tiến hành nâng cấp lên DC Server với Domain là gccom.net
Cấu hình IP các máy như sau:
Máy Đặc tính PC01 PC02
Card Lan
IP Address 192.168.1.1
Subnet Mask 255.255.255.0
1 of 14
Default
gateway
Preferred DNS 192.168.1.2
Card Cross
IP Address
Subnet Mask
Default
gateway
Preferred DNS
Card Lan: nối gián tiếp 2 máy PC01 & PC02 với nhau thông qua
Switch
Card Cross: nối trực tiếp các cặp máy PC01 với PC02
Bây giờ ta tiến hành cài đặt một Windows Server Core (Xem lại bài Part 19 - Install Windows - Sysprep). Tại màn
hình Select the operating system you want to install bạn chọn phiên bản Windows Server 2008 Enterprise
(Server Core Installation)
Quá trình cài đặt Server Core đang tiến hành
2 of 14
Sau khi quá trình cài đặt Server Core hoàn tất bạn đăng nhập vào Windows tuy nhiên vì Server Core không có giao
diện đồ họa nên sau khi đăng nhập thành công màn hình DOS Command sẽ bật lên
Tiếp tục bạn nhập lệnh hostname để xem tên của máy tính
Mặc định sau khi cài đặt hoàn tất Windows Server Core sẽ gán một tên rất rườm rà trong bài là
WIN-H7X0AWSUYD3
Bây giờ ta sẽ tiến hành đổi tên máy thành CORE bạn nhập lệnh:
Netdom RenameComputer %ComputerName% /NewName:CORE
Nhập Y để đồng ý
Tiếp tục Restart lại máy tính bạn nhập lệnh:
Shutdown /r /t 0
3 of 14
Sau khi Restart lại máy tính ta sẽ tiến hành nâng cấp Server Core lên thành DC Server Core
Trước tiên bạn tắt Firewall bằng cách nhập lệnh:
NetSH Firewall Set OpMode Mode=Disable
Tại máy PC01 (Server 2008) bạn cũng tắt Firewall đi
4 of 14
Trở lại máy PC02 (Server Core) ta tiến hành xem chi tiết các Card mạng của máy bằng cách nhập lệnh:
NetSH Interface ipv4 Show Interface
Trong bài chúng ta sẽ thấy có đến 2 Card mạng là Local Area Connection & Local Area Connection 2 với ID
tương tứng là 2 và 5
Do mặc định IP của các Card này đều ở trạng thái Obtain nên ta sẽ tiến hành cấu hình IP cho các Card này, bạn
nhập lệnh:
ipconfig /all để xem IP các Card mạng
5 of 14
Trong bài do tôi chỉ sử dụng Card Local Area Connection nên tôi sẽ tiến hành chỉnh IP cua Card này bạn nhập lệnh
theo cú pháp
NetSH Interface ipv4 Set Address Name"<ID của Card mạng cần chỉnh>" Source=Static Address=<IP Address sẽ
set> Mask=<Subnet Mask> Gateway=<Default Gateway>
Trong ví dụ này tôi sẽ cấu hình IP Card Local Area Connection thành 192.168.1.2/24 với Default Gateway là
192.168.1.200 nên tại DOS Command tôi nhập lệnh:
NetSH Interface ipv4 Set Address Name"2" Source=Static Address=192.168.1.2 Mask=255.255.255.0
Gateway=192.168.1.200
Tiếp tục ta sẽ chỉnh Preferred DNS của Card Local Area Connection về chính IP của mình bằng cách nhập lệnh:
6 of 14
NetSH Interface ipv4 Set DNSServer Name="2" Address=192.168.1.2 index=1
Nhập lệnh ipconfig /all để xem kết quả
Ping thử PC01 thấy truy cập thành công
7 of 14
Bây giờ từ máy PC01 bạn truy cập vào ổ đĩa C: của PC02 và tạo một File là Unattend.txt
Nội dung file Unattend.txt
[DCINSTALL]
ReplicaOrNewDomain=Domain
TreeOrChild=Tree
CreateOrJoin=Create
NewDomainDNSName=gccom.net
DNSOnNetwork=yes
DomainNetbiosName=gccom
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
Tại máy PC02 nhập lệnh Dir để xác thực đã tồn tại File Unattend.txt trong C:
8 of 14
Bây giờ ta sẽ tiến hành nâng cấp lên DC Server Core bằng cách nhập lệnh:
DCPROMO /Unattend:unattend.txt
Quá trình nâng cấp đang diễn ra
Sau khi cài đặt hoàn tất bạn vào lại ipconfig /all để xác định máy đã được nâng cấp lên DC Server Core hoàn chỉnh
9 of 14
Bây giờ tại máy PC01 tôi sẽ tiến hành Join vào Domain gccom.net trong DC Server Core
Trước tiên trong IP Card Lan bạn phải Preferred DNS về máy PC02
Chuyển từ WORKGROUP sang Domain là gccom.net
10 of 14
Sau khi Join thành công bạn vào lại System Properties để xác nhận là máy PC01 đã được Join vào Domain thành
công
Bây giờ tại máy PC01 tôi sẽ tiến hành cài đặt các công cụ Remote Administration để điều khiển từ xa cho máy
Server Core
Bật Server Manager lên chọn Features -> Add Features
Tại màn hình Select Features bạn chọn Remote Server Administration Tools và tiến hành cài đặt
11 of 14
Sau khi cài đặt hoàn tất ta thấy trong Administrative Tools của PC01 có rất nhiều công cụ mới đây chính là các
công cụ để bạn có thể từ máy PC01 tinh chỉnh máy PC02 bằng giao diện đồ họa
Giả sử tôi sẽ từ máy PC01 và muốn cấu hình DNS cho máy PC02 nên tại đây tôi chọn DNS
12 of 14
Trong màn hình Connect to DNS Server bật ra bạn nhập IP của máy PC02 và nhấp OK
Màn hình DNS của PC02 sẽ hiện ra hoàn chỉnh và mọi cấu hình của bạn trên này hoàn toàn không tác động gì đến
PC01 cả mà sẽ được lưu trực tiếp lên máy PC02 (Windows Server Core) mà thôi
13 of 14
OK mình vừa trình bày xong phần Windows Server Core trong 70-648, 70-649 của MCSA.
Công ty TNHH đầu tư phát triển tin học GC Com
Chuyên trang kỹ thuật máy vi tính cho kỹ thuật viên tin học
Điện thoại: (073) - 3.511.373 - 6.274.294
Website: http://www.gccom.net
14 of 14

More Related Content

What's hot

Lab 7 windows server 2008 server core
Lab 7 windows server 2008 server core Lab 7 windows server 2008 server core
Lab 7 windows server 2008 server core tinhban269
 
Báo Cáo Cuối Kỳ
Báo Cáo Cuối KỳBáo Cáo Cuối Kỳ
Báo Cáo Cuối KỳLy ND
 
Báo cáo thực tập (hàng tuần)
Báo cáo thực tập (hàng tuần)Báo cáo thực tập (hàng tuần)
Báo cáo thực tập (hàng tuần)Ly1473
 
Dữ liệu file windows 1
Dữ liệu file windows 1Dữ liệu file windows 1
Dữ liệu file windows 1ThienChau8
 
Báo Cáo Thực Tập PowerPoint
Báo Cáo Thực Tập PowerPointBáo Cáo Thực Tập PowerPoint
Báo Cáo Thực Tập PowerPointKhôi Nguyễn
 
Báo cáo thực tập Tuần 1
Báo cáo thực tập Tuần 1Báo cáo thực tập Tuần 1
Báo cáo thực tập Tuần 1Nat Galacticos
 
Báo cáo thực tập
Báo cáo thực tậpBáo cáo thực tập
Báo cáo thực tậpNhật Trinh
 
Báo cáo thực tập
Báo cáo thực tậpBáo cáo thực tập
Báo cáo thực tậpNhật Trinh
 
Part 47 upgrade server 2008 - network load balancing - nlb -www.key4_vip.info
Part 47   upgrade server 2008 - network load balancing - nlb -www.key4_vip.infoPart 47   upgrade server 2008 - network load balancing - nlb -www.key4_vip.info
Part 47 upgrade server 2008 - network load balancing - nlb -www.key4_vip.infolaonap166
 
Báo cáo thực tập
Báo cáo thực tậpBáo cáo thực tập
Báo cáo thực tậpNhật Trinh
 
Slide Báo Cáo Cuối Kỳ
Slide Báo Cáo Cuối KỳSlide Báo Cáo Cuối Kỳ
Slide Báo Cáo Cuối KỳLy ND
 
Hướng dẫn cài đặt active directory trên windows server 2008
Hướng dẫn cài đặt active directory trên windows server 2008Hướng dẫn cài đặt active directory trên windows server 2008
Hướng dẫn cài đặt active directory trên windows server 2008NamPhmHoi1
 
Cài đặt và cấu hình dns server trên windows server 2012
Cài đặt và cấu hình dns server trên windows server 2012Cài đặt và cấu hình dns server trên windows server 2012
Cài đặt và cấu hình dns server trên windows server 2012laonap166
 
Hướng dẫn cài đặt windows server 2008 cơ bản cho người mới bắt đầu.
Hướng dẫn cài đặt windows server 2008 cơ bản cho người mới bắt đầu.Hướng dẫn cài đặt windows server 2008 cơ bản cho người mới bắt đầu.
Hướng dẫn cài đặt windows server 2008 cơ bản cho người mới bắt đầu.Brand Xanh
 

What's hot (19)

Lab 7 windows server 2008 server core
Lab 7 windows server 2008 server core Lab 7 windows server 2008 server core
Lab 7 windows server 2008 server core
 
Báo Cáo Cuối Kỳ
Báo Cáo Cuối KỳBáo Cáo Cuối Kỳ
Báo Cáo Cuối Kỳ
 
Báo cáo thực tập (hàng tuần)
Báo cáo thực tập (hàng tuần)Báo cáo thực tập (hàng tuần)
Báo cáo thực tập (hàng tuần)
 
Vpn
VpnVpn
Vpn
 
Dữ liệu file windows 1
Dữ liệu file windows 1Dữ liệu file windows 1
Dữ liệu file windows 1
 
Báo Cáo Thực Tập PowerPoint
Báo Cáo Thực Tập PowerPointBáo Cáo Thực Tập PowerPoint
Báo Cáo Thực Tập PowerPoint
 
Báo cáo thực tập Tuần 1
Báo cáo thực tập Tuần 1Báo cáo thực tập Tuần 1
Báo cáo thực tập Tuần 1
 
Báo cáo thực tập
Báo cáo thực tậpBáo cáo thực tập
Báo cáo thực tập
 
Báo cáo thực tập
Báo cáo thực tậpBáo cáo thực tập
Báo cáo thực tập
 
Part 47 upgrade server 2008 - network load balancing - nlb -www.key4_vip.info
Part 47   upgrade server 2008 - network load balancing - nlb -www.key4_vip.infoPart 47   upgrade server 2008 - network load balancing - nlb -www.key4_vip.info
Part 47 upgrade server 2008 - network load balancing - nlb -www.key4_vip.info
 
Báo cáo thực tập
Báo cáo thực tậpBáo cáo thực tập
Báo cáo thực tập
 
Slide Báo Cáo Cuối Kỳ
Slide Báo Cáo Cuối KỳSlide Báo Cáo Cuối Kỳ
Slide Báo Cáo Cuối Kỳ
 
Báo cáo cuối kỳ
Báo cáo cuối kỳBáo cáo cuối kỳ
Báo cáo cuối kỳ
 
Hướng dẫn cài đặt active directory trên windows server 2008
Hướng dẫn cài đặt active directory trên windows server 2008Hướng dẫn cài đặt active directory trên windows server 2008
Hướng dẫn cài đặt active directory trên windows server 2008
 
Baocaothuctap - power point
Baocaothuctap - power pointBaocaothuctap - power point
Baocaothuctap - power point
 
Cài đặt và cấu hình dns server trên windows server 2012
Cài đặt và cấu hình dns server trên windows server 2012Cài đặt và cấu hình dns server trên windows server 2012
Cài đặt và cấu hình dns server trên windows server 2012
 
Nang cap dc
Nang cap dcNang cap dc
Nang cap dc
 
vpn and nat
vpn and  natvpn and  nat
vpn and nat
 
Hướng dẫn cài đặt windows server 2008 cơ bản cho người mới bắt đầu.
Hướng dẫn cài đặt windows server 2008 cơ bản cho người mới bắt đầu.Hướng dẫn cài đặt windows server 2008 cơ bản cho người mới bắt đầu.
Hướng dẫn cài đặt windows server 2008 cơ bản cho người mới bắt đầu.
 

Viewers also liked

Part 32 virtual privacy network - vpn -www.key4_vip.info
Part 32   virtual privacy network - vpn -www.key4_vip.infoPart 32   virtual privacy network - vpn -www.key4_vip.info
Part 32 virtual privacy network - vpn -www.key4_vip.infolaonap166
 
Part 37 exchange server - message policies -www.key4_vip.info
Part 37   exchange server - message policies -www.key4_vip.infoPart 37   exchange server - message policies -www.key4_vip.info
Part 37 exchange server - message policies -www.key4_vip.infolaonap166
 
Part 20 disaster recovery -www.key4_vip.info
Part 20   disaster recovery -www.key4_vip.infoPart 20   disaster recovery -www.key4_vip.info
Part 20 disaster recovery -www.key4_vip.infolaonap166
 
Part 37 exchange server - recipient configuration - room mailbox -www.key4_...
Part 37   exchange server - recipient configuration - room mailbox -www.key4_...Part 37   exchange server - recipient configuration - room mailbox -www.key4_...
Part 37 exchange server - recipient configuration - room mailbox -www.key4_...laonap166
 
Part 27 dhcp server - dhcp replay agent -www.key4_vip.info
Part 27   dhcp server - dhcp replay agent -www.key4_vip.infoPart 27   dhcp server - dhcp replay agent -www.key4_vip.info
Part 27 dhcp server - dhcp replay agent -www.key4_vip.infolaonap166
 
Part 38 isa server - intrusion detection -www.key4_vip.info
Part 38   isa server - intrusion detection -www.key4_vip.infoPart 38   isa server - intrusion detection -www.key4_vip.info
Part 38 isa server - intrusion detection -www.key4_vip.infolaonap166
 
Part 18 backup - restore -www.key4_vip.info
Part 18   backup - restore -www.key4_vip.infoPart 18   backup - restore -www.key4_vip.info
Part 18 backup - restore -www.key4_vip.infolaonap166
 
Part 15 folder redirected - script -www.key4_vip.info
Part 15   folder redirected - script -www.key4_vip.infoPart 15   folder redirected - script -www.key4_vip.info
Part 15 folder redirected - script -www.key4_vip.infolaonap166
 
Part 24 parental control -www.key4_vip.info
Part 24   parental control -www.key4_vip.infoPart 24   parental control -www.key4_vip.info
Part 24 parental control -www.key4_vip.infolaonap166
 
Part 29 domain name system - dns -www.key4_vip.info
Part 29   domain name system - dns -www.key4_vip.infoPart 29   domain name system - dns -www.key4_vip.info
Part 29 domain name system - dns -www.key4_vip.infolaonap166
 
Os installation in a raid or non raid system
Os installation in a raid or non raid systemOs installation in a raid or non raid system
Os installation in a raid or non raid systemlaonap166
 
Part 9 offline files -www.key4_vip.info
Part 9   offline files -www.key4_vip.infoPart 9   offline files -www.key4_vip.info
Part 9 offline files -www.key4_vip.infolaonap166
 
Scop full realtime solutions yeucau mohinh_tiendo setup bbb
Scop full realtime solutions yeucau mohinh_tiendo setup bbbScop full realtime solutions yeucau mohinh_tiendo setup bbb
Scop full realtime solutions yeucau mohinh_tiendo setup bbblaonap166
 
Part 11 domain controller - join domain -www.key4_vip.info
Part 11   domain controller - join domain -www.key4_vip.infoPart 11   domain controller - join domain -www.key4_vip.info
Part 11 domain controller - join domain -www.key4_vip.infolaonap166
 
Part 37 exchange server - email address policies -www.key4_vip.info
Part 37   exchange server - email address policies -www.key4_vip.infoPart 37   exchange server - email address policies -www.key4_vip.info
Part 37 exchange server - email address policies -www.key4_vip.infolaonap166
 
Part 4 ip address -www.key4_vip.info
Part 4   ip address -www.key4_vip.infoPart 4   ip address -www.key4_vip.info
Part 4 ip address -www.key4_vip.infolaonap166
 
Asterisk sach asterisk tieng viet
Asterisk sach asterisk tieng vietAsterisk sach asterisk tieng viet
Asterisk sach asterisk tieng vietlaonap166
 

Viewers also liked (17)

Part 32 virtual privacy network - vpn -www.key4_vip.info
Part 32   virtual privacy network - vpn -www.key4_vip.infoPart 32   virtual privacy network - vpn -www.key4_vip.info
Part 32 virtual privacy network - vpn -www.key4_vip.info
 
Part 37 exchange server - message policies -www.key4_vip.info
Part 37   exchange server - message policies -www.key4_vip.infoPart 37   exchange server - message policies -www.key4_vip.info
Part 37 exchange server - message policies -www.key4_vip.info
 
Part 20 disaster recovery -www.key4_vip.info
Part 20   disaster recovery -www.key4_vip.infoPart 20   disaster recovery -www.key4_vip.info
Part 20 disaster recovery -www.key4_vip.info
 
Part 37 exchange server - recipient configuration - room mailbox -www.key4_...
Part 37   exchange server - recipient configuration - room mailbox -www.key4_...Part 37   exchange server - recipient configuration - room mailbox -www.key4_...
Part 37 exchange server - recipient configuration - room mailbox -www.key4_...
 
Part 27 dhcp server - dhcp replay agent -www.key4_vip.info
Part 27   dhcp server - dhcp replay agent -www.key4_vip.infoPart 27   dhcp server - dhcp replay agent -www.key4_vip.info
Part 27 dhcp server - dhcp replay agent -www.key4_vip.info
 
Part 38 isa server - intrusion detection -www.key4_vip.info
Part 38   isa server - intrusion detection -www.key4_vip.infoPart 38   isa server - intrusion detection -www.key4_vip.info
Part 38 isa server - intrusion detection -www.key4_vip.info
 
Part 18 backup - restore -www.key4_vip.info
Part 18   backup - restore -www.key4_vip.infoPart 18   backup - restore -www.key4_vip.info
Part 18 backup - restore -www.key4_vip.info
 
Part 15 folder redirected - script -www.key4_vip.info
Part 15   folder redirected - script -www.key4_vip.infoPart 15   folder redirected - script -www.key4_vip.info
Part 15 folder redirected - script -www.key4_vip.info
 
Part 24 parental control -www.key4_vip.info
Part 24   parental control -www.key4_vip.infoPart 24   parental control -www.key4_vip.info
Part 24 parental control -www.key4_vip.info
 
Part 29 domain name system - dns -www.key4_vip.info
Part 29   domain name system - dns -www.key4_vip.infoPart 29   domain name system - dns -www.key4_vip.info
Part 29 domain name system - dns -www.key4_vip.info
 
Os installation in a raid or non raid system
Os installation in a raid or non raid systemOs installation in a raid or non raid system
Os installation in a raid or non raid system
 
Part 9 offline files -www.key4_vip.info
Part 9   offline files -www.key4_vip.infoPart 9   offline files -www.key4_vip.info
Part 9 offline files -www.key4_vip.info
 
Scop full realtime solutions yeucau mohinh_tiendo setup bbb
Scop full realtime solutions yeucau mohinh_tiendo setup bbbScop full realtime solutions yeucau mohinh_tiendo setup bbb
Scop full realtime solutions yeucau mohinh_tiendo setup bbb
 
Part 11 domain controller - join domain -www.key4_vip.info
Part 11   domain controller - join domain -www.key4_vip.infoPart 11   domain controller - join domain -www.key4_vip.info
Part 11 domain controller - join domain -www.key4_vip.info
 
Part 37 exchange server - email address policies -www.key4_vip.info
Part 37   exchange server - email address policies -www.key4_vip.infoPart 37   exchange server - email address policies -www.key4_vip.info
Part 37 exchange server - email address policies -www.key4_vip.info
 
Part 4 ip address -www.key4_vip.info
Part 4   ip address -www.key4_vip.infoPart 4   ip address -www.key4_vip.info
Part 4 ip address -www.key4_vip.info
 
Asterisk sach asterisk tieng viet
Asterisk sach asterisk tieng vietAsterisk sach asterisk tieng viet
Asterisk sach asterisk tieng viet
 

Similar to Part 48 upgrade server 2008 - windows server core - wsc -www.key4_vip.info

vpn gateway to gateway
vpn gateway to gatewayvpn gateway to gateway
vpn gateway to gatewaylaonap166
 
Báo cáo thực tập
Báo cáo thực tậpBáo cáo thực tập
Báo cáo thực tậpNhật Trinh
 
Part 38 isa server - installation -www.key4_vip.info
Part 38   isa server - installation -www.key4_vip.infoPart 38   isa server - installation -www.key4_vip.info
Part 38 isa server - installation -www.key4_vip.infolaonap166
 
Part 31 internet information service - iis -www.key4_vip.info
Part 31   internet information service - iis -www.key4_vip.infoPart 31   internet information service - iis -www.key4_vip.info
Part 31 internet information service - iis -www.key4_vip.infolaonap166
 
Part 43 upgrade server 2008 - windows deployment services - wds -www.key4_v...
Part 43   upgrade server 2008 - windows deployment services - wds -www.key4_v...Part 43   upgrade server 2008 - windows deployment services - wds -www.key4_v...
Part 43 upgrade server 2008 - windows deployment services - wds -www.key4_v...laonap166
 
Bao cao thuc_tap_athena_cuoi_ky_hoang_phuc
Bao cao thuc_tap_athena_cuoi_ky_hoang_phucBao cao thuc_tap_athena_cuoi_ky_hoang_phuc
Bao cao thuc_tap_athena_cuoi_ky_hoang_phucTeemo Hành Gia
 
Part 28 windows internet name system - wins -www.key4_vip.info
Part 28   windows internet name system - wins -www.key4_vip.infoPart 28   windows internet name system - wins -www.key4_vip.info
Part 28 windows internet name system - wins -www.key4_vip.infolaonap166
 
Tai lieu quan tri mang windows server 2008
Tai lieu quan tri mang windows server 2008Tai lieu quan tri mang windows server 2008
Tai lieu quan tri mang windows server 2008laonap166
 
Thiet lap nhieu domain chay song song trien khai he thong dfs p1.2
Thiet lap nhieu domain chay song song trien khai he thong dfs p1.2Thiet lap nhieu domain chay song song trien khai he thong dfs p1.2
Thiet lap nhieu domain chay song song trien khai he thong dfs p1.2laonap166
 
Hướng dẫn cài đặt và cấu hình cacti trên cent os
Hướng dẫn cài đặt và cấu hình cacti trên cent osHướng dẫn cài đặt và cấu hình cacti trên cent os
Hướng dẫn cài đặt và cấu hình cacti trên cent oslaonap166
 
Cau hinh vpn client 2 site su dung rra
Cau hinh vpn client 2 site su dung rraCau hinh vpn client 2 site su dung rra
Cau hinh vpn client 2 site su dung rratranlethuynga
 
Chia site trên windows server 2008
Chia site trên windows server 2008Chia site trên windows server 2008
Chia site trên windows server 2008laonap166
 
Vpn toàn tập trên công nghệ microsoft
Vpn toàn tập trên công nghệ microsoftVpn toàn tập trên công nghệ microsoft
Vpn toàn tập trên công nghệ microsoftHate To Love
 
Athena - Nghiên cứu và triển khai các dịch vụ mạng trên windows sever 2008 (...
Athena - Nghiên cứu và triển khai các dịch vụ mạng trên windows sever 2008  (...Athena - Nghiên cứu và triển khai các dịch vụ mạng trên windows sever 2008  (...
Athena - Nghiên cứu và triển khai các dịch vụ mạng trên windows sever 2008 (...Ngô Hùng
 
Quản trị exchange server 2010 phan 1
Quản trị exchange server 2010 phan 1Quản trị exchange server 2010 phan 1
Quản trị exchange server 2010 phan 1laonap166
 
Quản trị mạng linux full
Quản trị mạng linux fullQuản trị mạng linux full
Quản trị mạng linux fulljackjohn45
 

Similar to Part 48 upgrade server 2008 - windows server core - wsc -www.key4_vip.info (20)

vpn gateway to gateway
vpn gateway to gatewayvpn gateway to gateway
vpn gateway to gateway
 
Báo cáo thực tập
Báo cáo thực tậpBáo cáo thực tập
Báo cáo thực tập
 
Part 38 isa server - installation -www.key4_vip.info
Part 38   isa server - installation -www.key4_vip.infoPart 38   isa server - installation -www.key4_vip.info
Part 38 isa server - installation -www.key4_vip.info
 
Part 31 internet information service - iis -www.key4_vip.info
Part 31   internet information service - iis -www.key4_vip.infoPart 31   internet information service - iis -www.key4_vip.info
Part 31 internet information service - iis -www.key4_vip.info
 
Lam dia boot mang
Lam dia boot mangLam dia boot mang
Lam dia boot mang
 
Cai dat dhcp
Cai dat  dhcpCai dat  dhcp
Cai dat dhcp
 
Part 43 upgrade server 2008 - windows deployment services - wds -www.key4_v...
Part 43   upgrade server 2008 - windows deployment services - wds -www.key4_v...Part 43   upgrade server 2008 - windows deployment services - wds -www.key4_v...
Part 43 upgrade server 2008 - windows deployment services - wds -www.key4_v...
 
Bao cao thuc_tap_athena_cuoi_ky_hoang_phuc
Bao cao thuc_tap_athena_cuoi_ky_hoang_phucBao cao thuc_tap_athena_cuoi_ky_hoang_phuc
Bao cao thuc_tap_athena_cuoi_ky_hoang_phuc
 
Part 28 windows internet name system - wins -www.key4_vip.info
Part 28   windows internet name system - wins -www.key4_vip.infoPart 28   windows internet name system - wins -www.key4_vip.info
Part 28 windows internet name system - wins -www.key4_vip.info
 
Ip workgroup
Ip workgroupIp workgroup
Ip workgroup
 
Tai lieu quan tri mang windows server 2008
Tai lieu quan tri mang windows server 2008Tai lieu quan tri mang windows server 2008
Tai lieu quan tri mang windows server 2008
 
Thiet lap nhieu domain chay song song trien khai he thong dfs p1.2
Thiet lap nhieu domain chay song song trien khai he thong dfs p1.2Thiet lap nhieu domain chay song song trien khai he thong dfs p1.2
Thiet lap nhieu domain chay song song trien khai he thong dfs p1.2
 
Vpn site to site
Vpn site to siteVpn site to site
Vpn site to site
 
Hướng dẫn cài đặt và cấu hình cacti trên cent os
Hướng dẫn cài đặt và cấu hình cacti trên cent osHướng dẫn cài đặt và cấu hình cacti trên cent os
Hướng dẫn cài đặt và cấu hình cacti trên cent os
 
Cau hinh vpn client 2 site su dung rra
Cau hinh vpn client 2 site su dung rraCau hinh vpn client 2 site su dung rra
Cau hinh vpn client 2 site su dung rra
 
Chia site trên windows server 2008
Chia site trên windows server 2008Chia site trên windows server 2008
Chia site trên windows server 2008
 
Vpn toàn tập trên công nghệ microsoft
Vpn toàn tập trên công nghệ microsoftVpn toàn tập trên công nghệ microsoft
Vpn toàn tập trên công nghệ microsoft
 
Athena - Nghiên cứu và triển khai các dịch vụ mạng trên windows sever 2008 (...
Athena - Nghiên cứu và triển khai các dịch vụ mạng trên windows sever 2008  (...Athena - Nghiên cứu và triển khai các dịch vụ mạng trên windows sever 2008  (...
Athena - Nghiên cứu và triển khai các dịch vụ mạng trên windows sever 2008 (...
 
Quản trị exchange server 2010 phan 1
Quản trị exchange server 2010 phan 1Quản trị exchange server 2010 phan 1
Quản trị exchange server 2010 phan 1
 
Quản trị mạng linux full
Quản trị mạng linux fullQuản trị mạng linux full
Quản trị mạng linux full
 

More from laonap166

Huong dan xu ly cac loi khi su dung phan mem reset may in
Huong dan xu ly cac loi khi su dung phan mem reset may inHuong dan xu ly cac loi khi su dung phan mem reset may in
Huong dan xu ly cac loi khi su dung phan mem reset may inlaonap166
 
Huong dan reset muc l200 epson
Huong dan reset muc l200 epsonHuong dan reset muc l200 epson
Huong dan reset muc l200 epsonlaonap166
 
NEC Server Documents
NEC Server DocumentsNEC Server Documents
NEC Server Documentslaonap166
 
Mtcv giám đốc tt cntt
Mtcv giám đốc tt cnttMtcv giám đốc tt cntt
Mtcv giám đốc tt cnttlaonap166
 
Nếu bạn làm it bạn cần biết
Nếu bạn làm it  bạn cần biếtNếu bạn làm it  bạn cần biết
Nếu bạn làm it bạn cần biếtlaonap166
 
Nhạp mon lap trinh khong code
Nhạp mon lap trinh khong code Nhạp mon lap trinh khong code
Nhạp mon lap trinh khong code laonap166
 
Ha active active bang gfs2
Ha active  active bang gfs2Ha active  active bang gfs2
Ha active active bang gfs2laonap166
 
Hướng dẫn cài đặt phần mềm turnoffmonitor
Hướng dẫn cài đặt phần mềm turnoffmonitorHướng dẫn cài đặt phần mềm turnoffmonitor
Hướng dẫn cài đặt phần mềm turnoffmonitorlaonap166
 
Bao cao web cake php
Bao cao web cake phpBao cao web cake php
Bao cao web cake phplaonap166
 
He 74 a-thltht-lãxuântâm-11tlt
He 74 a-thltht-lãxuântâm-11tltHe 74 a-thltht-lãxuântâm-11tlt
He 74 a-thltht-lãxuântâm-11tltlaonap166
 
Quản lý cua hang giai khat lxt
Quản lý cua hang giai khat lxtQuản lý cua hang giai khat lxt
Quản lý cua hang giai khat lxtlaonap166
 
Ve ngoi nha lap trinh do hoa bang c
Ve ngoi nha lap trinh do hoa bang cVe ngoi nha lap trinh do hoa bang c
Ve ngoi nha lap trinh do hoa bang claonap166
 
Don xin thanh lap doanh nghiep lien doanh
Don xin thanh lap doanh nghiep lien doanhDon xin thanh lap doanh nghiep lien doanh
Don xin thanh lap doanh nghiep lien doanhlaonap166
 
Thu cam on khach hang
Thu cam on khach hangThu cam on khach hang
Thu cam on khach hanglaonap166
 
Cai dat su_dung_acronis_snapdeployforpc_debungfilebackuphangloat
Cai dat su_dung_acronis_snapdeployforpc_debungfilebackuphangloatCai dat su_dung_acronis_snapdeployforpc_debungfilebackuphangloat
Cai dat su_dung_acronis_snapdeployforpc_debungfilebackuphangloatlaonap166
 
Xd email server zimbra
Xd email server zimbraXd email server zimbra
Xd email server zimbralaonap166
 
Tom tat ly thuyet thi bằng lái xe b2
Tom tat ly thuyet thi bằng lái xe b2Tom tat ly thuyet thi bằng lái xe b2
Tom tat ly thuyet thi bằng lái xe b2laonap166
 
Policy Based Assignment DHCP – Windows Server 2012
Policy Based Assignment DHCP – Windows Server 2012Policy Based Assignment DHCP – Windows Server 2012
Policy Based Assignment DHCP – Windows Server 2012laonap166
 
How to backup active directory domain services database in windows server 201...
How to backup active directory domain services database in windows server 201...How to backup active directory domain services database in windows server 201...
How to backup active directory domain services database in windows server 201...laonap166
 
Dns backup and recovery in windows server 2012 r2
Dns backup and recovery in windows server 2012 r2Dns backup and recovery in windows server 2012 r2
Dns backup and recovery in windows server 2012 r2laonap166
 

More from laonap166 (20)

Huong dan xu ly cac loi khi su dung phan mem reset may in
Huong dan xu ly cac loi khi su dung phan mem reset may inHuong dan xu ly cac loi khi su dung phan mem reset may in
Huong dan xu ly cac loi khi su dung phan mem reset may in
 
Huong dan reset muc l200 epson
Huong dan reset muc l200 epsonHuong dan reset muc l200 epson
Huong dan reset muc l200 epson
 
NEC Server Documents
NEC Server DocumentsNEC Server Documents
NEC Server Documents
 
Mtcv giám đốc tt cntt
Mtcv giám đốc tt cnttMtcv giám đốc tt cntt
Mtcv giám đốc tt cntt
 
Nếu bạn làm it bạn cần biết
Nếu bạn làm it  bạn cần biếtNếu bạn làm it  bạn cần biết
Nếu bạn làm it bạn cần biết
 
Nhạp mon lap trinh khong code
Nhạp mon lap trinh khong code Nhạp mon lap trinh khong code
Nhạp mon lap trinh khong code
 
Ha active active bang gfs2
Ha active  active bang gfs2Ha active  active bang gfs2
Ha active active bang gfs2
 
Hướng dẫn cài đặt phần mềm turnoffmonitor
Hướng dẫn cài đặt phần mềm turnoffmonitorHướng dẫn cài đặt phần mềm turnoffmonitor
Hướng dẫn cài đặt phần mềm turnoffmonitor
 
Bao cao web cake php
Bao cao web cake phpBao cao web cake php
Bao cao web cake php
 
He 74 a-thltht-lãxuântâm-11tlt
He 74 a-thltht-lãxuântâm-11tltHe 74 a-thltht-lãxuântâm-11tlt
He 74 a-thltht-lãxuântâm-11tlt
 
Quản lý cua hang giai khat lxt
Quản lý cua hang giai khat lxtQuản lý cua hang giai khat lxt
Quản lý cua hang giai khat lxt
 
Ve ngoi nha lap trinh do hoa bang c
Ve ngoi nha lap trinh do hoa bang cVe ngoi nha lap trinh do hoa bang c
Ve ngoi nha lap trinh do hoa bang c
 
Don xin thanh lap doanh nghiep lien doanh
Don xin thanh lap doanh nghiep lien doanhDon xin thanh lap doanh nghiep lien doanh
Don xin thanh lap doanh nghiep lien doanh
 
Thu cam on khach hang
Thu cam on khach hangThu cam on khach hang
Thu cam on khach hang
 
Cai dat su_dung_acronis_snapdeployforpc_debungfilebackuphangloat
Cai dat su_dung_acronis_snapdeployforpc_debungfilebackuphangloatCai dat su_dung_acronis_snapdeployforpc_debungfilebackuphangloat
Cai dat su_dung_acronis_snapdeployforpc_debungfilebackuphangloat
 
Xd email server zimbra
Xd email server zimbraXd email server zimbra
Xd email server zimbra
 
Tom tat ly thuyet thi bằng lái xe b2
Tom tat ly thuyet thi bằng lái xe b2Tom tat ly thuyet thi bằng lái xe b2
Tom tat ly thuyet thi bằng lái xe b2
 
Policy Based Assignment DHCP – Windows Server 2012
Policy Based Assignment DHCP – Windows Server 2012Policy Based Assignment DHCP – Windows Server 2012
Policy Based Assignment DHCP – Windows Server 2012
 
How to backup active directory domain services database in windows server 201...
How to backup active directory domain services database in windows server 201...How to backup active directory domain services database in windows server 201...
How to backup active directory domain services database in windows server 201...
 
Dns backup and recovery in windows server 2012 r2
Dns backup and recovery in windows server 2012 r2Dns backup and recovery in windows server 2012 r2
Dns backup and recovery in windows server 2012 r2
 

Part 48 upgrade server 2008 - windows server core - wsc -www.key4_vip.info

  • 1. “Chuyên trang dành cho kỹ thuật viên tin học” CHIA SẺ - KINH NGHIỆM - HỌC TẬP - THỦ THUẬT Part 48 - Upgrade Server 2008 - Windows Server Core - WSC Kể từ Windows Server 2008 trở đi Microsoft đã nhận thấy vấn đề bảo mật & ổn định hệ thống càng được phải chú trọng hơn chính vì thế Microsoft đã đưa ra một chuẩn hệ điều hành Server mới gọi là Windows Server Core với chuẩn mới này hệ điều hành Server của bạn không còn giao diện đồ họa nữa mà mọi thao tác trên Server đều được sử dụng bằng lệnh thông qua DOS Command hoặc các công cụ điều khiển từ xa trong Remote Administration được tích hợp trong Windows Vista & Windows Server 2008 Lợi ích của việc ứng dụng Windows Server Core: - Giảm đến mức tối đa khả năng bị tấn công từ bên ngoài vì Server Core không có các công cụ đồ họa cũng như các công cụ, ứng dụng... - Server Core sẽ giúp ta giảm bớt công tác bảo trì vì mọi thao tác ta đều thực hiện trên một máy Remote khác, chính vì không có các công cụ, ứng dụng... nên Server Core chạy rất ổn định ít gây lỗi cũng như xung đột hệ thống. - Server Core chiếm rất ít dung lượng đĩa cứng chỉ khoảng 1.5Gb mà thôi nên các dịch vụ chạy trên này sẽ có tốc độ truy cập nhanh hơn và không gian đĩa cứng sẽ dư giả hơn. Như vậy với Server Core người ta sẽ cài các dịch vụ như DHCP, DNS, Web..... lên các máy Server Core này. Khi đó ta dùng một máy Server 2008 nào đó và tiến hành cài các công cụ Remote Administration lên đây để cấu hình các dịch vụ trên Server Core. Như vậy trong mô hình này tôi sử dụng 2 máy trong đó: - Máy PC01 là máy Server 2008 - Máy PC02 là các máy Server Core và sẽ tiến hành nâng cấp lên DC Server với Domain là gccom.net Cấu hình IP các máy như sau: Máy Đặc tính PC01 PC02 Card Lan IP Address 192.168.1.1 Subnet Mask 255.255.255.0 1 of 14
  • 2. Default gateway Preferred DNS 192.168.1.2 Card Cross IP Address Subnet Mask Default gateway Preferred DNS Card Lan: nối gián tiếp 2 máy PC01 & PC02 với nhau thông qua Switch Card Cross: nối trực tiếp các cặp máy PC01 với PC02 Bây giờ ta tiến hành cài đặt một Windows Server Core (Xem lại bài Part 19 - Install Windows - Sysprep). Tại màn hình Select the operating system you want to install bạn chọn phiên bản Windows Server 2008 Enterprise (Server Core Installation) Quá trình cài đặt Server Core đang tiến hành 2 of 14
  • 3. Sau khi quá trình cài đặt Server Core hoàn tất bạn đăng nhập vào Windows tuy nhiên vì Server Core không có giao diện đồ họa nên sau khi đăng nhập thành công màn hình DOS Command sẽ bật lên Tiếp tục bạn nhập lệnh hostname để xem tên của máy tính Mặc định sau khi cài đặt hoàn tất Windows Server Core sẽ gán một tên rất rườm rà trong bài là WIN-H7X0AWSUYD3 Bây giờ ta sẽ tiến hành đổi tên máy thành CORE bạn nhập lệnh: Netdom RenameComputer %ComputerName% /NewName:CORE Nhập Y để đồng ý Tiếp tục Restart lại máy tính bạn nhập lệnh: Shutdown /r /t 0 3 of 14
  • 4. Sau khi Restart lại máy tính ta sẽ tiến hành nâng cấp Server Core lên thành DC Server Core Trước tiên bạn tắt Firewall bằng cách nhập lệnh: NetSH Firewall Set OpMode Mode=Disable Tại máy PC01 (Server 2008) bạn cũng tắt Firewall đi 4 of 14
  • 5. Trở lại máy PC02 (Server Core) ta tiến hành xem chi tiết các Card mạng của máy bằng cách nhập lệnh: NetSH Interface ipv4 Show Interface Trong bài chúng ta sẽ thấy có đến 2 Card mạng là Local Area Connection & Local Area Connection 2 với ID tương tứng là 2 và 5 Do mặc định IP của các Card này đều ở trạng thái Obtain nên ta sẽ tiến hành cấu hình IP cho các Card này, bạn nhập lệnh: ipconfig /all để xem IP các Card mạng 5 of 14
  • 6. Trong bài do tôi chỉ sử dụng Card Local Area Connection nên tôi sẽ tiến hành chỉnh IP cua Card này bạn nhập lệnh theo cú pháp NetSH Interface ipv4 Set Address Name"<ID của Card mạng cần chỉnh>" Source=Static Address=<IP Address sẽ set> Mask=<Subnet Mask> Gateway=<Default Gateway> Trong ví dụ này tôi sẽ cấu hình IP Card Local Area Connection thành 192.168.1.2/24 với Default Gateway là 192.168.1.200 nên tại DOS Command tôi nhập lệnh: NetSH Interface ipv4 Set Address Name"2" Source=Static Address=192.168.1.2 Mask=255.255.255.0 Gateway=192.168.1.200 Tiếp tục ta sẽ chỉnh Preferred DNS của Card Local Area Connection về chính IP của mình bằng cách nhập lệnh: 6 of 14
  • 7. NetSH Interface ipv4 Set DNSServer Name="2" Address=192.168.1.2 index=1 Nhập lệnh ipconfig /all để xem kết quả Ping thử PC01 thấy truy cập thành công 7 of 14
  • 8. Bây giờ từ máy PC01 bạn truy cập vào ổ đĩa C: của PC02 và tạo một File là Unattend.txt Nội dung file Unattend.txt [DCINSTALL] ReplicaOrNewDomain=Domain TreeOrChild=Tree CreateOrJoin=Create NewDomainDNSName=gccom.net DNSOnNetwork=yes DomainNetbiosName=gccom 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 Tại máy PC02 nhập lệnh Dir để xác thực đã tồn tại File Unattend.txt trong C: 8 of 14
  • 9. Bây giờ ta sẽ tiến hành nâng cấp lên DC Server Core bằng cách nhập lệnh: DCPROMO /Unattend:unattend.txt Quá trình nâng cấp đang diễn ra Sau khi cài đặt hoàn tất bạn vào lại ipconfig /all để xác định máy đã được nâng cấp lên DC Server Core hoàn chỉnh 9 of 14
  • 10. Bây giờ tại máy PC01 tôi sẽ tiến hành Join vào Domain gccom.net trong DC Server Core Trước tiên trong IP Card Lan bạn phải Preferred DNS về máy PC02 Chuyển từ WORKGROUP sang Domain là gccom.net 10 of 14
  • 11. Sau khi Join thành công bạn vào lại System Properties để xác nhận là máy PC01 đã được Join vào Domain thành công Bây giờ tại máy PC01 tôi sẽ tiến hành cài đặt các công cụ Remote Administration để điều khiển từ xa cho máy Server Core Bật Server Manager lên chọn Features -> Add Features Tại màn hình Select Features bạn chọn Remote Server Administration Tools và tiến hành cài đặt 11 of 14
  • 12. Sau khi cài đặt hoàn tất ta thấy trong Administrative Tools của PC01 có rất nhiều công cụ mới đây chính là các công cụ để bạn có thể từ máy PC01 tinh chỉnh máy PC02 bằng giao diện đồ họa Giả sử tôi sẽ từ máy PC01 và muốn cấu hình DNS cho máy PC02 nên tại đây tôi chọn DNS 12 of 14
  • 13. Trong màn hình Connect to DNS Server bật ra bạn nhập IP của máy PC02 và nhấp OK Màn hình DNS của PC02 sẽ hiện ra hoàn chỉnh và mọi cấu hình của bạn trên này hoàn toàn không tác động gì đến PC01 cả mà sẽ được lưu trực tiếp lên máy PC02 (Windows Server Core) mà thôi 13 of 14
  • 14. OK mình vừa trình bày xong phần Windows Server Core trong 70-648, 70-649 của MCSA. Công ty TNHH đầu tư phát triển tin học GC Com Chuyên trang kỹ thuật máy vi tính cho kỹ thuật viên tin học Điện thoại: (073) - 3.511.373 - 6.274.294 Website: http://www.gccom.net 14 of 14