Preface
Sharpnuke includes three content panels:
Left-pane, middle-pane, right-pane (Standard layer)
The Panel administrator can dynamically Insert "modules"
There are also six public content types
Announcements
Links
Images
Dicussions
Html/Text
XML
I. Environment Configuration
Hardware requirements: None
Software requirements: Minimum requirements of sqlserver
If at least 1 GB of disk space is installed on the server, the "memory paging" will not occur ".
Software prerequisites:
Web server: IIS 5.0 or later
OS: Win2k server, WINXP pro, win2003 Server
Microsoft. NET runtime: ASP. NET 1.1 or a later version (compatible with ASP. NET 2.0)
Database: sqlserver 2000
Host prerequisites: File Permissions
2. Create a database
1. Create a new database in sqlserver2000 Enterprise Manager (select your own server first)
2. Enter the database name, for example, sharpnuke. Other settings are default. (For specific settings, refer to the sqlserver help Documentation)
3. Create a database user
1. the SQL Server Authentication mode is generally used (Windows authentication is selected in special cases)
2. sqlserver Enterprise Manager --> console --> sqlservers --> sqlserver group --> your own server --> Security --> login --> New Login
3. Enter the database user name and password, specify the Default Login database, assign the user permission to read and write, and specify the database that the user can access, such:
The sharpnuke database user is sharpnukeuser.
4. Specify the role as account_db_owner, which can create or delete database objects (which can be modified after the database account is created)
Iv. Set permissions
1. ASP. NET User Account (Win2k, WINXP)
Network Service User Account (win2003)
Set the permission to full control.
2. Set permissions in Advanced Security Settings
The Administrator has full control over directories, subdirectories, and files.
The system has full control over directories, subdirectories, and files.
Only subdirectories and files are under full control of the Creation owner.
User read/write directories, subdirectories, and files
5. Create a web site
Create virtual directory
Vi. Configuration
Modify UID and PWD in Web. config
<Add key = "sitesqlserver" value = "Server = (local); database = sharpnuke; uid = sharpnukeuser; Pwd = sa;"/>
Note: trusted_connection = true is the default Windows login mode. to log on to the database using SQL login, you must delete this statement.
VII. test and install
After completing the preceding steps, Use http: // % 3 cservername % 3E/sharpnuke to view the site
You may have to wait for a while because:
1. CompilingProgramSet
2. The latest database version will be built.
Restart IIS --> check the successful installation page.
8. Insufficient File Permissions
See http: // localhost/sharpnuke/403-3.htm
IX. Explanation
Sharpnuke is divided into two types of files
The first is the file resource.Source code, Including binary sets, which belong to the associated resource files of the website.
The second is an SQL script, which can be found in sharpnuke \ providers \ dataproviders \ sqldataprovider
There are some script sets. For example: 00.00.00.sqldataprovider to 01.00.00.sqldataprovider (in version order). These scripts are used to select an appropriate version when upgrading the database.
Common applications. These files must be manually run by the system administrator. In sharpnuke, in addition to installing and upgrading the database, these files also have the responsibility to maintain your database and applications.CodeSynchronization.
The sharpnuke installer uses an XML file for setting.
Dotnetnuke. Install. Resources
Under the INSTALL \ directory
<Description> provides a template description.
<Script name = "schema"> Create a database script file schema name
<Script name = "data"> name of the script file used to build the database
<Version> database version (usually the current version, but if the version is earlier than the current version, it will use the upgrade script to run the database version to adapt to the application version)
<Superuser> superuser information (host account data table in sqlserver), which allows you to specify a default superuser
<Settings> default host settings for Applications
A child node that complies with host settings and is managed under hostsettingmenu before installation
<Shorttopmodules> install desktop modules. When you want a user to see some default modules from a portal.
<Portal> default portal settings
If you want to create a new configuration file, you can specify
For example, <add key = "installtemplate" value = "dotnetnuke. Install"/>
Chapter 1
1. parent/child Portals
Parent URL: http://www.yourdomain.com/
URL: http://www.YourDomain.com/YourChildPortal
An application contains some parent and child portals.
You can set their differences
Set in sign
Ii. Pages
Pages provides a friendly user interface. Even if you are a newbie or not a programmer, you can get the static html page you want. The difference is that when an application is running, the content panel is loaded by passing parameters.
Page Function Description
| Add |
Add a new page. After you select the menu option, the management control page is displayed. You can declare your page attributes, such as the page name, title, keyword, and security. |
| Setting |
The setting menu can be used to modify a menu that has been created. You can edit the current page and modify all page attributes. |
| Delete |
Allow you to delete the current page |
| Copy |
Copy the default module of the current page that can be copied |
| Preview |
Browsing allows you to view the style of the page. Your users can view it. If there is a problem, the preview module is disabled. |
Panes
Pane allows you to edit the module content of each page, organize content of various styles, control the interface design, and dynamically assemble modules to the specified page.