windows server core 2008 pnh

32 332 0
windows server core 2008 pnh

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

Thông tin tài liệu

WINDOWS SERVER CORE 2008 I.Giới thiệu về WINDOWS SERVER CORE 2008 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 và 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 sự quản lý do có ít ứng dụng và dịch vụ được cài đặt trên 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 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) II.Hướng dẫn cài đặt WINDOWS 2008 SERVER CORE II.1. Chuẩn bị. - Máy tính Server để cài đặt Windows 2008 Server core. - Đĩa DVD Windows Server 2008 Enterprise II.2. Cài đặt Windows 2008 Server core. Cài đặt Windows 2008 Server core bao gômf các bước sau: - Khởi động từ đĩa DVD cài đặt Windows Server 2008 Enterprise. - Chọn các thông số về ngôn ngữ, định dạng ngày giờ và bàn phím: - Next/Install Now. -Bỏ dấu Check Automatically activate Windows when I’m online > Next > No. Bỏ qua phần key, bản dung thử cho phép chúng ta dùng trong vòng 30 ngày. -Chọn Windows Server 2008 Enterprise (Server Core Installation) >bên dưới chọn “I have selectedthe edition of Windows that I purchased” >Next - Chọn I accept the license term > Chọn Partition muốn cài đặt Windows > Next. Quá trình sao chép các file cần thiết và cài đặt bắt đầu: -Sau khi cài đặt, bạn cần Restart máy, chọn Restart Now. -Sau khi Restart máy, chọn Other User và nhập UserName: Administrator pass “để trắng” log on: -Hệ thống sẽ yêu cần đổi Password ở lần Logon này > Nhấn OK. -Nhập Password mới ở khung New Password và Confirm New Password -Hệ thống thông báo: Password đã được thay đổi > OK -Giao diện Windows Server Core 2008 sau khi hoàn thành việc cài đặt II.3. Đặt Ipaddress và đổi tên máy tính. -Đầu tiên cần xem ID của Card mạng bằng lệnh sau: netsh interface ipv4 show interface -Quan sát ID Card mạng ở cột Idx là “2” ta sẽ đặt IP Address cho Card mạng này bằng dòng lệnh: netsh interface ipv4 set address name="2" source=static address=192.168.24.1 mask=255.255.255.0 gateway=192.168.24.254 ở đây IP chỉ mang tính chất minh hoạ, các bạn có thế đặt IP cho phù hợp với mạng của mình. -Đánh ipconfig /all để kiểm tra -Đá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: c:\windows\system32\netdom renamecomputer %computername % /NewName:ssw-svr15 cuối cùng dùng lệnh shutdown /r /t 0 để restart máy tính. 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 bằng lệnh: Netsh firewall set opmode mode=disable -Chỉnh thông số Prefered DNS Server thành IP chính mình bằng lệnh: netsh interface ipv4 add dnsserver name="2" address=192.168.1.1 index=1 II.4. Nâng cấp Server thành DOMAIN CONTROLLER Dùng lệnh IPCONFIG /ALL để kiểm tra các thong số ip của Server(DNS trỏ vào chính máy Server cần cài đặt) Đá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 Chịu khó đánh bằng tay vào màn hình hiển thị chế độ dòng lệnh. Sau khi kết thúc nhấn tổ hợp phím ctrl_z đế save file đó lại. 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: Dcpromo /unattend:unattend.txt 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. Để Remove AD từ Server core, ta cũng phải tạo file trả lời như sau: Tạo file adremove.txt nội dung như sau: [DCINSTALL] UserName=Administrator UserDomain=pnh.vn Password=* IsLastDCInDomain=yes DemoteFSMO=yes AdministratorPassword=456@456a RemoveApplicationPartitions=yes RemoveDNSDelegation=yes DNSDelegationUserName=Administrator DNSDelegationPassword=123@123a Save file này lại và gọi Dcpromo /unattend:adremove.txt II.5 Cài đặt DHCP Server Core Tại máy Server Core, gõ lệnh: oclist (OptionCore List), kiểm tra chưa cài đặt DHCPServerCore - Cài đặt DHCPServerCore, gõ lệnh: Start /w ocsetup DHCPServerCore - Để start DHCP Services, gõ lệnh: Sc config dhcpserver start= auto Net start dhcpserver [...]... thể sử dụng các thông tin này ở trang in test và trang cấu hình của máy in Ping tới máy in từ server để kiểm tra xem máy in server có thể liên lạc qua mạng hay không Trên máy tính ở xa chạy Windows Vista hoặc Windows server 2008, bạn mở Print Management và Add server Core Mở rộng Print Server chạy trên Server Core bạn click chuột phải vào Drivers và sau đó click Add Driver Add Printer Driver Wizard sẽ... >DNS ChọnThe following computer và Nhập IP của Server > OK Bây giờ bạn có thể dùng giao diện DNS để quản lý DNS Server của mình từ xa III.3.3 Cấu hình DHCP Server Core -Mở DHCP từ Administrative Tools tương tự như các phần trên, chuột phải DHCP chọn Add Server -Cửa sổ Add Server nhập địa chỉ của máy Server Core vào ô This server, chọn OK Cửa sổ DHCP, mở Server1 , chuột phải IPv4 chọn New Scope… Cửa... đặt Web server IIS 7.0 trong Window Server 2008 Trong màn hình comand line ta đánh dòng lện sau: start /w pkgmgr /iu:IIS-WebServerRole; IIS-WebServerManagementTools;IIS-ManagementService; IIS-Metabase;WAS-WindowsActivationService; WAS-ProcessModel;WAS-NetFxEnvironment; WAS-ConfigurationAPI Sau một phút hoặc lâu hơn, khi thao tác được thực hiện và hoàn thành III QUẢN TRỊ WINDOWS 2008 SERVER CORE TỪ... ocsetup ServerForNFS-Base start /w ocsetup ClientForNFS-Base 11 Cài đặt dịch vụ In a Cài tính năng Print Server start /w ocsetup Printing-ServerCore-Role Cài đặt dịch vụ vai trò In ấn Cài đặt tính năng Print Server bạn sử dụng lệnh: start /w ocsetup Printing-ServerCore-Role nếu là dịch vụ của Line Printer Daemon(LDP) thì bạn sử dụng: start /w ocsetup Printing-LPDPrintService Để cài đặt máy in từ máy in server. .. cụ quản trị hệ thống và chọn Display on the All Programs menu and the Start menu 4 Kích OK Như vậy bây giờ chúng ta có thế quản lí các dịch vụ của Windows 2008 Server core tại máy client này III.3 Cấu hình và quản lí các dịch vụ của Windows 2008 Server core III.3.1 Quản lý Active Directory Vào start > program > adminỉtative tools >Active Dicrectory Users and Computers Chuột phải vào user >new >user... hình Automatic Update: a Enable AU: cscript C: \Windows\ System32\ Scregedit.wsf /au /4 b Disable AU: cscript C: \Windows\ System32\ Scregedit.wsf /au /1 c Xem cấu hình hiện tại: cscript C: \Windows\ System32\ Scregedit.wsf /au /v B Thêm Roles 8 Cài đặt dịch vụ DNS: start /w ocsetup DNS -Server- Core- Role Để gỡ bỏ dịch vụ dùng lệnh: start /w ocsetup DNS -Server- Core- Role /uninstall Sau khi cài đặt dùng lệnh... đặt start /w ocsetup DHCPServerCore b Khởi động dịch vụ: sc config dhcpserver start= auto net start dhcpserver Sau khi cài đặt dùng lệnh netsh để cấu hình 10 Cài đặt dịch vụ File: a Cài File Replication Service start /w ocsetup FRS-Infrastructure b Cài Distributed File System start /w ocsetup DFSN -Server c Cài Distributed File System (DFS) start /w ocsetup DFSR-Infrastructure-ServerEdition d Cài Network... Directory Lightweight Directory (LDAP) start /w ocsetup DirectoryServices-ADAM-ServerCore 13 Cài roles Active Directory Domain a Tạo file unattend b Dùng lệnh: dcpromo /unattend: 14 Cài đặt IIS7 start /w pkgmgr /iu:IIS-WebServerRole;WAS-WindowsActivationService;WASProcessModel Các tùy chọn gồm: IIS-WebServerRole;IIS-WebServer;IIS-CommonHttpFeatures;IIS-StaticContent;IISDefaultDocument;IIS-DirectoryBrowsing;IIS-HttpErrors;IIS-HttpRedirect;IISApplicationDevelopment;IIS-ASP;IIS-CGI;IIS-ISAPIExtensions;IIS-ISAPIFilter;IISServerSideIncludes;IIS-HealthAndDiagnostics;IIS-HttpLogging;IISLoggingLibraries;IIS-RequestMonitor;IIS-HttpTracing;IIS-CustomLogging;IISODBCLogging;IIS-Security;IIS-BasicAuthentication;IIS-WindowsAuthentication;IISDigestAuthentication;IIS-ClientCertificateMappingAuthentication;IISIISCertificateMappingAuthentication;IIS-URLAuthorization;IISRequestFiltering;IIS-IPSecurity;IIS-Performance;IIS-HttpCompressionStatic;IISHttpCompressionDynamic;IIS-WebServerManagementTools;IISManagementScriptingTools;IIS-IIS6ManagementCompatibility;IIS-Metabase;IISWMICompatibility;IIS-LegacyScripts;IIS-FTPPublishingService;IISFTPServer;WAS-WindowsActivationService;WAS-ProcessModel... Gán DNS: netsh interface ipv4 add dnsserver name=”” address= index=1 d Kiểm tra lại bằng lệnh: ipconfig/all 2 Đổi tên máy: a Xem tên hiện hành: hostname b Đổi tên: netdom renamecomputer /NewName: c Khởi động lại: shutdown /r /t 0 3 Cấu hình Windows Remote Shell để quản lý từ xa: a Bật tính năng Windows Remote Shell trên Server Core: WinRM quickconfig b Trên máy... options later, chọn Next > Finish Cửa sổ DHCP, chuột phải Scope [192.168.1.0] Server core scope chọn Activate Cửa sổ DHCP, mở Scope [192.168.24.0] Server core scope, chuột phải Scope Options, chọn Configure Options Cửa sổ Scope Options, đánh dấu chọn 003 Router, trong ô IP address nhập 192.168.24.254, chọn Add Đánh dấu chọn 006 DNS Servers, trong ô IP address nhập 192.168.24.1, chọn Add, chọn OK Sauk hi . đặt WINDOWS 2008 SERVER CORE II.1. Chuẩn bị. - Máy tính Server để cài đặt Windows 2008 Server core. - Đĩa DVD Windows Server 2008 Enterprise II.2. Cài đặt Windows 2008 Server core. Cài đặt Windows. WINDOWS SERVER CORE 2008 I.Giới thiệu về WINDOWS SERVER CORE 2008 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. 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 và Windows Server 2008. Tùy chọn Server Core installation của Windows Server 2008 mang

Ngày đăng: 09/05/2014, 16:18

Tài liệu cùng người dùng

  • Đang cập nhật ...

Tài liệu liên quan