惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

T
Tenable Blog
Last Week in AI
Last Week in AI
P
Proofpoint News Feed
Engineering at Meta
Engineering at Meta
H
Help Net Security
F
Fortinet All Blogs
MyScale Blog
MyScale Blog
宝玉的分享
宝玉的分享
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
博客园 - 司徒正美
量子位
N
Netflix TechBlog - Medium
Apple Machine Learning Research
Apple Machine Learning Research
小众软件
小众软件
Recorded Future
Recorded Future
博客园 - 三生石上(FineUI控件)
Vercel News
Vercel News
aimingoo的专栏
aimingoo的专栏
I
InfoQ
Microsoft Security Blog
Microsoft Security Blog
Scott Helme
Scott Helme
The Last Watchdog
The Last Watchdog
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
IT之家
IT之家
AI
AI
WordPress大学
WordPress大学
Security Archives - TechRepublic
Security Archives - TechRepublic
Google Online Security Blog
Google Online Security Blog
U
Unit 42
V2EX - 技术
V2EX - 技术
MongoDB | Blog
MongoDB | Blog
Schneier on Security
Schneier on Security
博客园 - Franky
H
Heimdal Security Blog
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
Jina AI
Jina AI
W
WeLiveSecurity
P
Privacy & Cybersecurity Law Blog
Cloudbric
Cloudbric
B
Blog RSS Feed
N
News | PayPal Newsroom
S
Securelist
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
I
Intezer
Hacker News - Newest:
Hacker News - Newest: "LLM"
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
博客园_首页
罗磊的独立博客
H
Hackread – Cybersecurity News, Data Breaches, AI and More
雷峰网
雷峰网

博客园 - boy119

ISAPI_Rewrite二级域名的问题 制作dnn皮肤的扩展插件 中国DNN团队博客群开通,欢迎大家加入 NETMECHANIC.COM测试网页特性 让IIS服务器支持中文文件名 asp.net中文环境的安装方法 这个post收集可以借鉴的网站界面 从dvbbs转移到cnforums的经验 还有4个wallop邀请,需要的朋友请报名! Dnn3的新闻文章模块和一些看法 access转换为sqlserver的注意事项 cnforums1.2中“在过去的 24 小时内最活跃的 10 位会员”和“论坛统计信息”空白的解决方法 DNN文章模块使用datagrid分页心得 翻译网站 解决dnn3.06 UserOnLine/Survey不能正常运行的bug dnn3模块——FlashPlayer测试版 DotNetNuke Version 3.0.5 ( Public Beta 2 )发布 不错的城市 dnn 3.0.4中discussion的bug
DNN的空间占用问题
boy119 · 2005-02-11 · via 博客园 - boy119

在dnn的论坛看到一篇帖子,比较实用,留在这里。

http://www.asp.net/Forums/ShowPost.aspx?tabindex=1&PostID=671187

DNN 3.x.x Deploy.bat:

XCOPY "[dnn source root]" [destination path] /D /E /R /K /H /I /Y /W /EXCLUDE:Exclude.txt

Example:

XCOPY "E:\DNN\DotNetNuke" E:\DNN\Deploy /D /E /R /K /H /I /Y /W /EXCLUDE:Exclude.txt

This copies from my DotNetNuke source root folder to a deploy folder, excluding folders and files defined in the Exclude.txt file below.

I have a folder, "E:\DNN\Build" that has only the Deply.bat file and the Exclude.txt file in it. I go there, click on Deploy.bat, click any key to continue, and viola, I have a folder containing all my files I need to deploy to my host for any site.

All I have to do is add the appropriate web.config file in the root and I am all set.

DNN 3.x.x Exclude.txt:

\Documentation\
\BuildSupport\
\Components\
\HttpModules\

\controls\CountryListBox\
\controls\DataAccessBlock\
\controls\DotNetNuke.WebControls\
\controls\DotNetNuke.WebUtility\
\controls\MemberRole\
\controls\SharpZipLib\
\controls\SolpartMenu\bin\

\Portals\0\portal.css

.sln
.suo
.webinfo
.vb
.build
.bat
.pdb
.doc
web.config

There is a start for the bat file's exclude.txt file for DNN 3.x.x.

There is much, much more that can be added, this is a start for 3.x.x

The \Portals\0\portal.css file is excluded because if it exists already, DNN throws an error (unhandled) that it already exists when you run the newly deployed portal.

Deployment size from the above excludes = 22.8mb, size on disk = 25.7mb.

I am sure if I had a little more time this morning, I could easily figure out all of the required excludes, a Core Team member is not required (although it would speed things up).