|
Microsoft SQL Server Installation |
|
|
To make it possible for you and other students to study
databases and SQL, Microsoft made available a trial version of Microsoft SQL
Server 2008. This full version is available from the Microsoft web site.
|
|
To get the trial edition of Microsoft SQL
Server 2008, go to the
Microsoft web
site, do a search on "trial software", and follow the links to
locate the trial edition of Microsoft SQL Server 2008 Enterprise
Edition (this is a big file: 3GB). You can download it and create
a DVD. If you are downloading, the file will be saved to your
computer. When the download is over, you must create an
image. After creating the DVD image, you can insert the DVD in the
drive.
As an alternative, you can purchase the
Developer Edition of Microsoft SQL Server, which is very cheap
(compared to the Enterprise Edition).
|
Installing the Server of Microsoft SQL Server
|
|
As we will see in the next lesson(s), there are
various ways you use, or connect to, Microsoft SQL Server. For this
reason, there are also various ways to install it. The primary type
consists of installing Microsoft SQL Server on only one computer you will
use to do everything. That machine may not be connected to another or you
will not be concerned with using things (files or databases) in other
computers. With this type of setup, you perform the installation on that
computer and simply start using Microsoft SQL Server.
Practical
Learning: Installing Microsoft SQL Server
|
|
- Start the computer
- Log in using an account with administrative rights. If you
followed the previous lesson, log in using the phkatts account. If the
computer you are using is connected to a network, make sure you
specify the domain. If you are logged in locally, make sure you use
the name of the computer.
If you are installing in Microsoft
Windows XP-7, make sure you log in with a password, otherwise the
installation will fail. For our installation, we will log in as
Administrator (in either Microsoft Windows 7 Professional/Ultimate or
in a domain named functionx.local)
- Insert the DVD in the drive. You may (should) receive a dialog box
with a Run SETUP.EXE link:
If so, click Run SETUP.EXE
- The installation will start. You may get a message that the .NET
Framework needs to be installed. If you get that message, click OK.
You will be prompted to start the installation:
After clicking the ACCEPT button, you can click
Install. The installation of the .NET Framework would start. When the
installation of the .NET Framework is over, you would receive a
message:
From there, you can click Exit. If you are
installing in either Microsoft Windows XP or Microsoft Windows Server
2003, you may be asked to install a hotfix:
In this case, accept to install it by clicking
Next and following the wizard. When the installation is over, you may
be asked to restart:
Which you should do.
- To start the installation, put the Microsoft SQL Server 2008 DVD
in the drive. A window would come up:
- In the left section, click Installation
- If you are only interested in studying database design and
development in Microsoft SQL Server, on the right side, click New SQL
Server Stand-Alone... The installation would start:
- After the message box, click OK
- Another message box would come up. When it finishes, the next page
of the wizard would come up. If you are using the evaluation version,
read the message and click the first radio button
If you are installing with a product key, click the second radio
button and enter the key
- Click Next
- The License Terms page is presented to you. Read it. If you don't
agree with the license, click Cancel. Otherwise, click the I Accept
check box:
- Click Next
- Read the messages and click Install:
- You may receive a warning message about the firewall:
For now, ignore it (there is no true justfication in trying to
disable the firewall, the installation will proceed fine). If you
are installing on the only computer you use as your server, you may
receive a warning that it is not recommended to install Microsoft SQL
Server on a domain controller:
Ignore the warning for now. Click Next (We are not
encouraging you to ignore warnings; just these ones)
- If you had previously installed Microsoft SQL Server Express, you
may receive a message box asking you to specify an instance name. If
so, specify it as MSSQLSERVER.
The next page allows you to specify
what you want to install and what would be left out. For our example,
we select all, then removed Reporting Services. The eventual
location of Microsoft SQL Server is specified in the bottom text box:
If you are installing the Developer Edition and if you to change
the directory of Microsoft SQL Server, you can type it in the Shared
Feature Directory text box, or you can click the browse button to
select it.
If you are installing the Enterprise Edition, if you to change
the directory of Microsoft SQL Server, click the broser button on the
right side of the Shared Feature Directory text box and locate the
directory you want. After making your selections, click Next
- The next page allows you to name the instance of Microsoft SQL
Server (and to specify where the server would be installed). In most
cases, you should accept the suggested name of the instance as
MSSQLSERVER:
After making your selections, click Next
- The next page mostly allows you to check and confirm the disk
space:
After checking it, click Next
- The next page allows you to specify the account that is performing
the installation:
Click Use the Same Account For All Server Services
- A dialog box would come up.
If you are installing in Microsoft
Windows 7 and you want to use a local account, in the Account Name
text box, enter the name of the computer, followed by a back slash,
followed by the user name, and press Tab. In the Password text box,
enter the password:
If you are installing in Microsoft Windows Server 2008, in the
Account Name text box, enter the name of the domain, followed by a
back slash, followed by the user name, and press Tab. In the Password
text box, enter the password:
- Click OK
- Click Next
- After making your selections, click Next
- In the next page, specify how authentication would be made. You
should also specify the account used as the administrator. To do this,
you can click Add Current User:
- Microsoft SQL Server provides a default user named sa. To prepare
that user for database authentication, click the Mixed Mode
- Type a password in the Enter Password text box. For this exercise,
you can use P@assword1 and press Tab
- Enter the same password in the Confirm Password text box
- To add an additional account, click Add...
A dialog box would
display. In the bottom text box, type the (complete) user name of a
user and click Check Names. In the same way, you can add as many users
as possible
- Click Next
- The next step allows you to specify an account for the analysis
services. Click Add Current User
To add an additional account, click Add... In the bottom text
box, type the (complete) user name of a user and click Check Names. In
the same way, you can add as many users as possible
- Click Next
- In the Reporting Services Configuration page, click the last radio
button to install but without configuring the reporting:
- Click Next.
The next page allows you to specify whether you
want and installation report to be sent to Microsoft:
- Read it and click Next
- The next page gives you a summary of tests that were performed
before the installation:
- After reading, click Next.
This would indicate that the
installation is ready to proceed:
- To start the installation, click Install. The installation would
start and a progress bar would indicate the evolution. This can take a
while
- When this phase is over, a message box will let you know. After
reading it, you can click Next. The last page of the wizard should
announce that the installation was complete
- After reading the message, click Close
Installing the Client Tools of Microsoft SQL
Server
|
|
You may have Microsoft SQL Server installed in a
computer protected (locked) somewhere in a different room or in a
different building, or you may be working in a networked environment where
computers interact with each other, or you may be asked to test something
on someone else's computer that has Microsoft Server but you must not
modify anything on that machine. To satisfy this and other requirements,
you can install a suite of applications that would allow you to access
Microsoft SQL Server installed in a computer other than the one you are
using. Such tools are referred to as client tools.
To install the client tools of Microsoft SQL Server,
you use the same DVD of the server installation but make different
choices.
|
|