SlideShare a Scribd company logo
1 of 9
Download to read offline
Lab Windows Server 2008

Lab #7 – Windows Server Core Installation

Windows Server Core Installation
I. Giới thiệu:
- Server Core là một kiểu cài đặt thu gọn của Windows Server 2008, trong đó gồm có những
thành phần cơ bản nhất của Windows được dùng để triển khai các dịch vụ trên Windows Server
2008.
1. Đặc điểm cơ bản:
- Server Core không cung cấp cho bạn một giao diện đồ họa thông thường của Windows để
tương tác với hệ thống. Thay vào đó bạn sẽ phải sử dụng giao diện dòng lệnh (Command Line),
các công cụ quản trị từ xa và Terminal Services.
- Server Core không yêu cầu bạn phải cài đặt các bản cập nhật không cần thiết lên Windows,
đồng thời tối ưu hóa số lượng dịch vụ cần dùng. Từ đó nâng cao tính năng bảo mật, đồng thời
giảm số lượng các dịch vụ cần nạp, tiết kiệm tài nguyên hệ thống.
2. Các dịch vụ và tính năng hỗ trợ:
- Với Server Core, bạn có thể triển khai các dịch vụ:
ü Active Directory Domain Services
ü Active Directory Lightweight Directory Services
ü Streaming Media Services
ü DNS Server
ü Print Server
ü File Server
ü DHCP Server.
- 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
…….
II. Cài đặt:
- Việc cài đặt này cũng giống như cài đặt Windows Server 2008 Full Enterprise nên một số bước
sẽ được bỏ qua.
LiveClub Hoa Sen
www.liveclubhoasen.net
Lab Windows Server 2008

Lab #7 – Windows Server Core Installation

- Chọn Windows Server 2008 Enterprise (Server Core Installation).
- Đánh dấu chọn vào I have selected the edition of Windows that I purchased
- Chọn Next.Đợi một thời gian để hệ thống tiến hành cài đặt.
- Sau khi cài đặt hoàn tất thì ngay màn hình đầu tiên là khung Command Prompt. Vì password
ban đầu của tài khoản Administrator là password trắng nên bạn phải đổi password.
- Để thay đổi password cho tài khoản Administrator gõ lệnh
net user administrator [password muốn đổi]
password của bạn phải là kiểu password complexity .(a,A,@,1….)

LiveClub Hoa Sen
www.liveclubhoasen.net
Lab Windows Server 2008

Lab #7 – Windows Server Core Installation

III. Các thao tác trên Windows Server Core:
1. Thiết lập các thông số cho card mạng và kết nối mạng:
- Để thiết lập các thông số liên quan đến địa chỉ IP cho các card mạng trên Server Core, bạn
cần thực hiện 2 lệnh.
- Lệnh thứ nhất dùng để hiển thị các thông số card mạng mà mình muốn thiết lập. Gõ lệnh
netsh interface ipv4 show interface
Cột idx chính là số thứ tự card mạng chúng ta đang dùng (trong trường hợp này là số 2).

- Sau khi đã xác định được card mạng, sử dụng lệnh
netsh interface ipv4 set address
Vd: Muốn thiết lập các thông số card mạng như sau:
IP: 192.168.1.38
Subnet mask : 255.255.255.0
Gateway : 192.168.1.1
Nhập lệnh như sau:
netsh

interface

ipv4

set

address

name=2

source=static

address=192.168.1.38 mask=255.255.255.0 gateway=192.168.1.1
Sau khi nhập lệnh ấn Enter để thực thi lệnh và dùng lệnh ipconfig để xem thông số mình
vừa thiết lập.

LiveClub Hoa Sen
www.liveclubhoasen.net
Lab Windows Server 2008

Lab #7 – Windows Server Core Installation

2. Thiết lập địa chỉ DNS cho card mạng:
- Nếu muốn thiết lập địa chỉ DNS Server cho card mạng ,sử dụng lệnh
netsh interface ipv4 add dnsserver.
- Ví dụ, thiết lập địa chỉ DNS Server là 210.245.24.22 và 210.245.24.20 cho card mạng, gõ
lệnh sau và nhấn Enter:
netsh interface ipv4 add dnsserver name=2 address=210.245.24.20

netsh interface ipv4 add dnsserver name=2 address=210.245.24.22

LiveClub Hoa Sen
www.liveclubhoasen.net
Lab Windows Server 2008

Lab #7 – Windows Server Core Installation

3. Thay đổi tên máy:
- Để làm việc hiệu quả hơn,bạn nên thay đổi tên máy tính,vì khi cài đặt Windows Server 2008
Server Core xong thì máy tính sẽ tên ngẫu nhiên.Để biết tên hiện tại của máy tính gõ lệnh
hostname

- Hiện tại tên máy tính là WIN-7BWZR4GA8J1. Đây là tên ngẫu nhiên khi cài đặt xong
Windows Server 2008.
- Để thay đổi tên máy tính, chẳng hạn hoasenclub, thực hiện lệnh sau:
wmic

computersystem

where

name=”%computername%”

name=”hoasenclub”
Nếu kết quả xuất hiện giá trị ReturnValue = 0; thì việc thay đổi đã thành công.

LiveClub Hoa Sen
www.liveclubhoasen.net

rename
Lab Windows Server 2008

Lab #7 – Windows Server Core Installation

- Để thay đổi có hiệu lực bạn phải restart lại hệ thống. Gõ lệnh để restart lại hệ thống:
shutdown /r /t 0

4. Join client vào domain:
- Để join client vào domain bạn sử dụng lệnh netdom. Đồng thời bạn cần xác định tên domain,
tài khoản có quyền join client vào domain. Đó là tài khoản Administrator của domain.
- Ví dụ tôi muốn join client vào domain liveclubhoasen.com với tài khoản Administrator.
Password là P@ssword1. Đây là tài khoản của domain. Gõ lệnh sau:
netdom

join

%computername%

/domain:liveclubhoasen.com

/userd:Administrator /passwordd:P@ssword1

LiveClub Hoa Sen
www.liveclubhoasen.net
Lab Windows Server 2008

Lab #7 – Windows Server Core Installation

- Nếu bạn muốn ẩn password thì thay /passwordd:pass@word1 bằng /passwordd:* sau
đó gõ password ở dưới.

- Khi nhận được thông báo ‘The computer needs to be restarted in order to complete the operation’
việc join vào domain đã hoàn tất. Khởi động lại máy để thay đổi có hiệu lực. Lưu ý: trước khi join
vào domain cần thiết lập IP cho client.
Nếu muốn client ra khỏi domain thì gõ lệnh:
netdom

remove

%computername%

/domain:liveclubhoasen.com

/userd:Administrator /passwordd:P@ssword1
5. Thiết lập chế độ cập nhật tự động:
- Để cấu hình khả năng tự động cập nhật (Automatic Updates) trên Server Core, bạn sử dụng
một file script tên scregedit.wsf. File này nằm ở C:Windowssystem32.
- Để kích hoạt khả năng cập nhật tự động,di chuyển vào C:Windowssystem32 bằng lệnh :
cd C:Windowssystem32
Sau đó gõ lệnh
cscript scregedit.wsf /AU 4

LiveClub Hoa Sen
www.liveclubhoasen.net
Lab Windows Server 2008

Lab #7 – Windows Server Core Installation

6. Cấu hình và cài đặt các dịch vụ trong Server Core:
- Để cài đặt dịch vụ DNS, gõ lệnh
start /w ocsetup DNS-Server-Core-Role
Bạn phải gõ chính xách cụm từ DNS-Server-Core-Role. Nếu gõ sai cụm từ này sẽ hiện thông
báo.
- Sau khi gõ chính xác dòng lệnh,đợi một thời gian để hệ thống cài đặt.

LiveClub Hoa Sen
www.liveclubhoasen.net
Lab Windows Server 2008

Lab #7 – Windows Server Core Installation

- Sau khi đã cài đặt xong dịch vụ,bây giờ chúng ta thêm zone vào.
Ví dụ : tạo zone liveclubhoasen.com kiểu primary zone vào, gõ lệnh sau :
dnscmd

/zoneadd

“liveclubhoasen.com”

/primary

/file

“liveclubhoasen.com.dns”

- Để bổ sung các record vào zone ,sử dụng lệnh dnscmd /recordadd
Ví dụ : bổ sung DNS record dạng Host (A) ,tên máy tính là hoasenclub,địa chỉ IP là
192.168.1.1 thực hiện lệnh:
dnscmd /recordadd liveclubhoasen.com hoasenclub A 192.168.1.38
- Nếu muốn xóa record dùng lệnh dnscmd /recorddelete .(cấu trúc tương tư với lệnh
thêm record). Sau khi thực hiện lệnh xóa,xuất hiện dòng “Are you sure you want to delete
record? (y/n), bấm chữ y trên bàn phím để đồng ý.
Lưu ý: trước khi thực hiện nên xem lại tên máy tính và IP
Để xem chi tiết các zone trong DNS Server,sử dụng lệnh dnscmd /zoneprint
Ví dụ:
dnscmd /zoneprint liveclubhoasen.com

- Đối với việc bổ sung Alias (CNAME) cũng tương tự, thay A bằng CNAME.
LiveClub Hoa Sen
www.liveclubhoasen.net

More Related Content

What's hot

Lab 9 dns server
Lab 9 dns serverLab 9 dns server
Lab 9 dns servertinhban269
 
Hướng dẫn nâng cấp Windows Server 2008 lên thành Domain Controller
Hướng dẫn nâng cấp Windows Server 2008 lên thành Domain ControllerHướng dẫn nâng cấp Windows Server 2008 lên thành Domain Controller
Hướng dẫn nâng cấp Windows Server 2008 lên thành Domain ControllerThức Nguyễn Văn
 
Lab 2 nâng cấp windows server 2003 lên windows server 2008 .pdf
Lab 2 nâng cấp windows server 2003 lên windows server 2008 .pdfLab 2 nâng cấp windows server 2003 lên windows server 2008 .pdf
Lab 2 nâng cấp windows server 2003 lên windows server 2008 .pdfPham Viet Dung
 
Lab 16 terminal services
Lab 16 terminal services  Lab 16 terminal services
Lab 16 terminal services Pham Viet Dung
 
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
 
Cài đặt và cấu hình dhcp server trên windows server 2012
Cài đặt và cấu hình dhcp server trên windows server 2012Cài đặt và cấu hình dhcp server trên windows server 2012
Cài đặt và cấu hình dhcp server trên windows server 2012laonap166
 
Windows deployment services
Windows deployment servicesWindows deployment services
Windows deployment servicesPham Viet Dung
 
Dynamic host configuration protocol
Dynamic host configuration protocolDynamic host configuration protocol
Dynamic host configuration protocoltranlethuynga
 
Bài 10: Giới thiệu về Server Core - Giáo trình FPT
Bài 10: Giới thiệu về Server Core - Giáo trình FPTBài 10: Giới thiệu về Server Core - Giáo trình FPT
Bài 10: Giới thiệu về Server Core - Giáo trình FPTMasterCode.vn
 
Bai Thuc hanh DNS
Bai Thuc hanh DNSBai Thuc hanh DNS
Bai Thuc hanh DNSnp_thanh
 
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
 
Lab 20 active directory right managment services (ad rms)
Lab 20 active directory right managment services (ad rms)     Lab 20 active directory right managment services (ad rms)
Lab 20 active directory right managment services (ad rms) Pham Viet Dung
 
Lab 3 công cụ quản trị server manager .pdf
Lab 3 công cụ quản trị server manager  .pdfLab 3 công cụ quản trị server manager  .pdf
Lab 3 công cụ quản trị server manager .pdfPham Viet Dung
 
Ha active active bang gfs2
Ha active  active bang gfs2Ha active  active bang gfs2
Ha active active bang gfs2laonap166
 
Cài đặt dịch vụ ssh trên local - Thực tập Athena
Cài đặt dịch vụ ssh trên local - Thực tập AthenaCài đặt dịch vụ ssh trên local - Thực tập Athena
Cài đặt dịch vụ ssh trên local - Thực tập Athenaquocluong
 

What's hot (20)

Lab 9 dns server
Lab 9 dns serverLab 9 dns server
Lab 9 dns server
 
Hướng dẫn nâng cấp Windows Server 2008 lên thành Domain Controller
Hướng dẫn nâng cấp Windows Server 2008 lên thành Domain ControllerHướng dẫn nâng cấp Windows Server 2008 lên thành Domain Controller
Hướng dẫn nâng cấp Windows Server 2008 lên thành Domain Controller
 
Lab 2 nâng cấp windows server 2003 lên windows server 2008 .pdf
Lab 2 nâng cấp windows server 2003 lên windows server 2008 .pdfLab 2 nâng cấp windows server 2003 lên windows server 2008 .pdf
Lab 2 nâng cấp windows server 2003 lên windows server 2008 .pdf
 
Dns
DnsDns
Dns
 
Cai dat dhcp
Cai dat  dhcpCai dat  dhcp
Cai dat dhcp
 
Baocaothuctap - power point
Baocaothuctap - power pointBaocaothuctap - power point
Baocaothuctap - power point
 
Lab 16 terminal services
Lab 16 terminal services  Lab 16 terminal services
Lab 16 terminal services
 
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
 
Cài đặt và cấu hình dhcp server trên windows server 2012
Cài đặt và cấu hình dhcp server trên windows server 2012Cài đặt và cấu hình dhcp server trên windows server 2012
Cài đặt và cấu hình dhcp server trên windows server 2012
 
Báo Cáo giua Kỳ Power Point
Báo Cáo giua Kỳ Power PointBáo Cáo giua Kỳ Power Point
Báo Cáo giua Kỳ Power Point
 
Windows deployment services
Windows deployment servicesWindows deployment services
Windows deployment services
 
Dynamic host configuration protocol
Dynamic host configuration protocolDynamic host configuration protocol
Dynamic host configuration protocol
 
Bài 10: Giới thiệu về Server Core - Giáo trình FPT
Bài 10: Giới thiệu về Server Core - Giáo trình FPTBài 10: Giới thiệu về Server Core - Giáo trình FPT
Bài 10: Giới thiệu về Server Core - Giáo trình FPT
 
Bai Thuc hanh DNS
Bai Thuc hanh DNSBai Thuc hanh DNS
Bai Thuc hanh DNS
 
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ỳ
 
Lab 20 active directory right managment services (ad rms)
Lab 20 active directory right managment services (ad rms)     Lab 20 active directory right managment services (ad rms)
Lab 20 active directory right managment services (ad rms)
 
Chuong 2 3
Chuong 2 3Chuong 2 3
Chuong 2 3
 
Lab 3 công cụ quản trị server manager .pdf
Lab 3 công cụ quản trị server manager  .pdfLab 3 công cụ quản trị server manager  .pdf
Lab 3 công cụ quản trị server manager .pdf
 
Ha active active bang gfs2
Ha active  active bang gfs2Ha active  active bang gfs2
Ha active active bang gfs2
 
Cài đặt dịch vụ ssh trên local - Thực tập Athena
Cài đặt dịch vụ ssh trên local - Thực tập AthenaCài đặt dịch vụ ssh trên local - Thực tập Athena
Cài đặt dịch vụ ssh trên local - Thực tập Athena
 

Viewers also liked

Sử Dụng win 7
Sử Dụng win 7Sử Dụng win 7
Sử Dụng win 7xeroxk
 
Chương 5 Chia sẻ file và máy in trên mạng - Giáo trình FPT
Chương 5 Chia sẻ file và máy in trên mạng - Giáo trình FPTChương 5 Chia sẻ file và máy in trên mạng - Giáo trình FPT
Chương 5 Chia sẻ file và máy in trên mạng - Giáo trình FPTMasterCode.vn
 
PEI Guileva 2011
PEI Guileva 2011PEI Guileva 2011
PEI Guileva 2011dorisbm24
 
Transfers procedures 1
Transfers procedures 1Transfers procedures 1
Transfers procedures 1fitlibrary-cat
 
สวัสดีค่ะครับ
สวัสดีค่ะครับสวัสดีค่ะครับ
สวัสดีค่ะครับTuke Ingkhaninan
 
Susan Zbikowski at Consumer Centric Health, Model for Change '11
Susan Zbikowski at Consumer Centric Health, Model for Change '11Susan Zbikowski at Consumer Centric Health, Model for Change '11
Susan Zbikowski at Consumer Centric Health, Model for Change '11HealthInnoventions
 
SEMANA 4: TABLA PERIÓDICA
SEMANA 4: TABLA PERIÓDICASEMANA 4: TABLA PERIÓDICA
SEMANA 4: TABLA PERIÓDICAElias Navarrete
 
Stephen Maroda - StartingBloc Essay2
Stephen Maroda - StartingBloc Essay2Stephen Maroda - StartingBloc Essay2
Stephen Maroda - StartingBloc Essay2marodasj
 
Kresge Eminent Artist 2014: Bill Rauhauser
Kresge Eminent Artist 2014: Bill RauhauserKresge Eminent Artist 2014: Bill Rauhauser
Kresge Eminent Artist 2014: Bill RauhauserThe Kresge Foundation
 
Exploring nurses' intentions to leave the profession
Exploring nurses' intentions to leave the professionExploring nurses' intentions to leave the profession
Exploring nurses' intentions to leave the professionslutter
 
Profilaktyka zakażeń beztlenowcowych
Profilaktyka zakażeń beztlenowcowychProfilaktyka zakażeń beztlenowcowych
Profilaktyka zakażeń beztlenowcowychŁukasz Pączkowski
 

Viewers also liked (17)

Sử Dụng win 7
Sử Dụng win 7Sử Dụng win 7
Sử Dụng win 7
 
Chương 5 Chia sẻ file và máy in trên mạng - Giáo trình FPT
Chương 5 Chia sẻ file và máy in trên mạng - Giáo trình FPTChương 5 Chia sẻ file và máy in trên mạng - Giáo trình FPT
Chương 5 Chia sẻ file và máy in trên mạng - Giáo trình FPT
 
PEI Guileva 2011
PEI Guileva 2011PEI Guileva 2011
PEI Guileva 2011
 
Items ciclo 2012 iii - semana 12
Items ciclo 2012 iii - semana 12Items ciclo 2012 iii - semana 12
Items ciclo 2012 iii - semana 12
 
Hazy situation
Hazy situationHazy situation
Hazy situation
 
Transfers procedures 1
Transfers procedures 1Transfers procedures 1
Transfers procedures 1
 
Study guide mekong 2
Study guide mekong 2Study guide mekong 2
Study guide mekong 2
 
De ltdh 18
De ltdh 18De ltdh 18
De ltdh 18
 
SEMANA: ENLACE QUÍMICO
SEMANA: ENLACE QUÍMICOSEMANA: ENLACE QUÍMICO
SEMANA: ENLACE QUÍMICO
 
สวัสดีค่ะครับ
สวัสดีค่ะครับสวัสดีค่ะครับ
สวัสดีค่ะครับ
 
Susan Zbikowski at Consumer Centric Health, Model for Change '11
Susan Zbikowski at Consumer Centric Health, Model for Change '11Susan Zbikowski at Consumer Centric Health, Model for Change '11
Susan Zbikowski at Consumer Centric Health, Model for Change '11
 
Forest fire news 2012
Forest fire news 2012Forest fire news 2012
Forest fire news 2012
 
SEMANA 4: TABLA PERIÓDICA
SEMANA 4: TABLA PERIÓDICASEMANA 4: TABLA PERIÓDICA
SEMANA 4: TABLA PERIÓDICA
 
Stephen Maroda - StartingBloc Essay2
Stephen Maroda - StartingBloc Essay2Stephen Maroda - StartingBloc Essay2
Stephen Maroda - StartingBloc Essay2
 
Kresge Eminent Artist 2014: Bill Rauhauser
Kresge Eminent Artist 2014: Bill RauhauserKresge Eminent Artist 2014: Bill Rauhauser
Kresge Eminent Artist 2014: Bill Rauhauser
 
Exploring nurses' intentions to leave the profession
Exploring nurses' intentions to leave the professionExploring nurses' intentions to leave the profession
Exploring nurses' intentions to leave the profession
 
Profilaktyka zakażeń beztlenowcowych
Profilaktyka zakażeń beztlenowcowychProfilaktyka zakażeń beztlenowcowych
Profilaktyka zakażeń beztlenowcowych
 

Similar to Lab 7 windows server 2008 server core

Lab 8 dhcp server
Lab 8 dhcp server Lab 8 dhcp server
Lab 8 dhcp server 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
 
Lab 9 dns server
Lab 9 dns serverLab 9 dns server
Lab 9 dns servertinhban269
 
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
 
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
 
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
 
Giao_trinh_OK.doc
Giao_trinh_OK.docGiao_trinh_OK.doc
Giao_trinh_OK.doccanh071179
 
Bài 2 Cài đặt Windows Server 2008 - Giáo trình FPT
Bài 2 Cài đặt Windows Server 2008 - Giáo trình FPTBài 2 Cài đặt Windows Server 2008 - Giáo trình FPT
Bài 2 Cài đặt Windows Server 2008 - Giáo trình FPTMasterCode.vn
 
Lab 17 windows deployment services
Lab 17 windows deployment servicesLab 17 windows deployment services
Lab 17 windows deployment servicesPham Viet Dung
 
Change password user ad 2k8r2 by web
Change password user ad 2k8r2 by webChange password user ad 2k8r2 by web
Change password user ad 2k8r2 by weblaonap166
 
MailExchange 2007 tren winserver2k8
MailExchange 2007 tren winserver2k8MailExchange 2007 tren winserver2k8
MailExchange 2007 tren winserver2k8La Bảo
 
Cài đặt exchange server 2013 cùng domain với exchange server 2007
Cài đặt exchange server 2013 cùng domain với exchange server 2007Cài đặt exchange server 2013 cùng domain với exchange server 2007
Cài đặt exchange server 2013 cùng domain với exchange server 2007laonap166
 
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
 
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
 
4322200 cach-nat-port-tren-mt-s-modem-thong-dng
4322200 cach-nat-port-tren-mt-s-modem-thong-dng4322200 cach-nat-port-tren-mt-s-modem-thong-dng
4322200 cach-nat-port-tren-mt-s-modem-thong-dngMlx Le
 
2816 mcsa--part-11--domain-c111ntroller--join-domain-1
2816 mcsa--part-11--domain-c111ntroller--join-domain-12816 mcsa--part-11--domain-c111ntroller--join-domain-1
2816 mcsa--part-11--domain-c111ntroller--join-domain-1Bình Trọng Án
 

Similar to Lab 7 windows server 2008 server core (20)

Lab 8 dhcp server
Lab 8 dhcp server Lab 8 dhcp server
Lab 8 dhcp server
 
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ỳ
 
Lab 9 dns server
Lab 9 dns serverLab 9 dns server
Lab 9 dns server
 
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)
 
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 (...
 
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.
 
Giao_trinh_OK.doc
Giao_trinh_OK.docGiao_trinh_OK.doc
Giao_trinh_OK.doc
 
Bài 2 Cài đặt Windows Server 2008 - Giáo trình FPT
Bài 2 Cài đặt Windows Server 2008 - Giáo trình FPTBài 2 Cài đặt Windows Server 2008 - Giáo trình FPT
Bài 2 Cài đặt Windows Server 2008 - Giáo trình FPT
 
Lab 17 windows deployment services
Lab 17 windows deployment servicesLab 17 windows deployment services
Lab 17 windows deployment services
 
Lam dia boot mang
Lam dia boot mangLam dia boot mang
Lam dia boot mang
 
Change password user ad 2k8r2 by web
Change password user ad 2k8r2 by webChange password user ad 2k8r2 by web
Change password user ad 2k8r2 by web
 
MailExchange 2007 tren winserver2k8
MailExchange 2007 tren winserver2k8MailExchange 2007 tren winserver2k8
MailExchange 2007 tren winserver2k8
 
Cài đặt exchange server 2013 cùng domain với exchange server 2007
Cài đặt exchange server 2013 cùng domain với exchange server 2007Cài đặt exchange server 2013 cùng domain với exchange server 2007
Cài đặt exchange server 2013 cùng domain với exchange server 2007
 
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
 
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
 
Ip workgroup
Ip workgroupIp workgroup
Ip workgroup
 
4322200 cach-nat-port-tren-mt-s-modem-thong-dng
4322200 cach-nat-port-tren-mt-s-modem-thong-dng4322200 cach-nat-port-tren-mt-s-modem-thong-dng
4322200 cach-nat-port-tren-mt-s-modem-thong-dng
 
2816 mcsa--part-11--domain-c111ntroller--join-domain-1
2816 mcsa--part-11--domain-c111ntroller--join-domain-12816 mcsa--part-11--domain-c111ntroller--join-domain-1
2816 mcsa--part-11--domain-c111ntroller--join-domain-1
 
Servermanager
ServermanagerServermanager
Servermanager
 
Servermanager
ServermanagerServermanager
Servermanager
 

More from tinhban269

Lab 5 read only domain controller
Lab 5 read only domain controller  Lab 5 read only domain controller
Lab 5 read only domain controller tinhban269
 
Lab 4 active directory domain services
Lab 4 active directory domain services Lab 4 active directory domain services
Lab 4 active directory domain services tinhban269
 
Lab 25 additional domain
Lab 25 additional domain Lab 25 additional domain
Lab 25 additional domain tinhban269
 
Lab 3 công cụ quản trị server manager
Lab 3 công cụ quản trị server manager  Lab 3 công cụ quản trị server manager
Lab 3 công cụ quản trị server manager tinhban269
 
Lab 2 nâng cấp windows server 2003 lên windows server 2008
Lab 2 nâng cấp windows server 2003 lên windows server 2008 Lab 2 nâng cấp windows server 2003 lên windows server 2008
Lab 2 nâng cấp windows server 2003 lên windows server 2008 tinhban269
 
Lab 1 cài đặt windows server 2008
Lab 1 cài đặt windows server 2008Lab 1 cài đặt windows server 2008
Lab 1 cài đặt windows server 2008tinhban269
 
Ly 2011 đề thi thử số 18
Ly 2011  đề thi thử số 18Ly 2011  đề thi thử số 18
Ly 2011 đề thi thử số 18tinhban269
 
Ly 2011 đề thi thử số 17
Ly 2011  đề thi thử số 17Ly 2011  đề thi thử số 17
Ly 2011 đề thi thử số 17tinhban269
 
Ly 2011 đề thi thử số 16
Ly 2011  đề thi thử số 16Ly 2011  đề thi thử số 16
Ly 2011 đề thi thử số 16tinhban269
 
Ly 2011 đề thi thử số 15
Ly 2011  đề thi thử số 15Ly 2011  đề thi thử số 15
Ly 2011 đề thi thử số 15tinhban269
 
Ly 2011 đề thi thử số 14
Ly 2011  đề thi thử số 14Ly 2011  đề thi thử số 14
Ly 2011 đề thi thử số 14tinhban269
 
Ly 2011 đề thi thử số 13
Ly 2011  đề thi thử số 13Ly 2011  đề thi thử số 13
Ly 2011 đề thi thử số 13tinhban269
 
Ly 2011 đề thi thử số 12
Ly 2011  đề thi thử số 12Ly 2011  đề thi thử số 12
Ly 2011 đề thi thử số 12tinhban269
 
Ly 2011 đề thi thử số 11
Ly 2011  đề thi thử số 11Ly 2011  đề thi thử số 11
Ly 2011 đề thi thử số 11tinhban269
 
Ly 2011 đề thi thử số 10
Ly 2011  đề thi thử số 10Ly 2011  đề thi thử số 10
Ly 2011 đề thi thử số 10tinhban269
 
Ly 2011 đề thi thử số 9
Ly 2011  đề thi thử số 9Ly 2011  đề thi thử số 9
Ly 2011 đề thi thử số 9tinhban269
 
Ly 2011 đề thi thử số 8
Ly 2011  đề thi thử số 8Ly 2011  đề thi thử số 8
Ly 2011 đề thi thử số 8tinhban269
 
Ly 2011 đề thi thử số 7
Ly 2011  đề thi thử số 7Ly 2011  đề thi thử số 7
Ly 2011 đề thi thử số 7tinhban269
 
Ly 2011 đề thi thử số 6
Ly 2011  đề thi thử số 6Ly 2011  đề thi thử số 6
Ly 2011 đề thi thử số 6tinhban269
 
Ly 2011 đề thi thử số 5
Ly 2011  đề thi thử số 5Ly 2011  đề thi thử số 5
Ly 2011 đề thi thử số 5tinhban269
 

More from tinhban269 (20)

Lab 5 read only domain controller
Lab 5 read only domain controller  Lab 5 read only domain controller
Lab 5 read only domain controller
 
Lab 4 active directory domain services
Lab 4 active directory domain services Lab 4 active directory domain services
Lab 4 active directory domain services
 
Lab 25 additional domain
Lab 25 additional domain Lab 25 additional domain
Lab 25 additional domain
 
Lab 3 công cụ quản trị server manager
Lab 3 công cụ quản trị server manager  Lab 3 công cụ quản trị server manager
Lab 3 công cụ quản trị server manager
 
Lab 2 nâng cấp windows server 2003 lên windows server 2008
Lab 2 nâng cấp windows server 2003 lên windows server 2008 Lab 2 nâng cấp windows server 2003 lên windows server 2008
Lab 2 nâng cấp windows server 2003 lên windows server 2008
 
Lab 1 cài đặt windows server 2008
Lab 1 cài đặt windows server 2008Lab 1 cài đặt windows server 2008
Lab 1 cài đặt windows server 2008
 
Ly 2011 đề thi thử số 18
Ly 2011  đề thi thử số 18Ly 2011  đề thi thử số 18
Ly 2011 đề thi thử số 18
 
Ly 2011 đề thi thử số 17
Ly 2011  đề thi thử số 17Ly 2011  đề thi thử số 17
Ly 2011 đề thi thử số 17
 
Ly 2011 đề thi thử số 16
Ly 2011  đề thi thử số 16Ly 2011  đề thi thử số 16
Ly 2011 đề thi thử số 16
 
Ly 2011 đề thi thử số 15
Ly 2011  đề thi thử số 15Ly 2011  đề thi thử số 15
Ly 2011 đề thi thử số 15
 
Ly 2011 đề thi thử số 14
Ly 2011  đề thi thử số 14Ly 2011  đề thi thử số 14
Ly 2011 đề thi thử số 14
 
Ly 2011 đề thi thử số 13
Ly 2011  đề thi thử số 13Ly 2011  đề thi thử số 13
Ly 2011 đề thi thử số 13
 
Ly 2011 đề thi thử số 12
Ly 2011  đề thi thử số 12Ly 2011  đề thi thử số 12
Ly 2011 đề thi thử số 12
 
Ly 2011 đề thi thử số 11
Ly 2011  đề thi thử số 11Ly 2011  đề thi thử số 11
Ly 2011 đề thi thử số 11
 
Ly 2011 đề thi thử số 10
Ly 2011  đề thi thử số 10Ly 2011  đề thi thử số 10
Ly 2011 đề thi thử số 10
 
Ly 2011 đề thi thử số 9
Ly 2011  đề thi thử số 9Ly 2011  đề thi thử số 9
Ly 2011 đề thi thử số 9
 
Ly 2011 đề thi thử số 8
Ly 2011  đề thi thử số 8Ly 2011  đề thi thử số 8
Ly 2011 đề thi thử số 8
 
Ly 2011 đề thi thử số 7
Ly 2011  đề thi thử số 7Ly 2011  đề thi thử số 7
Ly 2011 đề thi thử số 7
 
Ly 2011 đề thi thử số 6
Ly 2011  đề thi thử số 6Ly 2011  đề thi thử số 6
Ly 2011 đề thi thử số 6
 
Ly 2011 đề thi thử số 5
Ly 2011  đề thi thử số 5Ly 2011  đề thi thử số 5
Ly 2011 đề thi thử số 5
 

Lab 7 windows server 2008 server core

  • 1. Lab Windows Server 2008 Lab #7 – Windows Server Core Installation Windows Server Core Installation I. Giới thiệu: - Server Core là một kiểu cài đặt thu gọn của Windows Server 2008, trong đó gồm có những thành phần cơ bản nhất của Windows được dùng để triển khai các dịch vụ trên Windows Server 2008. 1. Đặc điểm cơ bản: - Server Core không cung cấp cho bạn một giao diện đồ họa thông thường của Windows để tương tác với hệ thống. Thay vào đó bạn sẽ phải sử dụng giao diện dòng lệnh (Command Line), các công cụ quản trị từ xa và Terminal Services. - Server Core không yêu cầu bạn phải cài đặt các bản cập nhật không cần thiết lên Windows, đồng thời tối ưu hóa số lượng dịch vụ cần dùng. Từ đó nâng cao tính năng bảo mật, đồng thời giảm số lượng các dịch vụ cần nạp, tiết kiệm tài nguyên hệ thống. 2. Các dịch vụ và tính năng hỗ trợ: - Với Server Core, bạn có thể triển khai các dịch vụ: ü Active Directory Domain Services ü Active Directory Lightweight Directory Services ü Streaming Media Services ü DNS Server ü Print Server ü File Server ü DHCP Server. - 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 ……. II. Cài đặt: - Việc cài đặt này cũng giống như cài đặt Windows Server 2008 Full Enterprise nên một số bước sẽ được bỏ qua. LiveClub Hoa Sen www.liveclubhoasen.net
  • 2. Lab Windows Server 2008 Lab #7 – Windows Server Core Installation - Chọn Windows Server 2008 Enterprise (Server Core Installation). - Đánh dấu chọn vào I have selected the edition of Windows that I purchased - Chọn Next.Đợi một thời gian để hệ thống tiến hành cài đặt. - Sau khi cài đặt hoàn tất thì ngay màn hình đầu tiên là khung Command Prompt. Vì password ban đầu của tài khoản Administrator là password trắng nên bạn phải đổi password. - Để thay đổi password cho tài khoản Administrator gõ lệnh net user administrator [password muốn đổi] password của bạn phải là kiểu password complexity .(a,A,@,1….) LiveClub Hoa Sen www.liveclubhoasen.net
  • 3. Lab Windows Server 2008 Lab #7 – Windows Server Core Installation III. Các thao tác trên Windows Server Core: 1. Thiết lập các thông số cho card mạng và kết nối mạng: - Để thiết lập các thông số liên quan đến địa chỉ IP cho các card mạng trên Server Core, bạn cần thực hiện 2 lệnh. - Lệnh thứ nhất dùng để hiển thị các thông số card mạng mà mình muốn thiết lập. Gõ lệnh netsh interface ipv4 show interface Cột idx chính là số thứ tự card mạng chúng ta đang dùng (trong trường hợp này là số 2). - Sau khi đã xác định được card mạng, sử dụng lệnh netsh interface ipv4 set address Vd: Muốn thiết lập các thông số card mạng như sau: IP: 192.168.1.38 Subnet mask : 255.255.255.0 Gateway : 192.168.1.1 Nhập lệnh như sau: netsh interface ipv4 set address name=2 source=static address=192.168.1.38 mask=255.255.255.0 gateway=192.168.1.1 Sau khi nhập lệnh ấn Enter để thực thi lệnh và dùng lệnh ipconfig để xem thông số mình vừa thiết lập. LiveClub Hoa Sen www.liveclubhoasen.net
  • 4. Lab Windows Server 2008 Lab #7 – Windows Server Core Installation 2. Thiết lập địa chỉ DNS cho card mạng: - Nếu muốn thiết lập địa chỉ DNS Server cho card mạng ,sử dụng lệnh netsh interface ipv4 add dnsserver. - Ví dụ, thiết lập địa chỉ DNS Server là 210.245.24.22 và 210.245.24.20 cho card mạng, gõ lệnh sau và nhấn Enter: netsh interface ipv4 add dnsserver name=2 address=210.245.24.20 netsh interface ipv4 add dnsserver name=2 address=210.245.24.22 LiveClub Hoa Sen www.liveclubhoasen.net
  • 5. Lab Windows Server 2008 Lab #7 – Windows Server Core Installation 3. Thay đổi tên máy: - Để làm việc hiệu quả hơn,bạn nên thay đổi tên máy tính,vì khi cài đặt Windows Server 2008 Server Core xong thì máy tính sẽ tên ngẫu nhiên.Để biết tên hiện tại của máy tính gõ lệnh hostname - Hiện tại tên máy tính là WIN-7BWZR4GA8J1. Đây là tên ngẫu nhiên khi cài đặt xong Windows Server 2008. - Để thay đổi tên máy tính, chẳng hạn hoasenclub, thực hiện lệnh sau: wmic computersystem where name=”%computername%” name=”hoasenclub” Nếu kết quả xuất hiện giá trị ReturnValue = 0; thì việc thay đổi đã thành công. LiveClub Hoa Sen www.liveclubhoasen.net rename
  • 6. Lab Windows Server 2008 Lab #7 – Windows Server Core Installation - Để thay đổi có hiệu lực bạn phải restart lại hệ thống. Gõ lệnh để restart lại hệ thống: shutdown /r /t 0 4. Join client vào domain: - Để join client vào domain bạn sử dụng lệnh netdom. Đồng thời bạn cần xác định tên domain, tài khoản có quyền join client vào domain. Đó là tài khoản Administrator của domain. - Ví dụ tôi muốn join client vào domain liveclubhoasen.com với tài khoản Administrator. Password là P@ssword1. Đây là tài khoản của domain. Gõ lệnh sau: netdom join %computername% /domain:liveclubhoasen.com /userd:Administrator /passwordd:P@ssword1 LiveClub Hoa Sen www.liveclubhoasen.net
  • 7. Lab Windows Server 2008 Lab #7 – Windows Server Core Installation - Nếu bạn muốn ẩn password thì thay /passwordd:pass@word1 bằng /passwordd:* sau đó gõ password ở dưới. - Khi nhận được thông báo ‘The computer needs to be restarted in order to complete the operation’ việc join vào domain đã hoàn tất. Khởi động lại máy để thay đổi có hiệu lực. Lưu ý: trước khi join vào domain cần thiết lập IP cho client. Nếu muốn client ra khỏi domain thì gõ lệnh: netdom remove %computername% /domain:liveclubhoasen.com /userd:Administrator /passwordd:P@ssword1 5. Thiết lập chế độ cập nhật tự động: - Để cấu hình khả năng tự động cập nhật (Automatic Updates) trên Server Core, bạn sử dụng một file script tên scregedit.wsf. File này nằm ở C:Windowssystem32. - Để kích hoạt khả năng cập nhật tự động,di chuyển vào C:Windowssystem32 bằng lệnh : cd C:Windowssystem32 Sau đó gõ lệnh cscript scregedit.wsf /AU 4 LiveClub Hoa Sen www.liveclubhoasen.net
  • 8. Lab Windows Server 2008 Lab #7 – Windows Server Core Installation 6. Cấu hình và cài đặt các dịch vụ trong Server Core: - Để cài đặt dịch vụ DNS, gõ lệnh start /w ocsetup DNS-Server-Core-Role Bạn phải gõ chính xách cụm từ DNS-Server-Core-Role. Nếu gõ sai cụm từ này sẽ hiện thông báo. - Sau khi gõ chính xác dòng lệnh,đợi một thời gian để hệ thống cài đặt. LiveClub Hoa Sen www.liveclubhoasen.net
  • 9. Lab Windows Server 2008 Lab #7 – Windows Server Core Installation - Sau khi đã cài đặt xong dịch vụ,bây giờ chúng ta thêm zone vào. Ví dụ : tạo zone liveclubhoasen.com kiểu primary zone vào, gõ lệnh sau : dnscmd /zoneadd “liveclubhoasen.com” /primary /file “liveclubhoasen.com.dns” - Để bổ sung các record vào zone ,sử dụng lệnh dnscmd /recordadd Ví dụ : bổ sung DNS record dạng Host (A) ,tên máy tính là hoasenclub,địa chỉ IP là 192.168.1.1 thực hiện lệnh: dnscmd /recordadd liveclubhoasen.com hoasenclub A 192.168.1.38 - Nếu muốn xóa record dùng lệnh dnscmd /recorddelete .(cấu trúc tương tư với lệnh thêm record). Sau khi thực hiện lệnh xóa,xuất hiện dòng “Are you sure you want to delete record? (y/n), bấm chữ y trên bàn phím để đồng ý. Lưu ý: trước khi thực hiện nên xem lại tên máy tính và IP Để xem chi tiết các zone trong DNS Server,sử dụng lệnh dnscmd /zoneprint Ví dụ: dnscmd /zoneprint liveclubhoasen.com - Đối với việc bổ sung Alias (CNAME) cũng tương tự, thay A bằng CNAME. LiveClub Hoa Sen www.liveclubhoasen.net