How to install sql server 2008 step by step on windows 7 (32 64 bit)
BitNation Client-Server Manual
1. CONFIGURATION MANUAL
(VIRTUAL) CLIENT/SERVER NETWORK
This manual outlines the step-by-step procedures involved in
setting up a real-time Client/Server Network within a virtual
environment, which includes these components:
Installation of Sun VirtualBox® VMware
Installation and configuration of Windows XP®
Installation and configuration of Windows Server 2003®
2. Table of Contents
INSTALLING WINDOWS XP® PROFESSIONAL ON THE CLIENT MACHINES ......................................................................... 3
INSTALLING WINDOWS SERVER 2003® STANDARD EDITION ON THE SERVER MACHINE .............................................. 12
CONFIGURING WINDOWS SERVER 2003® (DETAILING TWO ACTIVITY AREAS) .............................................................. 18
Activity 1a: SETTING UP THE ACTIVE DIRECTORY ........................................................................................................ 18
Activity 1b: SETTING UP DHCP - CREATING A SCOPE .................................................................................................. 24
Activity 2: CREATING USER ACCOUNTS AND ROAMING PROFILES ............................................................................. 33
2
3. INSTALLING WINDOWS XP® PROFESSIONAL ON THE CLIENT MACHINES
1. After creating the virtual machine in VirtualBox®
the computer reboots and prompts to “boot from a
CD”. An ISO file was used to start a ‘clean’
installation. A DOS mode message is displayed as it
checks the system’s hardware configuration, and
then this DOS bluescreen message appears. Setup
loads the files needed to begin the installation of
Windows XP®.
2. A ‘Welcome to setup’ screen is shown next with
three options. The ENTER key is pressed to begin
installation right away.
3. The Licensing Agreement for the software is
displayed outlining the EULA (End User Licensing
Agreement). The F8 key is pressed to accept it.
3
4. 4. This screen prompts to select a partition of the
HDD to install the operating system software. The
virtual machine’s HDD was not partitioned, so only
one partition shows up in the list and is already
selected. The ENTER key is pressed to continue.
5. Next, the file system format for the HDD has to be
selected. The options are NTFS (New Technology File
System) or FAT (File Allocation Table) in full mode or
quick mode. NTFS (in quick mode) is selected as it is
more reliable than FAT, then the ENTER key is
pressed to continue.
6. Setup now copies system files to the partition,
which allows it to continue in GUI mode. The yellow
indicator bar constantly displays its progress. When
done, Setup saves the installation and reboots the
machine. Next, there is a prompt to “boot from a
CD”. Do not press anything, wait some seconds and
the installation will reactivate itself from the
partition in GUI mode.
4
5. 7. Now in GUI mode the installation continues, and
all the activity is highlighted by indicator radio-
buttons. Other information about the software is
randomly displayed. It takes a few minutes as the
hardware devices are being detected.
8. A prompt appears to customise the regional and
language settings. Once these are updated, press
the Next button.
9. A prompt to personalise the software appears,
and the user can enter his/her real name (which will
not be the username) and optionally an organisation
name. Once these are updated, press the Next
button.
5
6. 10. The user must enter the 25-character product
key given with the software. If it is not a valid one,
installation will not continue. Once this is updated,
press the Next button.
11. The next prompt allows the user to enter a name
for the computer (helpful to recognise it on the
network) as well as to set an administrator
password. Once these are updated, press the Next
button.
12. A prompts appears allow the user to adjust the
time, date and zone settings. Once these are
updated, press the Next button.
6
7. 13. Setup continues installing in the background for
a few minutes. The time remaining is constantly
shown above a green indicator bar to the bottom
left.
14. A prompt appears to configure the network
settings. ‘Typical settings’ option is selected to allow
for the default configuration. Press the Next button.
15. The next prompt allows the user to select
whether the machine will be on a network or
workgroup. The Workgroup option is selected as the
network is not set up as yet. Once this is updated,
press the Next button.
7
8. 16. Setup continues installing in the background and
in a few more minutes it is complete. It will then
reboot the machine. Next, there is a prompt to
“boot from a CD”. Do not press anything, wait some
seconds and the machine will initiate a boot.
17. The Windows XP® Professional splash-screen is
displayed on successful boot.
18. A prompt will appear to adjust the display
settings. The OK button is pressed to allow Windows
to do this automatically.
8
9. 19. A GUI ‘Welcome to Microsoft Windows’ screen
is displayed as the first part of a brief wizard to help
the user make some final configurations to the
machine. Press the Next button.
20. A prompt appears about connecting the
computer. For now, this step is omitted. Press the
Skip button.
21. A prompt appears about activating Windows.
The ‘No’ option is selected and the Next button is
pressed.
9
10. 22. A prompt appears to create user accounts for
the machine (only one user created) then the Next
button is pressed. After this step the wizard ends as
the Finish button is pressed.
23. A Welcome screen is displayed as the desktop is
prepared.
24. Finally, the desktop is displayed and Windows
XP® Professional is now ready to be used. Next, an
IP address is assigned to the client machine.
10
11. 25. In the Start Control Panel Network
Connections window, “Change Windows Firewall
settings” is clicked in the side panel. In the pop-up
box, select the ‘Off’ radio button, then click OK.
26. Then right click the ‘Local Area Connection’ icon,
and click ‘Properties’. In the pop up box, select the
‘Internet Protocol (TCP/IP)’ link and click the
‘Properties’ button.
27. In the next pop up box, click ‘Use the following
IP address’. Enter the IP address and its subnet mask
(in this case, MachineOne_XP is given the IP
192.168.0.5). Press the OK button. The machine now
has an IP address.
*Steps 1 to 27 are repeated in the second virtual
machine (being MachineTwo_XP which is given the
IP 192.168.0.6).
Next, the server machine is installed.
11
12. INSTALLING WINDOWS SERVER 2003® STANDARD EDITION ON THE SERVER MACHINE
1. After creating the virtual machine in VirtualBox®
the computer reboots and prompts to “boot from
a CD”. An ISO file was used to start a ‘clean’
installation. A DOS mode message is displayed and
Windows Server 2003® Standard Edition is
selected by pressing ‘9’, then press the Enter key.
2. A bluescreen appears while Setup loads the
necessary files for the installation.
3. A ‘Welcome to setup’ screen is shown next with
three options. The ENTER key is pressed to begin
installation right away. Next, the Licensing
Agreement for the software is displayed outlining
the EULA (End User Licensing Agreement). The F8
key is pressed to accept it.
12
13. 4. This screen prompts to select a partition of the
HDD to install the operating system software. The
virtual machine’s HDD was not partitioned, so only
one partition shows up in the list and is already
selected. The ENTER key is pressed to continue.
5. Next, the file system format for the HDD has to
be selected. The options are NTFS (New
Technology File System) or FAT (File Allocation
Table) in full mode or quick mode. NTFS (in quick
mode) is selected as it is more reliable than FAT,
then the ENTER key is pressed to continue.
6. After formatting, Setup then copies system files
to the partition, which allows it to continue in GUI
mode. The yellow indicator bar constantly displays
its progress. When done, Setup saves the
installation and reboots the machine. Next, there
is a prompt to “boot to first hard drive”. Do not
press anything, wait some seconds and the
installation will reactivate itself from the partition
in GUI mode.
13
14. 7. Now in GUI mode the installation continues, and
all the activity is highlighted by indicator radio-
buttons. Other information about the software is
randomly displayed. It takes a few minutes as the
hardware devices are being detected.
8. A prompt appears to customise the regional and
language settings. Once these are updated, press
the Next button.
9. A prompt to personalise the software appears,
and the user can enter his/her real name (which
will not be the username) and optionally an
organisation name. Once these are updated, press
the Next button.
14
15. 10. The user must enter the 25-character product
key given with the software. If it is not a valid one,
installation will not continue. Once this is updated,
press the Next button.
11. The next prompt allows the user to set the
appropriate licensing mode. This can be left on the
default setting. Press the Next button.
12. The next prompt allows the user to enter a
name for the computer (helpful to recognise it on
the network) as well as to set an administrator
password. Once these are updated, press the Next
button.
15
16. 13. A prompts appears allow the user to adjust the
time, date and zone settings. Once these are
updated, press the Next button.
14. The next prompt allows the user to choose
typical (default) or custom settings. This can be
left as Typical. Press the Next button.
15. At the next prompt, the user can choose
between putting the computer in a Workgroup or
Domain. If the Domain is not yet set up, this can
be left on as Workgroup. Press the next button.
16
17. 16. Configuration is now complete and Windows
Server 2003® starts up.
17. Next, the Welcome screen is displayed. From
the Sun VirtualBox® menu bar for the virtual
machine, the user can insert “Ctrl-Alt-Delete” then
enter the administrator password (as given during
setup) to login to the Server.
18. Finally, the Server’s desktop is displayed and
Windows Server 2003® is now ready to be used.
17
18. CONFIGURING WINDOWS SERVER 2003® (DETAILING TWO ACTIVITY AREAS)
Activity 1a: SETTING UP THE ACTIVE DIRECTORY
1. First, the necessary components need to be
installed. Click on Start Control Panel Add or
Remove Programs. In the ‘Add/Remove Windows
Components’ tab, click to put checkmarks next to
the ‘Domain Name System (DNS)’ and Dynamic Host
Configuration Protocol (DHCP)’ components in the
list. Press the OK button that the components will
be installed.
2. Next, go to the ‘Manage Your Server’ window.
Click on the ‘Add or remove a role’.
3. The Active Directory Installation Wizard is
activated and a message about Operating Systems
compatibility is displayed. Press the Next button.
18
19. 4. The next prompt allows the user to choose the
Domain Controller Type. Select ‘Domain controller
for a new domain’. Press the Next button
5. The user is then prompted to create a new
domain by selecting its type. Select ‘Domain in a
new forest’. Press the Next button.
6. Next, the user is prompted to enter a DNS name
for the new domain. Once this is updated, press the
Next button. The wizard checks to see if any other
domain with the same name exists. If there is no
conflict, the wizard continues.
(In this case, the server was given the domain name
‘MasterServer.local’ and the NetBIOS name
‘MASTERSERVER0’)
19
20. 7. The next prompts ask the user for a NetBIOS
name for the new domain. Once this is updated,
press the Next button.
8. The user is then prompted for directory paths for
the Database folder and Log folder. These should be
left as default. Press the Next button.
9. The user is then prompted for a directory path for
the SYSVOL folder. This should be left as default.
Press the Next button.
20
21. 10. The next prompt allows the user to verify the
information given in the past steps. If all is okay,
click the second option ‘Install and configure the
DNS…’ then press the Next button.
11. The next prompt will confirm that there were no
conflicts (once the information given was right).
Press the Next button.
12. Next, the user can configure the permissions for
users and group objects. Select the second option.
Once this is updated, press the Next button.
21
22. 13. The user is then prompted to create a password
for Directory Services Restore Mode. Once this is
updated, press the Next button.
14. The next prompt confirms all the data entered
by the user needed to configure the server. Press
the Next button to continue initiate configuration.
15. The Active Directory is then configured. This will
take a few minutes. The progress is constantly
displayed for the user to see.
22
23. 16. When the configuration is complete, the user’s
input into the wizard is also completed. Press the
Finish button.
17. Lastly, the wizard prompts the user to restart the
machine. Press the Restart Now button.
18. When the server restarts the Manage Your
Server window opens up and three new
components can be seen: Domain Controller (Active
Directory), DNS Server and DHCP Server.
Next, a scope is set up in the DHCP.
23
24. Activity 1b: SETTING UP DHCP - CREATING A SCOPE
1. Click on Start All Programs Administrative
Tools DHCP. In the DHCP window right-click on
the server name listed in the side panel (in this case,
the server is masterserver.local).
Click on Actions Authorize in the menu bar. Then
right-click on the server name in the side panel, then
click ‘New Scope’. The wizard pop-up box appears.
Click the next button.
2. The user is prompted to enter a Name and
Description for the new scope. Once these details
are updated, press the next button.
24
25. 3. The user is prompted to enter the range of the
scope, that is, a consecutive set of IP addresses
starting at a certain point and ending at a certain
point (in this case, the range given is 129.168.1.10 to
192.169.0.100). The last 2 sections Length and
Subnet Mask, automatically adjusts (or they can be
entered manually, but the automatic values were
left as-is). Click the Next button.
4. The user is prompted to enter any exclusion(s) to
the scope, that is, any address that should be
reserved. This step was omitted. Click the next
button.
5. A prompt appears to enter a Lease Duration. This
configuration was left as-is. Press the next button.
25
26. 6. A prompt appears to configure DHCP Options.
Click the ‘Yes, I want to configure these options
now’ radio button, and then press Next.
7. The next prompt asks the user for the default
gateway IP address for the Router (in this case, the
address 192.168.0.101 was given). Once these
details are updated, press the next button.
26
27. 8. A prompt appears for the Domain Name and DNS
Servers details in this case the Parent Domain is
‘masterserver.local’ and its IP address in
‘192.168.0.2’. Once these details are updated, press
the next button.
9. The next prompt to configure WINS Servers was
omitted. Press the next button.
10. The next prompt seeks whether or not to
activate the scope. Click the ‘Yes, I want to activate
the scope now’ radio button. This is the last step in
the wizard after pressing the next button. Close the
wizard.
27
28. 11. Now in the DHCP window, the scope that has
been created for the server appears in its drop down
listing in the side panel.
Next the client machines are configured to receive
IP addresses from the server using TCP/IP.
12. On the client machine, go to Start Control
Panel Network Connections. Then right click the
‘Local Area Connection’ icon, and click ‘Properties’.
In the pop up box, select the ‘Internet Protocol
(TCP/IP)’ link and click the ‘Properties’ button.
13. In the next pop up box, click ‘Obtain IP address
automatically’. In the section below, click ‘Use the
following DNS server address (in this case,
MasterServer’s IP address is 192.168.0.2). Press the
OK button.
The client machine will now get an IP address
automatically from the server, using is scope of
available addresses.
28
29. 14. An ‘ipconfig’ command test is run to confirm the
client machine is receiving an IP address from the
server. Go to Start Run *cmd* and at the
prompt type in ‘ipconfig’. The IP address successfully
changed from 192.168.0.5 to 192.168.0.10. (Use
‘ipconfig/release’ and ‘ipconfig/renew’ to adjust if
necessary).
*Steps 12 to 14 are repeated in the second virtual
machine (being MachineTwo_XP) which received the
IP address 192.168.0.11). Also, Ping tests were
repeated between all three machines and all were
successful.
29
30. Activity 2: CREATING USER ACCOUNTS AND ROAMING PROFILES
1. To create a User Account click the ‘Manage users
and computers in Active Directory’ link in the
Manage Your Server window.
2. Next, click on the Users folder and all the default
user profiles are listed.
3. To create a new user, go to Action New User.
A pop-up box appears.
30
31. 4. The next prompt allows the administrator to
enter data for the user. The logon name is the most
important. Press the Next button then enter a
password for the user, selecting the option to
change password at next logon. Press the OK
button.
5. In the main window of the User’s folder, the new
user that was created can be seen listed there. (Ten
(10) users were created for this exercise).
6. To control the logon hours of the user, right click
the user as highlighted in the main window of the
Users folder, then click properties. Various tabulated
data about the user is displayed. Click the ‘Account’
tab and click the ‘Logon Hours…’ button.
31
32. 7. A pop-up box appears where the logon hours can
be adjusted. Select Tuesdays and Thursdays. Press
the OK button. Then, on the Properties box, click the
OK button as well.
8. To make the profile of the user a ‘roaming
profile’, go to the root drive (C: drive) of the server.
Create a new folder to store the roaming profiles
and give it a name (the name given to this folder is
‘Profiles’. Right click the folder the go to its
Properties and share the folder. Then, return to the
Users folder.
32
33. 9. In the user’s folder, right-click one of the new
users that were created then click properties. Click
the ‘Profile’ tab. In the box, enter the pathway to
the ‘Profiles’ folder that was created in the root
directory followed by %username%.
(e.g.: masterserverprofiles%username%)
Note:
Server 2003 automatically replaces the
%username% variable with the user account name
when it creates and accesses the user profile.
10. Log on as the user on a client machine. The
user’s profile folder is then automatically created in
the Profiles folder on the Server machine. When the
user logs off, the user's data and settings is then
copied and updated to the Server.
The user can now log on from any machine that is
connected to the Server on that domain, thus being
a ‘roaming’ profile.
33