Docstoc

Installation Guide - DOC

Document Sample
Installation Guide - DOC Powered By Docstoc
					1

Doctor Management System

_____________________________________________________________________________________




                     Installation Guide
Content
I-Java Runtime Environment Installation…………………………………1
II-MS SQL Server 2005………………………………………………….11
III- Application……………………………………………………………35


I-Java Runtime Environment (JRE) Installation
Supported System Configurations
The configurations listed on this page apply to both the Java SE Development Kit (JDK) and
Java SE Runtime Environment (JRE). The following table contains links to installation
instructions.

                                       Windows 32-bit
Windows Windows XP                                      IE 6.0 SP1+ or
Intel   Professional                                          7.0,
IA32                                                    Mozilla 1.4.X or
                                                             1.7+,
          Windows XP Home                                Netscape 7.X,
                                                         Firefox 1.06+
                                                                            32-bit
          Windows Server                                 IE 6.0 SP1+,                  32-bit
                                 Windows/Active for                         Install
          2003                                          Mozilla 1.4.X or               Install
                                     Windows                                 Disk
                                                             1.7+,                      Disk
                                                                            space
          Windows 2000                                   Netscape 7.X,                 space
          Professional                                   Firefox 1.06+
          Windows 2000
          Server                                            IE 7.0+
          Windows Vista
                                       Windows 64-bit
Windows Windows XP               Windows/Active for      IE 6.0 SP1+ or      32-bit
2

Doctor Management System

_____________________________________________________________________________________

x64                                       Windows                   7.0,             Install     32-bit
32-bit                                                        Mozilla 1.4.X or        Disk       Install
mode                                                               1.7+,             space        Disk
                                                               Netscape 7.X,                     space
                                                               Firefox 1.06+
                                                               IE 6.0 SP1+,
                                                              Mozilla 1.4.X or
           Windows Server
                                                                   1.7+,
           2003
                                                               Netscape 7.X,
                                                               Firefox 1.06+
           Windows Vista                                           IE 7.0+
Windows Windows XP                                       64bit OS, 32bit     64-bit
x64                                                         Browsers:        Install
64-bit                                                    IE 6.0 SP1+ or     32-bit
                                                                                                 64-bit
mode                                                           7.0,          Install
                                                                                                 Install
                                                         Mozilla 1.4.X or (no Java
                                     Windows/Active for                                          32-bit
                                                          1.7+, Netscape    Plug-in,
                                         Windows                                                 Install
                                                        7.X, Firefox 1.06+ Java Web
                                                                                                  Disk
                                                                              Start
                                                                                                 space
                                                        64bit mode, 64bit support)
                                                            Browsers:         Disk
                                                               N/A           space


Browser Footnotes
Browsers listed above are supported for JavaTM Plug-in software and JavaTM Web Start software.
Further details:
- 64-bit support for Java Plug-in software is currently not available
- For 64-bit versions of Solaris OS, Linux and Windows support is for 32-bit browsers only - Support for
Netscape 4.7.x on Solaris 8 on SPARC and x86
- Internet Explorer 5.5, 6.x on Windows platforms
- Netscape 7 and 7.1 are not offically supported, but should work
- Support for Red Hat Enterprise Linux 5 was Introduced in Java SE 6, Update 4

Deployment Footnotes
For Java Plug-in, Java Web Start support on 64-bit systems, use the 32-bit JRE.
Java Plug-in, Java Web Start, and Java Control Panel are not supported on 64-bit systems.
3

Doctor Management System

_____________________________________________________________________________________

Other Operating System Notes
- IA32 = Intel Architecture 32-bit
- Java SE 6 does not provide support for Itanium.
- Java SE 6 does not provide support for Windows 98 or Windows ME.

Windows Vista Footnotes
The following issues with deployment on Vista apply to JRE 1.6.0_05 and prior releases.

1.       More Restrictive Sandbox for Signed Applets

     If you run a signed applet on a Windows OS other than Vista, you are prompted with a
     security warning dialog box and will need to specify an action. If you click on "Yes", the
     applet will have AllPermission to run on your machine; this includes permission to
     write/delete a file from local disk.

     On Windows Vista OS, this is no longer true. Instead, AllPermission is limited to Java
     Applet scope. Because the process running in IE has a low integrity level, it won't be able to
     write/delete a file from a medium/high integrity level directory.

     A signed applet running on Windows Vista has limited file access privileges compared to an
     applet running on another Windows OS.

2.       Signed JNLP Application Runs with Medium Integrity Level Only

     Granting AllPermission in a Java Web Start application only permits the Security Manager to
     allow operations that it would otherwise deny by throwing SecurityExceptions. It does not in
     any way elevate the permissions the user or the process have on the system. A normal (non-
     admin) user would typically only be able to read and write files within his own home
     directory (unless other directories are specifically created to allow permissions to all users.)

3.       User Experience Changes for HTTPS Connections on Windows Vista OS

     On Windows Vista, several new behaviors were introduced in the areas of security and user
     experience for HTTPS connections; they are:

     o          HTTPS Certificate
         IE7 blocks navigation to HTTPS sites that present a digital certificate that has any of the
         following problems:

                       Certificate was issued to a hostname other than the current URL's hostname.
                       Certificate was issued by an untrusted root.
                       Certificate is expired.
                       Certificate is revoked.
4

Doctor Management System

_____________________________________________________________________________________

          Upon encountering a certificate problem, IE7 presents an error page that explains the
          problem with the digital certificate. You may choose to ignore the warning and proceed
          in spite of the certificate error (unless the certificate was revoked). If you click through a
          certificate error page, the address bar flood fills with red to serve as a persistent
          notification of the problem.

     o            Mixed-Content Prompt
          You will no longer see the so-called Mixed-Content prompt, which read: This page
          contains both secure and nonsecure items. Do you want to see the nonsecure items?

          Instead, IE7 renders only the secure content and offers the user the opportunity to unblock the
          nonsecure content using the Information Bar.

     o            New Default Protocol Mode
          In IE7 on Windows Vista, the default HTTPS protocol setting is changed to disable the
          weaker SSLv2 protocol and to enable the stronger TLSv1 protocol.

          With the above changes in IE7 on Windows Vista, the user of our (Sun Microsystems
          Inc.) Java Plug-in will see different behavior when running their applet.

4.        Control Panel has Java Web Start AutoDownload of JREs Disabled

     Since the posted autodl bundles cannot run on Vista (without being re-written, and re-staged
     for all releases), the autodl feature is turned off by default, and the entry is disabled in the
     advanced tab of the Control Panel.

5.        Control Panel has the Change Cache Location Dialog Disabled

     Since the cache location must be set to a low-integrity directory, changing it is disabled in the
     control panel.

6.        Java Plug-in Extension Installer Mechanism May Fail for Non-Administrator Users Running in
     IE

     The extension install mechanism added to Plug-in in 1.4.2 uses Runtime.exec() to run a java
     extension installer (running "java -jar file"), or to run a native extension (running "file").
     Normally these installers do things like write files to the lib/ext directory of the jre. These
     processes will run with the same limited privileges the user has, so may fail when (for
     example) writing a file where the user has no permission to write.

     This problem would also apply to any Java Web Start application that attempts to install an
     extension in lib/ext (though this is not a common practice).
5

Doctor Management System

_____________________________________________________________________________________

Windows Disk Space Requirements for JDK and JRE
AMD/Intel 32-bit Platforms
For both the JDK and the JRE, the user is given the option of installing various features. For the
JRE the features are the following:

Feature 1: Java Runtime Environment
Feature 2: Support for Additional Languages
Feature 3: Additional Font and Media Support

For the JDK the features are the following:

Feature 1: Development Tools
Feature 2: Demos
Feature 3: Source Code
Feature 4: Public Java Runtime Environment


     Notes:
            For the JDK the installed image consists of all the files installed under the directory
        jdk1.6.0; for the JRE it consists of all files installed under the directory jre1.6.0. The update
        repository consists of zip files for the various features. They are stored under Program
        Files\Common Files\Java\Update and are used for the purpose of updating or modifying the
        JDK or JRE.
            The installed image will, by default, be installed on the Windows drive—the drive
        where the Windows operating system is installed (sometimes called the system drive).
        Most often this will be the C drive. However, it is possible to install the installed image on
        any drive. For instance, the installed image for the JDK could be installed to a non-
        Windows drive with a custom installation.
            The update repository will always be installed on the Windows drive.
In addition to the disk space required for the installed images, there must be sufficient disk space
for the update repository, located in the Program Files\Common Files\Java subdirectory. The table
below shows the various disk space requirements for the JRE and JDK:

              JRE                 Installed Image          Update Repository               Total


           Feature 1                          52 MB                     19 MB                      72 MB

           Feature 2                          16 MB                      4 MB                      20 MB
6

Doctor Management System

_____________________________________________________________________________________

           Feature 3                         4 MB                     2 MB                   6 MB




             JDK                Installed Image         Update Repository           Total


           Feature 1                        83 MB                    49 MB                  132 MB

           Feature 2                        12 MB                    12 MB                  24 MB

           Feature 3                        11 MB                    16 MB                  27 MB

           Feature 4                                  See JRE chart above



x64/Intel 64-bit Platforms



                       Notes:
                              All features are installed for the platforms listed
                          below.



Microsoft Windows Installation (32-bit)
System Requirements
See supported System Configurations for information about supported platforms, operating
systems, desktop managers, and browsers.

The minimum physical RAM is required to run graphically based applications. More RAM is
recommended for applets running within a browser using the Java Plugin. Running with less
memory may cause disk swapping which has a severe effect on performance. Very large
programs may require more RAM for adequate performance.

This installation requires Windows Installer 2.0 to be on your machine, or an Internet connection
for it to be automatically downloaded. For more details, see the Troubleshooting the Installation
section .

For the amount of disk space required, see Windows Disk Space Requirements.
7

Doctor Management System

_____________________________________________________________________________________



Note - The JDK has two version numbers -- external version number (6) and an internal version number
(1.6.0).



Notes -- Trying to install the JDK on a non-supported version of Microsoft Windows or on a
machine that doesn't have a sufficiently up-to-date Service Pack will cause the installer to
generate this warning: "We recommend that you do not install this Java platform for the
following reasons: This Java platform does not support the operating system or operating-system
service pack on this machine." See the system requirements above for information on supported
configurations of Microsoft Windows.




Installation Instructions
In this procedure, you will run the self-installing executable to unpack and install the JDK
software bundle. As part of the JDK, this installation includes an option to include the public
Java Runtime Environment. (The JDK also contains a private JRE for use only by its tools.)

For issues related to Windows Online Installation and Java Update, see the Windows Online
Installation and Java Update FAQ. See this note on Proxy Settings and Authentication.

Troubleshooting - If you have any difficulties, see the Troubleshooting section at the end of this
document or submit a bug report for your installation problem.



Note: For any text on this page containing the following notation, you must substitute the appropriate
update version number for the notation.

    <version>
For example, if you were downloading the installer for update 1.6.0_01, the following file name:

    jdk-6<version>-windows-i586.exe
would become:

    jdk-6u1-windows-i586.exe
8

Doctor Management System

_____________________________________________________________________________________

1.   Check the download file size (Optional)

If you save the self-installing executable to disk without running it from the download page at the web
site, notice that its byte size is provided on the download page. Once the download has completed, check
that you have downloaded the full, uncorrupted software file.

2.   Run the JDK installer



You must have administrative permissions in order to install the JDK on Microsoft Windows.



The file jdk-6u1<version>-windows-i586-i.exe is the JDK installer. If you downloaded it instead of
running it directly from the web site, double-click on the installer's icon. Then follow the
instructions the installer provides. The installer may ask you to reboot your computer. When
done with the installation, you can delete the download file to recover disk space.

Installed Directory Tree
The JDK has the directory structure shown below.

           jdk1.6.0_<version>

 ____________________|___________________

| | | | | |       |    | |

| | | | bin lib       | demo |

| | | LICENSE | |       |         jre

| | COPYRIGHT                |      __|__

| README.txt             include        |   |

readme.html                      bin lib




The JDK has the option of installing a public JRE. For more information on JRE installation see
the JRE Installation page.

3.   If you want to run Netscape 7.x, Mozilla 1.x, or Firefox 1.x with Java Plugin, do this:
9

Doctor Management System

_____________________________________________________________________________________

         Exit the Netscape 7.x, Mozilla 1.x, or Firefox 1.x browser and all of its "objects" (Messenger,
      Composer ...);
         If the Quick Launch feature is enabled, disable it;
         Then restart Netscape 7.x, Mozilla 1.x, or Firefox 1.x.
4.   Update the PATH variable (Optional)

You can run the JDK without setting the PATH variable, or you can optionally set it as a convenience.

Should I set the PATH variable?
Set the PATH variable if you want to be able to conveniently run the JDK executables (javac.exe,
java.exe, javadoc.exe, etc.) from any directory without having to type the full path of the command.
If you don't set the PATH variable, you need to specify the full path to the executable every time
you run it, such as:

     C:> "\Program Files\Java\jdk1.6.0_<version>\bin\javac" MyClass.java
It's useful to set the PATH permanently so it will persist after rebooting.

How do I set the PATH permanently?
To set the PATH permanently, add the full path of the jdk1.6.0_<version>\bin directory to the
PATH variable. Typically this full path looks something like C:\Program
Files\Java\jdk1.6.0_<version>\bin. Set the PATH as follows on Microsoft Windows:

a.     Click Start > Control Panel > System on Windows XP or Start > Settings > Control Panel >
   System on Windows 2000.
b.     Click Advanced > Environment Variables.
c.     Add the location of bin folder of JDK installation for PATH in User Variables and System
   Variables. A typical value for PATH is:

      C:\Program Files\Java\jdk1.6.0_<version>\bin
          PATH environment variable is a series of directories separated by semi-colons (;) and is not case
      sensitive. Microsoft Windows looks for programs in the PATH directories in order, from left to right.
          You should only have one bin directory for a JDK in the path at a time. Those following the first
      instance are ignored. If one is already present, update it to jdk1.6.0_<version>\bin.
          If you are not sure where to add the path, add it to the right end of the PATH in the User
      Variables.
          The new path takes effect in each new command window you open after setting the PATH
      variable.


5.   Start using the JDK!

Your computer system should now be ready to use the JDK. In this step, you'll run some simple
commands to make sure it is working properly.
10

Doctor Management System

_____________________________________________________________________________________

If you are new to developing and running programs in the Java programming language, see The
Java Tutorial online for some guidance. Note especially the tutorial trails under the heading
Trails Covering the Basics.

You can also download the JDK documentation from the JDK download page.

Uninstalling the JDK
If you should ever want to uninstall the JDK, use the "Add/Remove Programs" utility in the
Microsoft Windows Control Panel.




Location of VM Library Files (jvm.dll)
If you use the Invocation API to launch an application directly rather than using the Java application
launcher, be sure to use the correct paths to invoke the Java HotSpot Client Virtual Machine (VM) or Java
HotSpot Server VM, as desired. The path within the JDK to the Java HotSpot Client VM is:

jre/bin/client/jvm.dll (on x86)

The path to the Java HotSpot Server VM is:

jre/bin/server/jvm.dll (on x86)
jre/bin/server/jvm.dll (on IA64)

The corresponding locations in the Java SE Runtime Environment begin with jre1.6.0 instead of jre. The
Exact VM and Classic VM are no longer part of the JDK, and existing code that uses the Invocation API
to launch an application based on old paths to the Exact or Classic VMs will not work.




Troubleshooting the Installation
Below are some tips for working around problems that are sometimes seen during or following
an installation. For more troubleshooting information, see the Java FAQ.



         If you see the error message "config.nt. The system file is not suitable for running MS-DOS
     and Microsoft Windows Applications. " when you try to launch the installer on Microsoft
     Windows 2000 then there is a problem with the %SystemRoot%\System32\COMMAND.COM file
     To resolve the error see the article at http://support.microsoft.com/support/kb/articles/Q142/2/71.asp.
11

Doctor Management System

_____________________________________________________________________________________

         If you see the error message "corrupt cabinet file" then the file you have downloaded is
     corrupted. Check the file size against the expected file size listed in these instructions. If they don't
     match, try downloading the bundle again. A cabinet file contains compressed application, data,
     resource and DLL files.


        If you see the error message "System Error during Decompression" then you might not have
     enough space on the disk that contains your TEMP directory.


          If you see the error message " This program cannot be run in DOS mode." then do the following:
     1.            Open the MS-DOS shell or Command Prompt window
     2.            Right-click on the title bar
     3.            Select Properties
     4.            Choose the Program tab
     5.            Push the Advanced button
     6.            Make sure the item "Prevent MS-DOS-based programs from detecting Windows" is
          unchecked
     7.            Select OK
     8.            Select OK again
     9.            Exit the MS-DOS shell
     10.           Restart your computer.
          Private vs. public JRE - Installing the JDK installs a private Java SE Runtime Environment
     (JRE) and optionally a public copy. The private JRE is required to run the tools included with the
     JDK. It has no registry settings and is contained entirely in a jre directory (typically at C:\Program
     Files\jdk1.6.0\jre) whose location is known only to the JDK. On the other hand, the public JRE can be
     used by other Java applications, is contained outside the JDK (typically at C:\Program
     Files\Java\jre1.6.0), is registered with the Windows registry (at
     HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft), can be removed using Add/Remove Programs,
     might or might not be registered with browsers, and might or might not have java.exe copied to the
     Windows system directory (making it the default system Java platform or not).
          Creating source files in Notepad - In Microsoft Windows, when you create a new file in
     Microsoft Notepad and then save it for the first time, Notepad normally adds the .txt extension to the
     filename. Therefore, a file you name Test.java is saved as Test.java.txt. It's important to note that you
     cannot see the .txt extension unless you turn on the viewing of file extensions (in Microsoft Windows
     Explorer, uncheck "Hide file extensions for known file types" under Folder Options). To prevent the
     .txt extension, enclose the filename in quotation marks, such as "Test.java", when typing it into the
     Save As dialog box.
     On the other hand, Microsoft WordPad does not add a file extension if you provide one --
     you must save the file as "Text Document".

          Choosing an installation path containing characters that are not part of the system code
     page - On Windows 2000, XP, and 2003, it is possible to name directories using characters that are
     not part of the system locale's code page. If such a directory is part of the installation path, then
     generic error 1722 occurs, and installation is not completed. Error 1722 is an Install Shield error code.
     It indicates that the installation process has failed. The exact reason for this error is not known at this
     time.
12

Doctor Management System

_____________________________________________________________________________________

     To prevent this problem, make sure that the user and system locales are identical, and that the
     installation path only contains characters that are part of the system locale's code page. User
     and system locales can be set in the Regional Options or Regional Settings control panel.



II-Microsoft SQL Server 2005 Installation Guide


Inserting the Installation CD




Click to install the ―Server Component,tool,Books Online and samples‖.
13

Doctor Management System

_____________________________________________________________________________________




Accept the ―End User License Agreement‖. Click Next.
14

Doctor Management System

_____________________________________________________________________________________




The Installing Prerequites window will appear.
15

Doctor Management System

_____________________________________________________________________________________




Once the Installation of the prereqiutes are completed click Next.
16

Doctor Management System

_____________________________________________________________________________________




The SQL Server Installation Wizard will now appear. Click Next.
17

Doctor Management System

_____________________________________________________________________________________




The System Configuration Check window will appear.The status of each should indicate a status
of ―Success‖.If everything checks out,click Next.
18

Doctor Management System

_____________________________________________________________________________________




The SQL Server installation will begin to prepare the installation.
19

Doctor Management System

_____________________________________________________________________________________




The Registration Information window will appear.Please locate the registration number and input
below.Click Next when finished.
20

Doctor Management System

_____________________________________________________________________________________




Check the followings boxes when the Components to install window appears.Click Next when
finished.
21

Doctor Management System

_____________________________________________________________________________________




When the ―Instance Name‖ window appears,be sure that ―Default Instance‖ is selected and click
Next.
22

Doctor Management System

_____________________________________________________________________________________




On the ―Service Account‖ window,please select the option for ―Use the built-in System
account‖.Be sure that ―Local System‖ is selected.Click Next when finished.
23

Doctor Management System

_____________________________________________________________________________________




Select the ―Mixed Mode‖ option on the ―Authentication Mode‖ window.At this point you may
specify an sa logon password.Leave it blank.Click Next when finished.
24

Doctor Management System

_____________________________________________________________________________________




For the ―Collation Settings‖ window,please select the option for ―Dictionary order,case-
insensitive,accent-insensitive,for use with 1225 Character Set‖.Click Next when finished.
25

Doctor Management System

_____________________________________________________________________________________




For the Report Server Installation Options,leave all defaults and click Next.
26

Doctor Management System

_____________________________________________________________________________________




The Error and Usage Report Settings windows will appear,if you wish to send info to
Microsoft,select each item,otherwise,please click Next to continue.
27

Doctor Management System

_____________________________________________________________________________________




The Ready to Install window will appear.Review the components getting installed and click the
Next button to continue.
28

Doctor Management System

_____________________________________________________________________________________




The ―Setup Progress‖ window will appear.This will take several minutes to finish.
29

Doctor Management System

_____________________________________________________________________________________




When the setup finishes ,each status should indicate that the ―Setup Finished‖.Click Next to
continue.
30

Doctor Management System

_____________________________________________________________________________________




When completed,the ―Completing Microsoft SQL Server 2005 Setup‖ window will
appear.Review the services installed and click Finish.



Configuring MS SQL Server 2005:

To enable using SevenAto,you must config MS SQL Server 2005.At first,you configure ―port‖

-Select Start menu - Microsoft SQL Server\Microsoft SQL Server 2005\Configuration
Tools\SQL Server Configuration Manager
31

Doctor Management System

_____________________________________________________________________________________
32

Doctor Management System

_____________________________________________________________________________________




Enter TCP Port : ―1433‖.

-Change Authencation Mode:

Start MS SQL Server 2005 Start Program \Microsoft SQL Server\Microsoft SQL Server
2005\SQL Server Management Studio

Right –click on Server Data Engine and choose Properties
33

Doctor Management System

_____________________________________________________________________________________




Next…
34

Doctor Management System

_____________________________________________________________________________________

Next…
35

Doctor Management System

_____________________________________________________________________________________

Next…




Next
36

Doctor Management System

_____________________________________________________________________________________




Next…
37

Doctor Management System

_____________________________________________________________________________________
38

Doctor Management System

_____________________________________________________________________________________

Check whether ―SQL Server and Windows Authencation mode‖

-Drop down Security tree.Right click on Login node choose New Login if you want to create a
new login




Attach database



Next…
39

Doctor Management System

_____________________________________________________________________________________




-
40

Doctor Management System

_____________________________________________________________________________________




Select Database file path and click ―Add‖

And then,drop down SevenAto tree –Security-User .Right click on User node choose New
User,input some information to create a new user if you want.




III-SevenAto Installation
-Open SevenAto Installer package ―SevenAto.msi‖

-Run steps sequencetly.
41

Doctor Management System

_____________________________________________________________________________________
42

Doctor Management System

_____________________________________________________________________________________
43

Doctor Management System

_____________________________________________________________________________________
44

Doctor Management System

_____________________________________________________________________________________




Configure SevenAto:

Open C:\Program Files\DIM folder,open ―connection.cfg‖ with any text editor such as
Notepad.Change information Instance name,ServerID,Username,Password,Database name,port
copmpliant with your system.

-Login SevenAto with default account : Username: admin .Password :admin.

				
DOCUMENT INFO
Shared By:
Categories:
Tags:
Stats:
views:17
posted:11/9/2011
language:English
pages:44