Detailed description of DNN7 website system requirements and deployment guide, and detailed description of dnn7 Deployment Guide

Source: Internet
Author: User
Tags custom name dnn dotnetnuke sql server express

Detailed description of DNN7 website system requirements and deployment guide, and detailed description of dnn7 Deployment Guide

This Installation Guide applies to local testing and host installation of DNN6.x and DNN7.x. Recently, many friends in the QQ Group asked me about the installation and running of DotNetNuke. In order to give you a better understanding of the DNN installation method, I will give a comprehensive introduction to the DotNetNuke system requirements and the installation and running methods in different environments. In my personal experience, it is best to ensure that the running memory of DNN7 is larger than 1 GB, otherwise it will be frequently recycled.

Environment required to run DotNetNuke (DNN:

Web servers: IIS5, IIS6, IIS7, and Visual Studio built-in Web Servers

Server: Windows XP, Windows 2000, Windows 2003, Vista, Windows 2008

Database: SQL Server 2000,200 5, 2008,201 2, SQL Server Express

Database Operation permission: DBO permission on the DNN database (you can create or Delete tables)

File System running permission

In XP, you need to set the "ASPNET" user "Full Control" permission for the website directory.

For windows 2012, and win7, you need to set the "Network Service" user "Full Control" permission for the website directory.

. Net Framework. Net2.0,. Net3.0,. Net3.5,. net4.0 (DNN7 website must be 4.0)

Installation steps:

The installation of DotNetNuke has been greatly simplified since the introduction of the Installation Wizard to DNN7. The current installation is mainly divided into the following steps:

Database Configuration

File System permission Configuration

WEB server configuration (IIS or Visual Studio built-in server)

After the above three points are configured, open the web page and run the DNN Installation Wizard to configure DNN

Step 1: Create a database

In a virtual host environment, if the host service provider provides the database access account and database information, this step can be omitted. If not, contact the host service provider or create a database user and database through the Web Console (if any ). If you have database management permissions, you must first create an empty database.

First, log on to the Database Manager.

Enterprise Manager for SQL server 2000

SQL server management studio for SQL server

SQL server express with SQL server management studio express

Create an empty database with a custom name. Here I call it dnn5.

We recommend that you create a database user to facilitate management and customize the user name. Here, I create a user named "dnn5" with the same name as the database ".

 

Right-click the database DNN5 you just created, select "files" in properties, and enter "dnn5" in "owner" on the right ", this grants DBO permissions to the "dnn5" user.

Make sure that SQL server users can create data tables and stored procedures (some host service providers Limit user permissions). Otherwise, DNN cannot be installed.

Step 2: configure file system Permissions

First download the DNN installation package (http://www.dnntools.net/resources/) decompress to any directory, here I decompress to c: webrootdnn5

In XP, You need to grant the "ASPNET" user full control "permission to all files in the" Security "settings of the website directory" dnn7 ".

For windows and Vista, You need to grant the "Network Service" user full control "permission to all files in the" Security "settings under" dnn5 ".

In a host hosting environment, check with the host Service provider that the "Network Service" user in "security" settings under the website directory has "Full Control" permission on all files and folders.

 

Step 3: configure the WEB server to create a website

DNN can run on an independent website in IIS, such as www.dnntools.net and localhost: 8001, or in a virtual directory, such as www.dnntools.net/mydnn and localhost/mydnn.

If xp IIS5 is used, only one website is supported. In this case, we usually need to create a virtual directory, for example, creating a virtual directory named "dnn5" under the default website, then point the virtual directory to the website c: webrootdnn5. Enter http: // localhost/dnn5 in the browser to run the website.

If you use vista, 2003,200 8 because IIs6 and 7 support multiple websites, you can create a new website and use the port numbers to differentiate it. For example, localhost: 8005 then points the website to c: webrootdnn5. Enter http: // localhost: 8006 in the browser to run the website.

If you use Visual Studio2005, 2008 built-in web server to run the website, choose to open the website in VS and open c: webrootdnn5 in the file system mode, click the project root directory and configure the web server in the Properties window.

Disable "use dynamic port"

Set the website root directory to "/" (only available after vs2005 sp1)

Click F5 (debug mode) or Ctrl + F5 (run but not Debug) to run the website. The settings shown in will open http: // localhost: 4186 in the browser and run DNN.

Using VS built-in testing Web servers to run DNN is slow. We recommend that you use IIS.

 

If you use a VM, the website Control Panel usually has settings for creating a website. If not, contact the host service provider. After the settings are complete, use the domain name or temporary link bound to the website (some virtual hosts will provide it so that no domain name can be accessed through a temporary link) to access the website.

If you are using IIS, check the IIS settings before running the website and confirm the following:

Set the website or virtual directory to use. net framework 2.0

Set the default website file to default. aspx.

In IIs5 and 6, determine whether the website or virtual directory is a web application (web app)

In IIS7, determine that the selected application pool (application pool) supports. net framework 2.0.

Step 4: Use the DNN Installation Wizard to configure the website

Before you proceed, you can download the DNN7 Installation Wizard package (http://www.dnntools.net/dnn-5-chinese-language-pack/) decompress and copy the install Folder to the website root directory c: webrootdnn5 overwrite existing files, so that you can use the Chinese Installation Wizard. After the preceding three steps are configured, The DotNetNuke website is run for the first time. The installation wizard runs automatically to configure the website.

Enter the website link configured in step 3 in the browser.

Run the Installation Wizard and configure it as needed. I will not elaborate on it here. The Wizard has given clear instructions for each step.

The only thing to note here is that there are two options for configuring a database connection.

SQL Server 2005 (Express) File

In this way, the App_DataDatabase.mdf database file under the root directory of the website is automatically appended to the SQL express database.

Therefore, enter "Database. mdf" in the "Database" column"

The premise is to install the SQL Express database and require the security permissions of system integration.

This permission is usually not supported in the virtual host environment, but we can still use the following common database connection method to connect to SQL Express

SQL Server 2000/2005/2008/Express Database

Use the data account dnn7 created in step 1 to connect to the database DNN7

If the port is used when setting the website, for example, localhost: 8000. You will find that an error occurs when you click other pages in addition to the homepage. We also need to make some settings:

Open the [PortalAlias] table in the database, you will see a record, change HttpAlias from localhost to localhost: 8000

Find and enable web. config in the root directory of the website

In addition, you also need to restart the DNN website to clear the cache. When you access the DNN again, the port number can be used normally.

Now we can start our DNN journey.


Online Shopping System Analysis

1 Introduction
1.1 Purpose: This document describes the feasibility study of the Online Bookstore (e-commerce website) project.
1.2 Background of the project:
This project is proposed as an internship project of the software engineering course. It is hoped that the design and development of the e-commerce website of the online bookstore will be used to understand the relevant standards and writing principles of the software documentation, train and master various software document writing skills; on the other hand, improve the ability to develop e-commerce websites (B/S structure) with JSP architecture.
B/S structure features:
Almost unlimited client access and extremely simple application deployment and management are the advantages of the B/S model. It has outstanding advantages over the C/S model.
A Two-layer technical model (Two-Tier Architecture) refers to a technical model in which the client communicates directly with the server without the intervention of other services. The two-layer model is indeed a good solution for LAN environments with 12-users. In this model, all user connections are maintained, that is, connections still exist even if they are idle. Therefore, the number of concurrent requests is limited. To address this restriction, thousands of users can be added with no worries. We recommend that you use a three-tier model.
The B/S structure, that is, the Browser/Server structure, is a change or improved structure of the C/S structure with the rise of Internet technology. The user interface is completely implemented through a browser. Some transaction logic is implemented at the front end, but the main transaction logic is implemented on the server side to form a three-layer structure. It is a completely new software system construction technology. The B/S model structure is as follows:
An important feature of this structure is that users do not need to install the client software at all, and of course do not need to worry about any problems encountered by any clients such as software upgrade and incompatibility.
In contrast, the B/S model has obvious advantages. It is more suitable for the construction of this website and is conducive to the maintenance and expansion of the website.
● Recommended Development Project name:
Online Bookstore.
● The development platform of the recommended development project:
Windows xp SP2.
● Test platform of the recommended development project:
Windows xp SP2.
● Recommended platform for development projects:
Windows xp SP2.
● Recommended software development for the development project:
Borland JBuilder2005 Enterprise Edition, Tomcat5.0, SQL Server2000 Standard Edition, JDK1.5.
● Recommended modeling tool for the development project: IBM rational rose 2003 Enterprise Edition.
1.3 definition:
E-commerce
JSP, J2EE, JINI,
1.4 references:
Qi Zhichang, Tan qingping, ninghong Higher Education Press, Software Engineering
Practical Software Engineering Zheng Renjie Yin renkun Tao yonglei Tsinghua University Press
Software engineering methods and practices: Jin Fenglin Ding Li Machinery Industry Press
National standards for software design documents GB8567-88

2 prerequisites for the feasibility study
2.1 Requirements:
● Function: effectively manage the book information and user information (bookstore staff, website registered users (potential buyers) of the bookstore; carry out information management on the entry, storage, and sales of books; enable readers to browse books online and purchase books online; communicate effectively with readers through forums; through chat rooms, the author and readers can communicate in real time and handle online complaints and suggestions from readers.
● Performance: database entry; book retrieval; User Information Query; book information query; Forum and bbs interactions; online book purchase;
● Security and confidentiality requirements: all books in the bookstore can be accessed by users at any time. The user's personal information can be modified and added by the user. The information of books in the bookstore can only be added by the bookstore administrator, modification; all registered user information can only be queried by the bookstore administrator.
● Running environment:
Server:
Operating System: WINDOWS, LI ...... remaining full text>

The wage management system urgently needs to analyze the specification and design specification, including the use case diagram, the sequence diagram and deployment diagram of each operation activity diagram collaboration diagram Class Diagram

I have a salary management system requirement analysis instruction and design instruction.
 

Related Article

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.