asp tutorials, asp.net tutorials, sample code, and Microsoft news from 15Seconds
Data Access  |   Troubleshooting  |   Security  |   Performance  |   ADSI  |   Upload  |   Email  |   Control Building  |   Component Building  |   Forms  |   XML  |   Web Services  |   ASP.NET  |   .NET Features  |   .NET 2.0  |   App Development  |   App Architecture  |   IIS  |   Wireless
 
Pioneering Active Server
 Power Search





Active News
15 Seconds Weekly Newsletter
• Complete Coverage
• Site Updates
• Upcoming Features

More Free Newsletters
Reference
News
Articles
Archive
Writers
Code Samples
Components
Tools
FAQ
Feedback
Books
Links
DL Archives
Community
Messageboard
List Servers
Mailing List
WebHosts
Consultants
Tech Jobs
15 Seconds
Home
Site Map
Press
Legal
Privacy Policy
internet.commerce














internet.com
IT
Developer
Internet News
Small Business
Personal Technology

Search internet.com
Advertise
Corporate Info
Newsletters
Tech Jobs
E-mail Offers

HardwareCentral
Compare products, prices, and stores at Hardware Central!

An Introduction to Windows Server 2008 Server Core
By Ziran Sun
Rating: 4.3 out of 5
Rate this article


  • email this article to a colleague
  • suggest an article



    Introduction

    Server Core is a new installation option that was introduced in Windows Server 2008. It provides the ability to install and configure a trimmed-down version of Windows Server 2008 which is designed to perform only certain server tasks.

    There are a number of benefits of a Server Core installation, including:

    • Reduced Attack Surface
    • Reduced Management and Maintenance
    • Reduced OS Overhead

    That being said, the lack of the familiar Windows user interface can make managing a Server Core installation rather intimidating. This series of articles will introduce Windows Server 2008 Server Core and walk you through the steps needed to get your very own Server Core instance up and running.

    Setup

    The first step in getting familiar with any operating system is obviously getting a copy and getting it installed. I'll assume you already have some flavor of a Windows Server 2008 install disk. I'm using Windows Server 2008 Enterprise, but there should be very few differences between the versions.

    You'll also need a computer on which to install and test the OS. If you don't have a dedicated machine to use, I recommend you download a copy of Microsoft Virtual PC 2007. I've installed Windows Server 2008 Server Core on both a real machine and a virtual one and the experience is almost identical.

    Note: Installing an operating system is not something to be taken lightly. It's quite easy to accidently format a drive and destroy all the data on the system being used. Make sure you have a backup of all the important data on the system involved and that you really don't mind wiping it clean before you begin.

    Place the Windows Server 2008 disk in the intended computer's DVD drive and boot the real/virtual machine. You might need to press a key to boot from the DVD... watch for a message to that effect. Setup is similar to a normal Windows Server 2003 or Windows Vista installation. I'm including screen captures for those of you who haven't done many installs before.

    Now we come to the only real difference between setting up a "Full Installation" and a "Server Core Installation". On the screen that says "Select the edition of Windows that you purchased", you're going to select the option that matches your server licence and ends in "(Server Core Installation)". For example, I'm using Windows Server 2008 Enterprise so I'll select: "Windows Server 2008 Enterprise (Server Core Installation)".

    The rest of the setup process should be relatively uneventful. Set a few options and then just wait as the files are copied and the new OS is installed.

    Logging In for the First Time

    Once the setup program completes and your Server Core installation is complete, the computer will reboot and you'll be greeted by the Windows Server 2008 log on screen.

    It can be a little confusing because unlike previous versions of Windows you're never prompted for a password for the "Administrator" account during setup. Simply log on as "Administrator" with a blank password and the system will prompt you to set a new one.

    The only part of the log on process that takes a while is the part where the computer is "Preparing your desktop...".

    Personally I find that quite funny since this is what you'll be greeted by once you log on.

    That's right... this is what all the hype is about. A Windows Server OS with a bare minimum of actual windows. Administration is done almost completely via command-line or remotely. There are a few GUI apps available (Task Manager, Notepad, Time/Date Control Panel, Regional Settings), but aside from those you're pretty much on your own.

    Note: Let me take this opportunity to explain how to recover from an accidental closing of the last command prompt window. Simply press "CTRL + ALT + DELETE" and select "Start Task Manager". From Task Manager's "File" menu, select "New Task (Run...)" and enter "cmd.exe".

    Restarting and Shutting Down

    Before we go any further, I figure it's proabably a good time to tell you how to reboot or shut down a Server Core machine. While there are probably other ways as well, these are the two I've been using.

    1. "CTRL + ALT + DELETE" -> "Shut down options"

      The first method will be familiar to most Windows users. Simply type the "CTRL + ALT + DELETE" key sequence and use the "Shut down options" button/menu at the bottom right of the screen.

      You'll be greeted by the "Shutdown Event Tracker" which will be familiar to most server admins.

    2. "Shutdown.exe"

      If you're looking a command-line solution, take a look at the shutdown.exe command. Running it with no arguments:

      shutdown

      will display usage information, but the simplest form is simply:

      shutdown /r

      to restart the server or

      shutdown /s

      to actually shut it down and power off.

    Changing the Computer's Name and Workgroup

    Just like it didn't prompt you for a password to the "Administrator" account, you'll probably recall that you never entered a computer name either. It's not a big deal, but personally I like to know what my computers are called. You can find the name that your computer was assigned by typing:

    SET ComputerName

    at the command prompt. Mine was assigned the name "WIN-IJUW8D0BOI6". Let's change that to something a little easier to remember. I'm going to use "ServerCoreWeb" since I'll be installing IIS on this box in a future installment. It's not a great name, but at least I can remember it.

    NETDOM RenameComputer WIN-IJUW8D0BOI6 /NewName:ServerCoreWeb

    Next I want the computer to be part of my workgroup.

    WMIC computersystem where name="ServerCoreWeb" call joindomainorworkgroup name="WorkgroupName"

    Changing the Computer's IP Address

    Now that the computer has a friendly name and is part of my workgroup so I can easily find it from other computers on my network, the next step is to get its networking set up properly. The default setup is DHCP which is fine to get started with, but most servers will need a static IP address so let's set that up now.

    The first step is to find the "Idx" value of the adapter you want to change. To do this simply run the following command:

    netsh interface ipv4 show interfaces

    and make a note of the number associated with the connection you're trying to configure. In my case, the "Name" of the connection was "Local Area Connection" and its "Idx" value was "2". To set the IP address information use these commands:

    netsh interface ipv4 set address name="2" source=static address=192.168.0.210 mask=255.255.255.0 gateway=192.168.0.1
    netsh interface ipv4 add dnsserver name="2" address=192.168.0.1 index=1
    netsh interface ipv4 add dnsserver name="2" address=192.168.0.2 index=2

    You'll obviously need to use your own values for name, address, mask, gateway, and dns servers.

    If you want to check that your settings are correct you can verify them by using the:

    ipconfig /all

    command to display the server's networking information.

    Conclusion

    In this article I gave you a basic introduction to Windows Server 2008 Server Core and walked you through the process of getting the very basics parts of the server up and running. This included installation, restarting and shutting down, setting the the computer's name and workgroup, and configuring TCP/IP.

    In the next installment we'll install a role on the server, install patches and updates, and enable a few different types of remote administration.

  • Rate This Article
    Not HelpfulMost Helpful
    1 2 3 4 5
    Other Articles
    Jul 21, 2005 - N-Tier Web Applications using ASP.NET 2.0 and SQL Server 2005 - Part 1
    While the .NET Framework made building ASP.NET applications easier then it had ever been in the past, .NET 2.0 builds on that foundation in order to take things to the next level. This article shows you to how to construct an N-Tier ASP.NET 2.0 Web application by leveraging the new features of ASP.NET 2.0 and SQL Server 2005.
    [Read This Article]  [Top]
    Apr 28, 2005 - New Files and Folders in ASP.NET 2.0
    With the release of ASP.NET 2.0, Microsoft has greatly increased the power of ASP.NET by introducing a suite of new features and functionalities. As part of this release, ASP.NET 2.0 also comes with a host of new special files and folders that are meant to be used to implement a specific functionality. This article examines these new files and folders in detail and provides examples that demonstrate how to utilize them to create ASP.NET 2.0 applications.
    [Read This Article]  [Top]
    Mar 10, 2005 - The DataSet Grows Up in ADO.NET 2.0 - Part 2, Cont'd
    Alex Homer continues his detailed look at the major changes to the DataSet class. In this part, he looks at two features that allow developers to work with data in a more structured and efficient way when using the DataSet with a SQL Server 2005 database server.
    [Read This Article]  [Top]
    Mar 9, 2005 - The DataSet Grows Up in ADO.NET 2.0 - Part 2
    Alex Homer continues his detailed look at the major changes to the DataSet class. In this part, he looks at two features that allow developers to work with data in a more structured and efficient way when using the DataSet with a SQL Server 2005 database server.
    [Read This Article]  [Top]
    Mar 3, 2005 - The DataSet Grows Up in ADO.NET 2.0 - Part 1, Cont'd
    In this article, Alex Homer looks at the changes between the version 1.x and version 2.0 DataSet and their associated classes, showing you how you can take advantage of the new features to improve your applications' capabilities and performance.
    [Read This Article]  [Top]
    Mar 2, 2005 - The DataSet Grows Up in ADO.NET 2.0 - Part 1
    In this article, Alex Homer looks at the changes between the version 1.x and version 2.0 DataSet and their associated classes, showing you how you can take advantage of the new features to improve your applications' capabilities and performance.
    [Read This Article]  [Top]
    Feb 16, 2005 - Writing a Custom Membership Provider for the Login Control in ASP.NET 2.0
    In ASP.NET 2.0 and Visual Studio 2005, you can quickly program custom authentication pages with the provided Membership Login controls. In this article, Dina Fleet Berry examines the steps involved in using the Login control with a custom SQL Server membership database.
    [Read This Article]  [Top]
    Dec 29, 2004 - ClickOnce Deployment in .NET Framework 2.0
    In this article, Thiru Thangarathinam examines .NET 2.0's new ClickOnce deployment technology that is designed to ease deployment of Windows forms applications. This new technology not only provides an easy application installation mechanism, it also eases deployment of upgrades to existing applications.
    [Read This Article]  [Top]
    Dec 15, 2004 - A Sneak Peek at ASP.NET 2.0's Administrative Tools
    With ASP.NET 2.0, Microsoft has made great strides in increasing developer productivity and has made implementing previously complex solutions relatively easy. Where this version of ASP.NET really shines, however, is in its new administrative tools that allow developers to spend less time managing the configuration of the servers and software and more time developing great code.
    [Read This Article]  [Top]
    Nov 17, 2004 - The ASP.NET 2.0 TreeView Control
    Thiru Thangarathinam introduces ASP.NET 2.0's new TreeView control which provides a seamless way to consume and display information from hierarchical data sources. The article discusses this new control in depth and explains how to use this feature rich control in your ASP.NET applications.
    [Read This Article]  [Top]
    Mailing List
    Want to receive email when the next article is published? Just Click Here to sign up.

    Support the Active Server Industry

    internet.commediabistro.comJusttechjobs.comGraphics.com

    Search:

    WebMediaBrands Corporate Info

    Legal Notices, Licensing, Permissions, Privacy Policy.
    Advertise | Newsletters | Shopping | E-mail Offers | Freelance Jobs