Windows Server2008 R2 MVC 环境配置

时间:2023-03-09 06:57:08
Windows Server2008 R2 MVC 环境配置

*:first-child {
margin-top: 0 !important;
}

body>*:last-child {
margin-bottom: 0 !important;
}

/* BLOCKS
=============================================================================*/

p, blockquote, ul, ol, dl, table, pre {
margin: 15px 0;
}

/* HEADERS
=============================================================================*/

h2, h3, h4, h5, h6 {
margin: 20px 0 10px;
padding: 0;
font-weight: bold;
-webkit-font-smoothing: antialiased;
}

h1 tt, h1 code, h2 tt, h2 code, h3 tt, h3 code, h4 tt, h4 code, h5 tt, h5 code, h6 tt, h6 code {
font-size: inherit;
}

h2 {
font-size: 24px;
border-bottom: 1px solid #ccc;
color: #000;
}

h3 {
font-size: 18px;
}

h4 {
font-size: 16px;
}

h5 {
font-size: 14px;
}

h6 {
color: #777;
font-size: 14px;
}

body>h2:first-child, body>h1:first-child, body>h1:first-child+h2, body>h3:first-child, body>h4:first-child, body>h5:first-child, body>h6:first-child {
margin-top: 0;
padding-top: 0;
}

a:first-child h1, a:first-child h2, a:first-child h3, a:first-child h4, a:first-child h5, a:first-child h6 {
margin-top: 0;
padding-top: 0;
}

h1+p, h2+p, h3+p, h4+p, h5+p, h6+p {
margin-top: 10px;
}

/* LINKS
=============================================================================*/

a {
color: #4183C4;
text-decoration: none;
}

a:hover {
text-decoration: underline;
}

/* LISTS
=============================================================================*/

ul, ol {
padding-left: 30px;
}

ul li > :first-child,
ol li > :first-child,
ul li ul:first-of-type,
ol li ol:first-of-type,
ul li ol:first-of-type,
ol li ul:first-of-type {
margin-top: 0px;
}

ul ul, ul ol, ol ol, ol ul {
margin-bottom: 0;
}

dl {
padding: 0;
}

dl dt {
font-size: 14px;
font-weight: bold;
font-style: italic;
padding: 0;
margin: 15px 0 5px;
}

dl dt:first-child {
padding: 0;
}

dl dt>:first-child {
margin-top: 0px;
}

dl dt>:last-child {
margin-bottom: 0px;
}

dl dd {
margin: 0 0 15px;
padding: 0 15px;
}

dl dd>:first-child {
margin-top: 0px;
}

dl dd>:last-child {
margin-bottom: 0px;
}

/* CODE
=============================================================================*/

pre, code, tt {
font-size: 12px;
font-family: Consolas, "Liberation Mono", Courier, monospace;
}

code, tt {
margin: 0 0px;
padding: 0px 0px;
white-space: nowrap;
border: 1px solid #eaeaea;
background-color: #f8f8f8;
border-radius: 3px;
}

pre>code {
margin: 0;
padding: 0;
white-space: pre;
border: none;
background: transparent;
}

pre {
background-color: #f8f8f8;
border: 1px solid #ccc;
font-size: 13px;
line-height: 19px;
overflow: auto;
padding: 6px 10px;
border-radius: 3px;
}

pre code, pre tt {
background-color: transparent;
border: none;
}

kbd {
-moz-border-bottom-colors: none;
-moz-border-left-colors: none;
-moz-border-right-colors: none;
-moz-border-top-colors: none;
background-color: #DDDDDD;
background-image: linear-gradient(#F1F1F1, #DDDDDD);
background-repeat: repeat-x;
border-color: #DDDDDD #CCCCCC #CCCCCC #DDDDDD;
border-image: none;
border-radius: 2px 2px 2px 2px;
border-style: solid;
border-width: 1px;
font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
line-height: 10px;
padding: 1px 4px;
}

/* QUOTES
=============================================================================*/

blockquote {
border-left: 4px solid #DDD;
padding: 0 15px;
color: #777;
}

blockquote>:first-child {
margin-top: 0px;
}

blockquote>:last-child {
margin-bottom: 0px;
}

/* HORIZONTAL RULES
=============================================================================*/

hr {
clear: both;
margin: 15px 0;
height: 0px;
overflow: hidden;
border: none;
background: transparent;
border-bottom: 4px solid #ddd;
padding: 0;
}

/* TABLES
=============================================================================*/

table th {
font-weight: bold;
}

table th, table td {
border: 1px solid #ccc;
padding: 6px 13px;
}

table tr {
border-top: 1px solid #ccc;
background-color: #fff;
}

table tr:nth-child(2n) {
background-color: #f8f8f8;
}

/* IMAGES
=============================================================================*/

img {
max-width: 100%
}
#header {
position: fixed;
z-index: 999;
width: 100%;
opacity: 0.95;
top: 0px;
left: 0px;
}
#header h1 {
margin: 0;
font-size: 1.5em;
background-color: #adf;
padding-top: 1em;
padding-left: 5px;
padding-bottom: 5px;
background: #f9f9f9 no-repeat 10px .5em;
color: #000;
padding-left: 100px;
height: 20px;
border-bottom: 1px dotted #000;
margin: 0;
padding-bottom: 30px;
font-family: "Courier New",Verdana,monospace;
}
-->

web开发中避免不了运行环境的搭建,个人认为这是没有什么技术含量而又浪费时间的工作.所以将环境搭建的步骤记录下来,希望可以帮到有需要的朋友少走些弯路.如果有朋友遇到本文未提到的问题也欢迎同笔者联系,一起讨论共同进步.

Windows Server2008 R2 MVC环境配置之--SQL Server 2008 R2

1.下载地址:Microsoft® SQL Server® 2008 R2 SP2 - Express Edition

2.解压镜像(.ISO文件)

Windows Server2008 R2 MVC 环境配置

3.1管理员身份运行安装程序

Windows Server2008 R2 MVC 环境配置

3.2若出现提示安装.NET Framework3.5请先安装.NET Framework3.5,因为SQL2008R2需要netFramework3.5的支持

4.1.0开始安装

Windows Server2008 R2 MVC 环境配置

4.1.0安装支持规则的检测(检测当前系统环境能否支持SQL2008 R2)

Windows Server2008 R2 MVC 环境配置

4.1.1输入版本密钥

Windows Server2008 R2 MVC 环境配置

4.1.2接受条款

Windows Server2008 R2 MVC 环境配置

4.1.3安装支持文件

Windows Server2008 R2 MVC 环境配置

4.1.3安装程序支持规则

Windows Server2008 R2 MVC 环境配置

4.1.3设置角色

Windows Server2008 R2 MVC 环境配置

4.1.4选择功能安装(为了防止后面遇到麻烦,全选吧)

Windows Server2008 R2 MVC 环境配置

4.1.5安装规则

Windows Server2008 R2 MVC 环境配置

4.1.6实例配置,根据自身需求,默认亦可

Windows Server2008 R2 MVC 环境配置

4.1.7磁盘空间需求检测(空间要足够哦)

Windows Server2008 R2 MVC 环境配置

4.1.8服务器配置-根据自身业务选择,可参考下面的说明

  • Local System:本地系统用户,常用于个人电脑
  • Network Service:网络服务用户,可远程连接数据库
  • Local Service:本地服务

Windows Server2008 R2 MVC 环境配置

4.1.9数据库引擎配置,建议选择混合模式,注:牢记设置的密码!!!

Windows Server2008 R2 MVC 环境配置

4.2.0.Analysis Services 配置

Windows Server2008 R2 MVC 环境配置

4.2.1.Reporting Services 配置,默认即可

Windows Server2008 R2 MVC 环境配置

4.2.2.错误报告,默认即可.其指定出错时要不要发送错误报告给微软.

Windows Server2008 R2 MVC 环境配置

4.2.3.安装配置规则

Windows Server2008 R2 MVC 环境配置

4.2.4.准备安装

Windows Server2008 R2 MVC 环境配置

4.2.5.一切就绪,耐心等待吧.

Windows Server2008 R2 MVC 环境配置

4.2.6.安装完成,收工回家

Windows Server2008 R2 MVC 环境配置

4.2.7.贴心提示(小白可以通过下面方式找到我们安装好的SQL Server)

Windows Server2008 R2 MVC 环境配置Windows Server2008 R2 MVC 环境配置

4.2.8.如果你是之前卸载过SQL或者安装不成功的,可能会在步骤4.2.3遇到以下问题:

Windows Server2008 R2 MVC 环境配置

解决方法:(找到下面路径,删除这几个文件)

Windows Server2008 R2 MVC 环境配置

重新运行检测:OK继续吧

Windows Server2008 R2 MVC 环境配置