Analytics

2010年5月29日 星期六

[6421:Windows Server 2008網路基礎架構組態與疑難排除]Module1-Lesson3 : Overview of the Server Core Installation Option


1-18。Benefits of Server Core Installation
Benefits of a Server Core installation include:
  • Reduced maintenance
  • Reduced attack surface
  • Reduced management
  • Less disk space required

1-19。Server Roles That a Server Core Installaion Supports
A Server Core installation supports the following server roles:
  • Active Directory Domain Service
  • Active Directory Lightweight Directory Services
  • DHCP Server
  • DNS Server
  • File Services
  • Print Server
  • Streaming Media Services(Web Server)
  • Windows Server Virtualization(Hyper-V)
MyNote
  • Server Core Installation
1.沒有桌面,且大多數圖形介面的工具不能用(regedit,notepad,taskmgr,timedate.cpl,intl.cpl仍可用)
2.只提供部分的Role及Feature(DC,DNS,DHCP,IIS,WINS,Hyper-V,File Services,Print Server)
3.安全,效能好(硬體需求低),較少需維護
4.Windows Server 2008 Core installation...沒有.Net Framework(Windows Server 2008 R2 Core 有)
    • GUI桌面程式執行檔名為explorer.exe
    • .cpl檔在Windows資料夾下,為控制台的檔名
    • 原系統升級(In place Upgrade)
    1.Server 2003=>Server 2008(or Server 2008 R2)
    2.同CPU架構(X86=>X86,X64=>X64)
    3.同語言(繁中=>繁中,英=>英)
    4.同Installation
    Server 2003=>Server 2008 Core,無法升級因2003沒有Core版本
    Server 2008 Core=>Server 2008 R2 Core
    • Server Core 沒有 ServerManager,ServerManagercmd
    使用OCList=>查看Role,Features
    使用OCSetup=>Add/Remove Role,Features(參數區分大小寫)

    Exercise 3:Configuring Server Core and Performing Basic Management Tasks.

    Task 3:Use command-line tools to set parameters in the Server Core virtual machine.
    Set
    Computername=NYC-DNSSVR2
    IP address=10.10.0.12
    Mask=255.255.0.0
    Gateway=10.10.0.1
    DNS=10.10.0.10
    In the command prompt windows:
    1.To dettermine the current default assigned computer name=>type set
    2.To change the computer name=>type Netdom renamecomputer NYC-SVR2 /NewName:NYC-DNSSVR2=>type y
    3.To set static IP address=>type Netsh interface ipv4 set address name="Local area connection" source=static address=10.10.0.12 mask=255.255.0.0 gateway=10.10.0.1
    4.To set primary DNS=>type Netsh interface ip set dns"Local area connection" static 10.10.0.10 primary
    5.To verify the IP address assignment=>type ipconfig/all
    6.To Resatrt Computer=>type shoutdown /r

    Task 4:Connect the server to the WoodgroveBank.com domain.
    In the command prompt windows:
    1.To join Domain=>type netdom join NYC-DNSSVR2/Domain:WoodgroveBank.com /Userd:Administrator / passwordD:*
    2.To verify User=>type Pa$$w0rd
    3.To Resatrt Computer=>type shoutdown /r

    Task 6:Verify the firewall configuration.
    In the command prompt windows:
    1.To view current firewall configuration=>type Netsh firewall show state
    Task 7:Use the Netsh commamd to open ports.
    In the command prompt windows:
    1.type netsh firewall add portopening ALL 53 DNS-server
    2.type netsh firewall add portopening TCP 135 remote-admin
    3.type netsh firewall add portopening UPD 137 netbios-ns
    4.type netsh firewall add portopening UPD 138 netbios-dgm
    5.type netsh firewall add portopening TCP 139 netbios-ssn
    6.type netsh firewall add portopening TCP 445 netbios-ns
    7.type netsh firewall show config

    Note:Notice that in the Service configuration for domain profile,File and Print Sharing and Remote Desktop service are set to enable,and both TCP and UDP port 53 open for the DNS Server.

    Task 8:View the current status of role,and install the DNS server role.
    In the command prompt windows:
    1.To Verify that no server roles are installed=>type oclist
    2.To install the DNS server=>type start/w ocsetup DNS-Server-Core-Role
    3.To Verify that the DNS-Server-Role are installed=>type oclist

    Task 9:Manage the server by using DNS Manager form a remote computer.
    Start=>Administrative Tools=>DNS
    1.right-click DNS=>click Connect to DNS Server
    2.On the Connect to DNS Sever box=>select The following computer =>type NYC-DNSSVR2=>OK


    MyNote
    • Server Core指令整理
    oclist-查看已安裝的Role,Feature
    ocsetup-新增Role,Feature
    =>ocsetup [Role,Feature名] 
    1.注意區分大小寫
    2.ocsetup會在背景執行,裝好也不會提示,可以用start /w 載入ocsetup,等執行完後,才返回命令提示字元
    3.移除:ocsetup -uninstall [Role,Feature名]

    沒有留言:

    熱門文章