VWDCMS/安装
查看全部词条命名空间:Main
VWDCMS,并不提供简易安装助手功能,安装时相关的配置都需要手动添加代码,下面是将会介绍其主要的安装步骤,注意安装的顺序。
安装步骤
Initial Catalog=MySite;Integrated Security=SSPI;"/>
- 在web.config中的“
”区域中设置身份验证表单:
- 在web.config中的“
”区域中的 段添加membership provider:
connectionStringName="devdb"
applicationName="MySite"
requiresUniqueEmail="true"
passwordFormat="Hashed"
enablePasswordRetrieval="false"
enablePasswordReset="true"
requiresQuestionAndAnswer="false"
maxInvalidPasswordAttempts="5"
minRequiredPasswordLength="6"
minRequiredNonalphanumericCharacters="0"
passwordAttemptWindow="10"
passwordStrengthRegularExpression="(?=.{6,})"/>
- 在
段中添加 role provider:
cookieName=".ASPXROLES"
cookiePath="/"
cookieProtection="All"
cookieRequireSSL="false"
cookieSlidingExpiration="true"
cookieTimeout="30"
createPersistentCookie="false"
domain=""
enabled="true"
maxCachedResults="25">
type="System.Web.Security.SqlRoleProvider, System.Web,
Version=2.0.0.0, Culture=neutral,
PublicKeyToken=b03f5f7f11d50a3a"/>
- 安装ASP.NET会员服务;
- 确认“admin”和“members”两个角色已经建立;
- 安装VWD-CMS的会员服务;
- 安装VWD-CMS的自带的论坛;
- 新建一个或者多个SMTP账户,通过在vwdcms.config 中的“
”段中添加如下代码:
<host>mail.domain.com
- 创建用户账号
- 向“Admin”角色中添加用户账号;
- 编辑Email模板,即定制并且设置SMTP账户能够使用。
相关来源
- http://www.vwd-cms.com/documentation/v020/cms-setup-steps.aspx