<站點(diǎn)基本情況>
1. 網(wǎng)絡(luò )/硬件/軟件環(huán)境
序號
設備
硬件
安裝軟件/系統附件
1
Cisco 2611mx
2xEnthnet/2xSerial
IOS 12.2(8)T5
2
Switch
100Mb/24
3
DNS server
Xeon3_600/384MB/18G
Win03sp1
4
WEB server
Xeon4_1.8/512MB
/10G_SCIS/240G_IDE
Win03sp1/MSSQLserver05
5
FTP server
Xeon4_1.8/512MB
/34G_SCIS/720G_IDE
Win03sp1/ServerU6.2/IIS6.0
6
WEB_Dev client
P4_2.8/2G/280G
WinXPsp2/MSVisualStudio05
2. 規劃
序號
服務(wù)器
服務(wù)
備注
1
DNS
Active Directory
DNS
DHCP
域控制器。
ISA04安裝失敗。
很想在這里裝SQL,但很多建議不要在域控制器裝數據庫,浪費資源的說(shuō)。
2
WEB
IIS6.0
MsSQL05
IRC/RTX
Login/News/Forum/Download/Media/Blog。
先試用DotNetNuke4開(kāi)發(fā)。
3
FTP
FTP
流媒體
Mail
ServerU6.2
流媒體服務(wù)(待定?)
WinWebMail/Winmail
4
WEB_Dev client
MSVisualStudio05
3. 開(kāi)發(fā)/工作環(huán)境
主要使用client下“遠程桌面連接”登陸各server。
WEB代碼設計:VWD_VisualStudio05
待續-2-
一步一步建網(wǎng)-2-DotNetNuke4-1/2-小述/安裝Posted on 2006-02-23 12:58
BenL 閱讀(390)
評論(0) 編輯 收藏 所屬分類(lèi):
0-DotNetNukeDotNetNuke4
1. 小述
DNN相關(guān)網(wǎng)站:
DotNetNuke (So good!)
中國DNN (自05年中后就好像沒(méi)人管了……期待ing)
DNN_in_cnblogs(好象與中國DNN同一個(gè)組織者,+U!)
DNN4小介:此為一網(wǎng)站Portal(入口/模板/開(kāi)源),采用.net_Framwork_2.0/asp.net_2+SQL,Resource必須在MS_Visual_Studio_05下編輯,默認數據連接為MS_SQL_05_express(注意,用MS_SQL_server_05時(shí),安裝時(shí)要改web.config,詳見(jiàn)下)。
另:
個(gè)人一此收藏。本DNN為4.0.2版本。
本W(wǎng)EB(安裝的Serv)簡(jiǎn)要:IIS6.0+FrontPage_Server_Extensions_2002(Win03自帶,默認安裝系統時(shí)無(wú),需另安裝)。
2. 安裝
2-1. SQL數據部分
2-1-1. 數據庫軟件安裝(MS_SQL_server_05)
“Windows驗證”還是“混合驗證”,本人選擇“混合”+“sa:sasasa”,這樣看來(lái)保險一點(diǎn)。
(2Newbie:使用時(shí)或數據變動(dòng)時(shí),經(jīng)常刷新一下。~_~!)
2-1-2. 數據庫(表)安裝
2-1-2-1. 打開(kāi)SQL Server Management Studio,對象資源管理器-數據庫 - 新建數據庫,數據庫名稱(chēng)(官方默認為DotNetNuke)為DNN4(增加實(shí)戰性)。
2-1-2-2. 安全性-登陸名-新建登陸名,增加NT AUTHORITY\NETWORK SERVICE用戶(hù),服務(wù)器角色為serveradmin,用戶(hù)映射添加DNN4;
2-1-2-3. 打開(kāi) 數據庫 - DNN4 - 數據庫 - NT AUTHORITY\NETWORK SERVICE,在此用戶(hù)擁有的架構和數據庫角色成員身份下選中db_owner;
2-2. 安裝DNN4軟件包
2-2-1. 為了二次開(kāi)發(fā),當然使用resource包:DotNetNuke_4.0.2_Source.zip(8,188k),解壓之。
2-2-2. 新建-網(wǎng)站->dnn4,設置其子目錄website為網(wǎng)站主目錄;設置此目錄權限,增加NETWORK SERVICE-允許-完全控制。(注意使用高級-子目錄繼承父權限,使用(于Win03下,下同)
2-2-3. Microsoft SharePoint 管理 - 擴展 。(注意:在域中,可能由于用戶(hù)權限問(wèn)題,會(huì )出錯)(此舉為方便以后在client機上管理此網(wǎng)站,例如在client機VS05中可像本地一樣打開(kāi)此網(wǎng)站所有資源)
2-3. 設置數據連接
2-3-1. 修改website目錄下release.config文件名為web.config。
2-3-2. 打開(kāi)此文件修改:<configuration> 下的的<connectionStrings>和<appSettings>,都設置為 Connection String for SQL Server 2000/2005 (即更改注釋符-->的位置);
其中更改默認行<add key="SiteSqlServer" value="Server=(local);Database=DotNetNuke;uid=;pwd=;" />為以下之一
<!--使用SQL Server身份驗證-->
<add key="SiteSqlServer" value="Server=(local);Database=DDN4;uid=sa;pwd=sasasa;" />
<!--使用Windows身份驗證-->
<add key="SiteSqlServer" value="Persist Security Info=False;Integrated Security=SSPI;database=DDN4;server=(local)" />
2-4. Install/執行安裝
使用IIS管理器->dnn4-Install目錄->install.aspx-瀏覽,(或:在IE上輸入
http://localhost/Install/install.aspx),執行ing,wait,OK!
2-5. 另(當使用默認數據連接為MSSQLexpress05時(shí)):
2-5-1. 2.1節改為“安裝MS_SQL_05_express”(VS05自帶安裝,免費,簡(jiǎn)單);
2-5-2. 2.3項不要,OK!
2-6. PS:在以后修改網(wǎng)站前,先備份一下原始SQL數據庫!
待續-3-
一步一步建網(wǎng)-2-DotNetNuke4-3-基本設置Posted on 2006-02-24 09:29
BenL 閱讀(244)
評論(0) 編輯 收藏 所屬分類(lèi):
0-DotNetNukeDotNetNuke4
3. 基本設置
①②③④⑤⑥⑦⑧⑨⑩為設置修改順序
3-1. 進(jìn)入“host”(默認密碼:“host”)。設置(左上“Host”):
序號
項目
首選項
子選項
參數
備注
1
Host Settings
Basic Settings
Host Details
Host Portal, Host Title, Host URL, Host Email
主機設置①
Appearance
Host Skin, Host Container
外觀(guān)/風(fēng)格②
Advanced Settings
Other Settings
Performance Setting
性能③
2
Portals
入口點(diǎn)
3
Module Definitions
模板定義,增加/刪除⑩
4
File Manager
“\Portals\_default”下的文件
5
Vendors
供應商,友情鏈接
6
SQL
執行SQL語(yǔ)句
7
Schedule
名頁(yè)面使用情況
8
Languages
Upload Language Pack
語(yǔ)言包安裝⑤、制作、刪除
9
Search Admin
搜索管理(定義)
10
Lists
列表
11
User Accounts
Host用戶(hù)管理(修改密碼④)
12
Skins
Skins
皮膚/風(fēng)格上傳
Containers
容器上傳
3-2. 進(jìn)入 “admin” (默認密碼:“admin”)。設置(左上“admin”):
序號
項目
首選項
子選項
參數
備注
1
Site Settings
Basic Settings
Site Details
Title, Description, Key Words
主機設置⑥
Appearance
Logo, Body Background, Portal Skin, Portal Container
外觀(guān)/風(fēng)格⑦
Advanced Settings
Security Settings
User Registration
注冊驗證設置
Other Settings
Copyright, Banner Advertising, Default Language, Portal timeZone
版權,廣告,默認語(yǔ)言,時(shí)間區域⑧
Host Settings
主機設置(應該是和host設置對應?)
Stylesheet Editor
CSS STYLES FOR DotNetNuke(風(fēng)格文件?)
Portal Aliases
HTTP Alias
域名綁定
2
Pages
頁(yè)面增加/刪除/設置(重點(diǎn))⑨
3
Security Roles
定義角色
4
User Accounts
用戶(hù)列表(修改)
5
Vendors
供應商,友情鏈接(本站)
6
Site Log
站點(diǎn)日志(好像無(wú)內容?)
7
Newsletters
群發(fā)郵件
8
File Manager
“\Portals\0”下的文件(也就是站點(diǎn)1的文件)
9
Recycle Bin
Pages
刪除的頁(yè)面
Modules
刪除的模塊
10
Log Viewer
Viewer Settings
網(wǎng)站修改記錄查看
11
Skins
Skins
皮膚/風(fēng)格上傳(增加Skin Type)
Containers
容器上傳
12
Languages
Upload Language Pack
語(yǔ)言包制作、安裝、刪除
13
Authentication
Windows驗證(有待研究?)
待續-4-
一步一步建網(wǎng)-2-DotNetNuke4-4-頁(yè)面增加/刪除/設置Posted on 2006-03-01 12:30
BenL 閱讀(307)
評論(0) 編輯 收藏 所屬分類(lèi):
0-DotNetNukeDotNetNuke4
4. 頁(yè)面增加/刪除/設置
上一節中⑨(重點(diǎn)研究)
4-1. 基本方法
先在3-2節中第二項增加頁(yè)面,這些頁(yè)面可以在頂部Page Functions增加相應頁(yè)面,看看效果。
4-1-1. Module Definitions測試/研究:修改Account Login,在Edit Module Definitions下,Friendly Name, Description修改作為模塊的內部顯示名稱(chēng)和描述。
4-1-2. 默認兩個(gè)頁(yè)面為Home,Search Results(Hidden屬性)。
隱藏Home原頁(yè):Admin-Pages,Page Management(Home),設置(Permissions,Hidden,Hidden)。
注意:當site無(wú)任何頁(yè)面顯示時(shí),skin/container返回默認值。
4-2. DNN4默認內置module:
模塊名稱(chēng)
介紹
使用經(jīng)驗/心得
[皮膚對象]
皮膚對象是用來(lái)給用戶(hù)提供自由定義的控件
最內置module,即管理頁(yè)面下最上邊的一欄
Account Login
Allows users to login to the portal.
用戶(hù)登陸。
注意:Account Login這個(gè)模板可能有BUG,因為在Control里,原Source:為Admin/Security/Signin.ascx,但修改時(shí)無(wú)此項,當使用Update后會(huì )變成其它項,以后增加此頁(yè)面就會(huì )出錯。暈?。☉撌悄KControl注冊問(wèn)題,待研究。)
Announcements
This module renders a list of announcements. Each announcement includes title, text and a "read more" link, and can be set to automatically expire after a particular date.
公告。
Banners
Banner advertising is managed through the Vendors module in the Admin tab. You can select the number of banners to display as well as the banner type.
廣告。
Contacts
This module renders contact information for a group of people, for example a project team. Contacts includes an edit page, which allows authorized users to edit the Contacts data stored in the database.
在線(xiàn)聯(lián)系資料。
Discussions
This module renders a group of message threads on a specific topic. Discussion includes a Read/Reply Message page, which allows authorized users to reply to exising messages or add a new message thread. The data for Discussion is stored in the SQL database.
留言,討論。
注意:Security Roles定義不完整,使用戶(hù)留言能相互修改。屏蔽edit項?
Documents
This module renders a list of documents, including links to browse or download the document. Documents includes an edit page, which allows authorized users to edit the information about the Documents (for example, a friendly title) stored in the SQL database.
下載。
相當簡(jiǎn)單文檔(下載資源)管理。
Events
This module renders a list of upcoming events, including time and location. Individual events can be set to automatically expire from the list after a particular date. Events includes an edit page, which allows authorized users to edit the Events data stored in the SQL database.
博客。
有點(diǎn)似。
FAQs
FAQs allow you to manage a list of Frequently Asked Questions and their corresponding Answers.
Feedback
Feedback allows visitors to send messages to the Administrator of the portal.
聯(lián)系站長(cháng),email。
IFrame
IFrame is an Internet Explorer browser feature which allows you to display content from another website within a frame on your site.
有待研究。
Image
This module renders an image using an HTML IMG tag. The module simply sets the IMG tags src attribute to a relative or absolute URL, so the image file does not need to reside within the portal. The module also exposes height and width attributes, which permits you to scale the image. Image includes an edit page, which persists these settings to the portals configuration file.
Links
This module renders a list of hyperlinks. Links includes an edit page, which allows authorized users to edit the Links data stored in the SQL database.
News Feeds (RSS)
News Feed allows you to consume syndicated news feeds in Rich Site Summary (RSS) format.
Search Input
The Search Input module provides the ability to submit a search to a given search results module.
搜索。
主站頁(yè)面頂已經(jīng)提供。
Search Results
The Search Reasults module provides the ability to display search results.
搜索結果。
安裝自帶二之二,默認Hidden屬性。
Survey
Survey allows you to create custom surveys to obtain public feedback
調查/投票。
還可以。增加后如果再修改,會(huì )出現問(wèn)題。
Text/HTML
This module renders a snippet of HTML or text. The Html/Text module includes an edit page, which allows authorized users to the HTML or text snippets directly. The snippets are stored in the SQL database.
普通頁(yè)面。
安裝自帶二之一,Home。
User Account
Allows users to register and manage their account.
用戶(hù)資料。
User Defined Table
User Defined Table allows you to create a custom data table for managing tabular information.
用戶(hù)制作數據表。
UsersOnline
Users Online allows you to see who is online in your portal, and see membership counts
顯示用戶(hù)在線(xiàn)情況。
XML/XSL
This module renders the result of an XML/XSL transform. The XML and XSL files are identified by their UNC paths in the xmlsrc and xslsrc properties of the module. The Xml/Xsl module includes an edit page, which persists these settings to the SQL database.
4-3. 安裝新Module
上一節中⑩
4-3-1. Forum
4-3-1-1. 測試/下載:Forum_03.20.01_Install.zip
4-3-1-2. 安裝:Host登陸,Host-Module-Definitions-Upload-New Module-Add-,Upload New File
4-3-1-3. 試用感:基本架構的BBS;但畢竟是國外的,管理/控制上有點(diǎn)不一樣,功能弱,且要增加中文資源包;需要進(jìn)行二次開(kāi)發(fā)。
一步一步建網(wǎng)-2-DotNetNuke4-5/6-雜項/感!Posted on 2006-03-03 19:29
BenL 閱讀(536)
評論(2) 編輯 收藏 所屬分類(lèi):
0-DotNetNuke5. 雜項/一些記錄
5-1. 語(yǔ)言包
5-1-1. 中文資源包(
http://www.dnnchina.net版)里,作者增加了的版權信息于登陸頁(yè)面:\App_GlobalResources\GlobalResources.zh-CN.resx
5-1-2. 英文包和中文包經(jīng)常打架。(修改中文包資源文件后出現,應該是SQL更新BUG)(所以,本站以后禁用了英文包。暈?。?暫解決:禁用中文包后再使用)
5-2.基本參數
5-2-1. 瀏覽默認安裝Home頁(yè)時(shí),<title>多了個(gè)“( DNN 4.0.2 )”,不解?新建首頁(yè)后消失。
5-3. 文件系統
5-3-1. DDN文件系統采用后臺(數據庫記錄)登記:只有通過(guò)在File Manager里設置,才能在其它可選文件項上選擇。(所以使用系統資源管理器/FTP等方式增加修改文件后,執行Synchronize Database And File System)
5-3-2. 在Host管理里增加Pic文件夾,增加banner.gif
5-4. 廣告
Vendors(供應商、贊助商、賣(mài)主、小販?:)。
5-4-1.
Add New Vendor:
Banner Type:Banner/MicroButton/Button/Block/Skyscrape/Text/Script。
其中Banner就是頁(yè)面左上的廣告條。
5-5. 皮膚/風(fēng)格/容器
skin/container
5-5-1.默認背景色BGcolor:F7F7F7
6. 感!
至此,經(jīng)過(guò)數天對DNN4的了解和研究,感:
好:一個(gè)功能強大PORTAL,特別是對新.net2.0的支持,有N多Pro人開(kāi)發(fā)相關(guān)基本Module,Skin也不錯。重要的是開(kāi)源,可以二次開(kāi)發(fā)再開(kāi)發(fā)。(據說(shuō)4有些模塊沒(méi)有resource。本人不是搞編程,未深入研究)
壞:首當是速度有點(diǎn)慢?。?!Xeon2.0/512MB可能已經(jīng)成為過(guò)去式了。(這個(gè)原因,本人要暫放棄它了)由于種種原因,感覺(jué)dnn雖然是一個(gè)開(kāi)源resource,但更帶有商業(yè)性,很多有用Module都是二次開(kāi)發(fā)出來(lái)商用,更不說(shuō)Skin了,能DOWN的較少。
.net Framwork 系統,在性能,易用性都強,雖然DNN在開(kāi)源方面走在前列,但畢竟比起asp/php這種經(jīng)過(guò)NN年磨練、拿來(lái)就用/改,它的用戶(hù)還是少啊,更不說(shuō)做開(kāi)發(fā)用戶(hù)了,所以,對渴望開(kāi)源人來(lái)說(shuō).net/dnn還要走得更遠……
<End DNN4>