How to install dotnetnuke 6 locally

Source: Internet
Author: User
Tags dnn hosting dotnetnuke

Dotnetnuke, as the first open-source CMS on the Microsoft platform, has gone to the sixth version and switched from VB. NET to C #. As a dotnetnuke developer ......

When I tried to write some opening remarks, I suddenly realized why I didn't start directly? Economic and environmental protection .....

My local environment: Windows 7 pro, IIS 7.5, SQL Server 2005,. Net 4.0

In general, quick and clean installation requires only five steps:

    1. Download the zip installation package
    2. Create a database and an SQL Server account
    3. Create a website folder and decompress the downloaded zip installation package
    4. Create and configure a site in IIS
    5. Run the dnn Installation wizard in the browser

 

The following describes these five steps in detail.

1. Download the zip installation package

Download the official dnn installation package from http://dotnetnuke.codeplex.com. Codeplex is Microsoft's open-source project hosting platform. As the largest open-source CMS under. net, it is no longer possible to use codeplex for hosting. However, codeplex does have a lot of good open-source projects. We recommend that you do not have to go around. Currently, the latest stability (stable00000000is 6.1.4 to download the dotnetnuke_community_06.01.04_install.zip installation package.

 

2. Create a database and an SQL Server account

Before creating a database, confirm your SQL ServerWhether the Authentication mode isHybrid mode. If not, right-click your SQL Server in SQL Server Management studio, select properties, and click Security to change the SQL Server Authentication Mode to hybrid mode.

Now we can create a new database (I name it dnn614). You don't need to talk about the specific steps.

Next, you need to create an account for the new database so that dnn can have read and write permissions.

    • Expand SQL server security nodes
    • Right-click logins
    • Select New Login
    • Enter the login name (for example, login614)
    • Select SQL Server Authentication Mode and enter the password
    • Remove Enforce Password Expiration/user must change password at next login
    • Click User mapping in the Right Border
    • In the users mapped to this login box above, select your new database.
    • Then, in the database role membership for box below, select db_owner
    • Click OK
    • Now you can see the newly created account in the security node of the dnn614 database ()

 

3. Create a website folder and decompress the downloaded zip installation package.

This step is very simple, that is, to extract the zip installation package to a folder, such as c: \ Dev \ webdnntest \ dnn614.

However, you must have full control over the Windows Account (such as network service) used to enter the dnn root folder. Therefore, we must modify the permission to enter this folder:

    • Right-click the root directory of your website (C:/dev/webdnntest/dnn614) and select Properties
    • Click the Security Tab
    • On this tab, you can view the users in this folder and click Modify.
    • Join the network service account and save the changes.

However, in my memory, we can skip this configuration in some cases. The key lies in how you configure IIS.

 

4. Create and configure the site in IIS

So far, we have created a new database and configured the dnn root folder. Below we will create a new site in IIS:

    • Open IIS and expand sites nodes
    • Right-click and click "Add a new site"
    • Enter the website name and select the dnn root directory path.
    • Enter the host name, for example, dnn614.
    • Open the C:/Windows/system32/Drivers/etc/hosts file, add a new line "127.0.0.1 dnn614", and save
    • Click OK to complete the creation.

If you want your website to run on. NET 4.0, change the application pool to ASP. NET v4.0.

 

5. Run the dnn Installation wizard in the browser

Open http: // dnn614/in the browser and you will see:

ProgramWill test the folder permissions:

Enter information about connecting to SQL Server:

Click Next and you will see that the installation wizard is running the script of each version:

Click Next to configure the host account. This account has the highest permissions on the dnn website, and then click Next. If everything goes well, a new dnn6 website will appear in your browser:

 

Here, we can tell you that all dnn installation is complete.Enjoy it. Allez !!!

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.