Docstoc

dotnetnuke installation recipe

Document Sample
dotnetnuke installation recipe Powered By Docstoc
					                                               Vangor Computer Technologies


                                              DotNetNuke
                                           Installation Recipe
                                         Last Updated on 10/5/06 12:30 PM by Van Vangor




Introduction:
This is a play-by-play method that I used to install DotNetNuke on my server at my house. I setup a virtual web server, on my host
server. The OS was already installed on the virtual server. However, I added two additional partitions (E: and F:) to the virtual
server, and those notes are included here. I also cover adding records to my local DNS server.

Once the virtual server had three separate partitions (C:, E:, F:), I installed SQL Server and DotNetNuke and then setup the website.
You can view the web site that was created from this method by going to http://www.vangor.net. I setup a single parent portal, not a
child portal.




Environment:
DNS Server Name:         ConRiley
         OS:                     Windows Server 2003, Standard Edition, Service Pack 1
Physical Server Name:    Host
         Hardware:
                 Processor:               Intel(R) Xeon(TM) CPU 3.00GHz, Dual
                 RAM:                     6.0 GB, ECC, PC3200, Registered
                 Hard Drives:             SATA, 160 GB, 7200 RPM, Qty 6
                         Hard Drive Geometry:
                                 Drives 1 & 2:            RAID 1 Array – 1
                                 Drives 3 & 4:            RAID 1 Array – 2
                                 Drives 5 & 6:            RAID 1 Array – 3
         OS:                     Windows Server 2003, Enterprise Edition, Service Pack 1

Virtual Server Name:     CallieShaw
         Hardware:                 Virtual Machine: Microsoft Virtual Server 2005 R2, Enterprise Edition
                 RAM:                       1.25 GB (allocated from Host server)
                 Hard Drive Configuration:
                         Partition 1:               C:
                                                    File System:               NTFS
                                                    Physical Geometry:         RAID 1 Array: 1
                                                    Virtual Hard Drive Info:
                                                             Type:                     Expanding
                                                             Max Size:                 32 GB
                                                             Currently Expanded to: 5.4 GB
                         CD Drive:                  D:
                         Partition 2:               E:
                                                    File System:               NTFS
                                                    Physical Geometry:         RAID 1 Array: 2
                                                    Virtual Hard Drive Info:
                                                             Type:                     Expanding
                                                             Max Size:                 16 GB
                                                             Currently Expanded to: 226.1 MB
                         Partition 1:               F:
                                                    File System:               NTFS



                                        Page 1 of 10                  6/12/2011 4:31 PM
                                                Vangor Computer Technologies

                                                       Physical Geometry:       RAID 1 Array: 3
                                                       Virtual Hard Drive Info:
                                                                Type:                  Expanding
                                                                Max Size:              16 GB
                                                                Currently Expanded to: 76.1 MB
                          Note that all partitions are on separate spindles.
         OS:                       Windows Server 2003, Standard Edition, Service Pack 1, Fully Patched, Virtualized
                  OS Folder:                  C:\Windows\

IIS:                      6
        IIS Default Folder:       C:\InetPub\
.NET Framework:           .NET 2.0 Framework, Fully Patched
DB:                       SQL Server 2000, Developer Edition, Service Pack 4
        Program File Location: C:\Program Files\Microsoft SQL Server\
        DB File Location:         E:\Program Files\Microsoft SQL Server\MSSQL\Data\VCT_Data.MDF
        Log File Location:        F:\Program Files\Microsoft SQL Server\MSSQL\Data\VCT_Log.LDF
DotNetNuke:               4.3.4
        Program Folder:           E:\DNN\DNN_4.3.4\




Procedure:


First, I added two additional partitions (E:, F:) to the web server (CallieShaw).
CallieShaw:
          I logged in as administrator.
          I shut it down.
Host:
          Windows Explorer:
                     F:\CallieShaw\
                              This folder contained the CallieShaw VM.
                                        CallieShaw.vhd
                                        CallieShaw.vmc
                     E:\CallieShaw\
                              I created this folder.
                              This will house the CallieShaw partition for SQL Server.
                     C:\CallieShaw\
                              I created this folder.
                              This will house the CallieShaw partition for the SQL Server transaction log.

         Virtual Server Administrator
                  I logged in as administrator.
                  Virtual Machines -> Configure -> CallieShaw
                           Memory:                    512 MB
                                     I changed it to: 1280 MB (1 GB + 256 MB)
                  Virtual Disks -> Create -> Dynamically Expanding Virtual Hard Disk
                           Location:                         None
                           Virtual Hard Disk File Name:      E:\CallieShaw\CallieShaw-SQL.VHD
                           Size:                             16 GB
                           I clicked “Create”
                  Virtual Disks -> Create -> Dynamically Expanding Virtual Hard Disk
                           Location:                         None
                           Virtual Hard Disk File Name:      C:\CallieShaw\CallieShaw-Log.VHD



                                         Page 2 of 10                   6/12/2011 4:31 PM
                                                Vangor Computer Technologies

                           Size:                                 16 GB
                           I clicked “Create”
                  Virtual Machines -> Configure -> CallieShaw
                           Hard disks
                                     Virtual Hard Disk 1
                                               Attachment:                Primary Channel (0)
                                               Fully Qualified Path:      F:\CallieShaw\CallieShaw.vhd
                                     I clicked “Add Disk”
                                               Virtual Hard Disk 2
                                               Attachment:                Primary Channel (1)
                                               Fully Qualified Path:      E:\CallieShaw\CallieShaw-SQL.vhd
                                               I clicked “OK”.
CallieShaw:
        I booted it up.
        I logged in as the domain admin.
        Computer Management
                 Disk Management
                           The “Initialize and Convert Disk Wizard” started.
                                    I initialized Disk 1.
                                    I didn’t convert Disk 1 to a dynamic disk.
                                    The wizard closed.
                           Disk 1
                                    Info:
                                               Basic
                                               16.00 GB
                                               Online
                                    I created a new partition:
                                               Partition Type:             Primary Partition
                                               Partition Size:             16378 MB
                                               Drive Letter:               E:
                                               Format:
                                                         File System:               NTFS
                                                         Allocation Unit Size:      Default
                                                         Volume Label:              SQL
                                                         Quick Format:              No
                                                         Compression:               No
                                                         The format finished successfully in a couple of minutes.
        I shut down.
Host:
        Virtual Server Administrator
                 I logged in as administrator.
                 Virtual Machines -> Configure -> CallieShaw
                           Hard disks
                                    Virtual Hard Disk 1
                                               Attachment:                 Primary Channel (0)
                                               Fully Qualified Path:       F:\CallieShaw\CallieShaw.vhd
                                    Virtual Hard Disk 2
                                               Attachment:                 Primary Channel (1)
                                               Fully Qualified Path:       E:\CallieShaw\CallieShaw-SQL.vhd
                                               I clicked “OK”.
                                    I clicked “Add Disk”
                                               Virtual Hard Disk 2
                                               Attachment:                 Secondary Channel (1)
                                               Fully Qualified Path:       C:\CallieShaw\CallieShaw-Log.vhd
                                               I clicked “OK”.
CallieShaw:


                                         Page 3 of 10                    6/12/2011 4:31 PM
                                               Vangor Computer Technologies

        I booted it up.
        I logged in as the domain admin.
        Computer Management
                 Disk Management
                           The “Initialize and Convert Disk Wizard” started.
                                    I initialized Disk 2.
                                    I didn’t convert Disk 2 to a dynamic disk.
                                    The wizard closed.
                           Disk 2
                                    Info:
                                               Basic
                                               16.00 GB
                                               Online
                                    I created a new partition:
                                               Partition Type:             Primary Partition
                                               Partition Size:             16378 MB
                                               Drive Letter:               F:
                                               Format:
                                                         File System:              NTFS
                                                         Allocation Unit Size:     Default
                                                         Volume Label:             Log
                                                         Quick Format:             No
                                                         Compression:              No
                                                         The format finished successfully in a couple of minutes.



I added DNS Records to the DNS Server.
ConRiley:
        DNS Manager
               ConRiley -> Forward Lookup Zones -> vangor.com -> Right-Click -> New Host (A)
                        Name:                              test
                        Full qualified domain name:        test.vangor.com
                        IP address:                        10.1.0.29
                        Create associated PTR record:      No
                        Allow any authenticated user to update DNS records with the same owner name: No
                        I clicked “Add Host”
               ConRiley -> Forward Lookup Zones -> vangor.com -> Right-Click -> New Host (A)
                        Name:                              callieshaw
                        Full qualified domain name:        callieshaw.vangor.com
                        IP address:                        10.1.0.29
                        Create associated PTR record:      No
                        Allow any authenticated user to update DNS records with the same owner name: No
                        I clicked “Add Host”
               ConRiley -> Forward Lookup Zones -> vangor.com -> Right-Click -> New Host (A)
                        Name:                              www
                        Full qualified domain name:        www.vangor.com
                        IP address:                        10.1.0.29
                        Create associated PTR record:      No
                        Allow any authenticated user to update DNS records with the same owner name: No
                        I clicked “Add Host”



I installed SQL Server 2000 and SQL Server Service Pack 4 on the web server (CallieShaw). I also made sure that all
Microsoft patches were installed.


                                        Page 4 of 10                   6/12/2011 4:31 PM
                                            Vangor Computer Technologies

Host:
        Windows Explorer
                  D:\
                          This is the CD-ROM drive.
                          I shared it as “D” with read only access for Everyone.
        I inserted the SQL Server 2000 Developer Edition ActionPack CD into D:.
CallieShaw:
        Windows Explorer:
                  I permanently mapped O: to \\Host\D.

        The SQLServer 2000 Developer Edition program auto-ran.
               I clicked “SQL Server 2000 Components”.
               I clicked “Install Database Server”.
               I got the following message:
                         “<SQL Server 2000>
                         SQL Server 2000

                         SQL Server 2000 sp2 and below is note supported by this version of Windows. Please apply sp3 after
                         installation of SQL Server 2000.”
                                   I clicked “Continue”.
                 The Microsoft SQL Server 2000 setup wizard started.
                         Computer Name:              Local Computer (CALLIESHAW)
                         Installation Selection:     Create a new instance of SQL Server, or install Client Tools
                         Name:                       Van Vangor
                         Company:                    Vangor Computer Technologies
                         I accepted the license agreement.
                         Installation Definition:    Server and Client Tools
                         Instance Name:              Default
                         Setup Type:                 Typical
                         Program Files:              C:\Program Files\Microsoft SQL Server
                         Data Files:                 E:\Program Files\Microsoft SQL Server
                         Services Accounts:          Use the same account for each service. Auto start SQL Server Service
                                   This applies to both services:
                                             SQL Server
                                             SQL Server Agent
                         Account:                    Use the Local System account
                         Authentication Mode:        Mixed Mode (Windows Authentication and SQL Server Authentication).
                                   Password for sa login:              SQLPassword
                         The installation took several minutes.
                         It finished successfully.



        I installed SQL Server 2000 SP 4.
        IE -> http://www.microsoft.com/downloads/details.aspx?FamilyID=8e2dfc8d-c20e-4446-99a9-
        b7f0213f8bc5&DisplayLang=en
                  SQL2000-KB884525-SP4-x86-ENU.exe -> Download
                            I saved it to C:\download\MS\SQLServer2KSP4\SQL2000-KB884525-SP4-x86-ENU.exe
        Start -> Run -> C:\download\MS\SQLServer2KSP4\SQL2000-KB884525-SP4-x86-ENU.exe
                  Location to Save Files:              C:\download\MS\SQLServer2KSP4\
                  It finished in less than a minute.
        Start -> Run -> C:\download\MS\SQLServer2KSP4\Setup.bat
                  The “Microsoft SQL Server 2000 Service Pack 4” setup wizard started.
                  I accepted the license agreement.
                  Instance Name:               Default




                                      Page 5 of 10                 6/12/2011 4:31 PM
                                                Vangor Computer Technologies

                  Connect to Server:         The Windows account information I use to log on to my computer (Windows
                  Authentication).
                  Enable cross-database ownership chaining for all databases (not recommended):         No
                  Upgrade Microsoft Search and apply SQL Server 2000 SP4 (required):                    Yes
                  Automatically send fatal error reports to Microsoft:                                  No
                  It took a couple of minutes to install the files.
                  The installation completed successfully.

         I restarted for good measure.
         I logged back in as the domain admin.

         Microsoft Update
                 Batch 1:
                            Custom Interface
                            No updates were available at this time.

         The .NET Framework 1.1 and 2.0 are already installed with all of the latest patches.
         All available patches from Microsoft were installed.



I defined the DNN database in SQL Server.
CallieShaw:
         Windows Explorer:
                F:\Program Files\Microsoft SQL Server\MSSQL\Data\
                         I created this folder to hold the SQL Transaction log file.

         SQL Server Enterprise Manager
                SQL Server Group -> (local) -> Databases -> Right-Click -> New Database
                         General Tab:
                                   Name:                      VCT
                                   Collation Name:            (Server default)
                         Data Files Tab:
                                   File Name:                 VCT_DATA
                                            Location:                  E:\Program Files\Microsoft SQL
                                            Server\MSSQL\Data\VCT_Data.MDF
                                            Initial Size:              1 MB
                                            Filegroup:                 PRIMARY
                                   Automatically Grow File:                                             Yes
                                            File Growth:               By Percent:              10
                                            Max File Size:             Unrestricted file growth
                         Transaction Log Tab:
                                   File Name:                 VCT_Log
                                            Location:                  E:\Program Files\Microsoft SQL
                                            Server\MSSQL\Data\VCT_Log.MDF
                                                      I changed it to: F:\Program Files\Microsoft SQL
                                            Server\MSSQL\Data\VCT_Log.MDF
                                            Initial Size:              1 MB
                                            Filegroup:                 PRIMARY
                                   Automatically Grow File:                                             Yes
                                            File Growth:               By Percent:              10
                                            Max File Size:             Unrestricted file growth
                         I clicked “OK”.
                SQL Server Group -> (local) -> Right-Click -> Properties -> Security Tab
                         Authentication:                      SQL Server and Windows
                SQL Server Group -> (local) -> Security -> Logins -> Right-Click -> New Login


                                         Page 6 of 10                 6/12/2011 4:31 PM
                                            Vangor Computer Technologies

                         General Tab:
                                   Name:                     DNNOwner
                                   Authentication:           SQL Server Authentication
                                            Password:                DNNPassword
                                   Database:                 master
                                   Language:                 <Default>
                         Server Roles Tab:
                                   System Administrators:                                             No
                                   Security Administrators:                                           No
                                   Server Administrators:                                             No
                                   Setup Administrators:                                              No
                                   Process Administrators:                                            No
                                   Disk Administrators:                                               No
                                   Database Creators:                                                 No
                                   Bulk Insert Administrators:                                        No
                         Database Access Tab:
                                   Database:                 VCT
                                            Permit:                  Yes
                                            Database Roles for VCT:
                                                     Public:                                          Yes
                                                     db_owner:                                        Yes
                                                     db_accessadmin:                                  No
                                                     db_securityadmin:                                No
                                                     db_ddladmin:                                     No
                                                     db_backupoperator:                               No
                                                     db_datareader:                                   No
                                                     db_datawriter:                                   No
                                                     db_denydatareader:                               No
                                                     db_denydatawriter:                               No
                         I clicked “OK”
                                   I confirmed the password:         DNNPassword



I downloaded and installed DotNetNuke on the web server (CallieShaw):
CallieShaw:
        IE -> www.dotnetnuke.com
                I logged in as “Vangor”.
                Downloads
                         DotNetNuke 4.3.4 Source
                                   Size:              8.65 MB
                                   I saved it to:     C:\download\DNN\DotNetNuke_4.3.4_Source.zip
                                   I unzipped the file to the C:\download\DNN\DotNetNuke_4.3.4\ subfolder.
        Windows Explorer:
                E:\DNN\DNN_4.3.4\
                         I created this subfolder.
                         Existing NTFS Permissions:
                                   Administrators (CALLIESHAW\Administrators):
                                             Full Control (Inherited)
                                   CREATOR OWNER
                                             Special Permissions (Inherited)
                                   SYSTEM:
                                             Full Control (Inherited)
                                   Users (CALLIESHAW\Users):
                                             Read & Execute (Inherited)
                                             List Folder Contents (Inherited)


                                      Page 7 of 10                 6/12/2011 4:31 PM
                                            Vangor Computer Technologies

                                          Read (Inherited)
                                          Special Permissions (Inherited)
                        I added the following:
                                 NETWORK SERVICE
                                          Modify
                                          Read & Execute
                                          List Folder Contents
                                          Read
                                          Write
                        I copied the contents of the C:\download\dnn\DotNetNuke_4.3.4_Source\Website\ tree to this subfolder.

                        Release.Config
                                I copied this file to Web.Config

                        Web.Config
                               I changed the following section from:
                                           <connectionStrings>
                                             <!-- Connection String for SQL Server 2005 Express -->
                                             <add
                                              name="SiteSqlServer"
                                              connectionString="Data Source=.\SQLExpress;Integrated Security=True;User
                                          Instance=True;AttachDBFilename=|DataDirectory|Database.mdf;"
                                              providerName="System.Data.SqlClient" />
                                             <!-- Connection String for SQL Server 2000/2005
                                             <add
                                              name="SiteSqlServer"
                                              connectionString="Server=(local);Database=DotNetNuke;uid=;pwd=;"
                                              providerName="System.Data.SqlClient" />
                                            -->
                                          </connectionStrings>
                                  I changed the section to:
                                           <connectionStrings>
                                            <add name="SiteSqlServer"
                                          connectionString="Server=(local);Database=VCT;uid=DNNOwner;pwd=DNNPassword;"
                                          providerName="System.Data.SqlClient" />
                                           </connectionStrings>

                                 I changed the following section from:
                                           <appSettings>
                                            <!-- Connection String for SQL Server 2005 Express - kept for backwards compatability - legacy modules --
                                          >
                                            <add key="SiteSqlServer" value="Data Source=.\SQLExpress;Integrated Security=True;User
                                          Instance=True;AttachDBFilename=|DataDirectory|Database.mdf;"/>
                                            <!-- Connection String for SQL Server 2000/2005 - kept for backwards compatability - legacy modules
                                            <add key="SiteSqlServer" value="Server=(local);Database=DotNetNuke;uid=;pwd=;"/>
                                             -->
                                 I changed the previous section to:
                                           <appSettings>
                                            <add key="SiteSqlServer" value="Server=(local);Database=VCT;uid=DNNOwner;pwd=DNNPassword;" />




I defined the DNN web site within IIS on the web server (CallieShaw).
CallieShaw:
         Internet Information Services (IIS) Manager
                   Web Sites -> Right-Click -> New -> Web Site
                           Web Site Description:             VCT DNN
                           IP address:                       10.1.0.29
                           Port:                             80
                           Host Header:                      test.vangor.com
                           Path:                             E:\DNN\DNN_4.3.4\
                           Allow anonymous access to this web site:                                                 Yes


                                     Page 8 of 10                       6/12/2011 4:31 PM
                                               Vangor Computer Technologies

                          Web Site Access Permissions:
                                    Read:                                                            Yes
                                    Run scripts (such as ASP):                                       Yes
                                    Execute (such as ISAPI applications or CGI):                     No
                                    Write:                                                           No
                                    Browse:                                                          No
                  Web Sites -> VCT DNN -> Right-Click -> Properties
                          Documents Tab:
                                    Enabled default content page:                                           Yes
                                             Existing Pages:
                                                      Default.htm
                                                      Default.asp
                                                      index.htm
                                             I added the following:
                                                      Default.aspx
                                             I changed the order to the following:
                                                      Default.aspx
                                                      Default.htm
                                                      Default.asp
                                                      index.htm
                                    Enable document footer:                                                 No
                          ASP.NET Tab:
                                    ASP.NET version:                     1.1.4322
                                             I changed it to:            2.0.507.27
                          Home Directory Tab:
                                    The content should come from:        A directory located on this computer
                                    Local Path:                          E:\DNN\DNN_4.3.4
                                    Script Source Access:                                                   No
                                    Read:                                                                   Yes
                                    Write:                                                                  No
                                    Directory Browsing:                                                     No
                                    Log Visits:                                                             Yes
                                    Index this resource:                                                    Yes
                                    Application Settings:
                                             Application Name:           Default Application
                                                      I changed it to: DotNetNuke_4
                                             Starting Point:             <VCT DNN>
                                             Execute Permissions:        Scripts Only
                                                      I changed it to: Scripts and Executables
                                             Application Pool:           DefaultAppPool
                                                      I couldn’t change it to:    ASP.NET V2.0
                          I clicked “OK”



I initialized the DNN website.
CallieShaw:
          Internet Explorer -> http://test.vangor.com
                   DotNetNuke started installing:
                            Installing DotNetNuke
                            Version: 04.03.04
                            …
                            Installation Complete
                            Click Here To Access Your Portal
                                       I clicked on this link.
                   The Home Page loaded successfully.


                                        Page 9 of 10                  6/12/2011 4:31 PM
                 Vangor Computer Technologies

Default Administrator Account:
         User name:      admin
         Password:       dnnadmin
Default Host Account:
         Username:       host
         Password:       dnnhost
It’s working!




           Page 10 of 10            6/12/2011 4:31 PM

				
DOCUMENT INFO
Shared By:
Categories:
Tags:
Stats:
views:20
posted:6/12/2011
language:Vietnamese
pages:10