Showing posts with label command prompt. Show all posts
Showing posts with label command prompt. Show all posts

Monday, May 11, 2009

What Server Roles would a Server running a Windows Server 2008 SERVER CORE installation support ?

Server running a Server Core installation supports the following server roles:

    • Active Directory Domain Services (AD DS)
    • Active Directory Lightweight Directory Services (AD LDS)
    • DHCP Server
    • DNS Server
    • File Services
    • Print Services
    • Streaming Media Services
    • Web Server (IIS)

To accomplish this, the Server Core installation option installs only the subset of the binary files that are required by the supported server roles

Introduction to Windows 2008 SERVER CORE

The Server Core installation option is a new option that you can use for installing Windows Server 2008. A Server Core installation provides a minimal environment for running specific server roles, which reduces the maintenance and management requirements and the attack surface for those server roles.

 servercore

To accomplish this, the Server Core installation option installs only the subset of the binary files that are required by the supported server roles. For example, the Explorer shell is not installed as part of a Server Core installation. Instead, the default user interface for a server running a Server Core installation is the command prompt.

    How to Configure the Network Settings on Windows Server 2008 / Server Core using the COMMAND PROMPT

    • At a command prompt, type the following:

    netsh interface ipv4 show interfaces

    • Make a note of the number shown in the Idx column of the output for your network adapter. If your computer has more than one network adapter, make a note of the number corresponding to the network adapter for which you wish to set a static IP address.
    • At the command prompt, type:

    netsh interface ipv4 set address name="<ID>" source=static address=<StaticIP> mask=<SubnetMask> gateway=<DefaultGateway>

    Where:

    ID is the number from step 2 above

    StaticIP is the static IP address that you are setting

    SubnetMask is the subnet mask for the IP address

    DefaultGateway is the default gateway

    • At the command prompt, type:

    netsh interface ipv4 add dnsserver name="<ID>" address=<DNSIP>index=1

    Where:

    ID is the number from step 2 above

    DNSIP is the IP address of your DNS server

    • Repeat step 4 for each DNS server that you want to set, incrementing the index= number each time.

    Notes:

    If you set the static IP address on the wrong network adapter, you can change back to using the DHCP address supplied by using the following command:

    netsh interface ipv4 set address name="<ID>" source=dhcp

    where ID is the number of the network adapter from Step 2.