sharepoint 2016 场快速配置(1)——部署sharepoint 2016

部署SharePoint 2016
安装SharePoint 2016

1. 安装前执行“安装必备软件”

clip_image002

可以手动在官网下载相应的组件:http://go.microsoft.com/fwlink/p/?LinkId=613440

手动安装时,下面两个组件必须用命令加参数安装

•Windows AppFabric

/i CacheClient,CachingService,CacheAdmin /gac

•Microsoft WCF Data Services

/quiet

也可以联网让sharepoint自动安装相应组建,部分组件安装失败,手动下载部分组件安装即可。

手动安装直接Windows AppFabric,不用参数会导致反复重启安装Windows AppFabric;

手动安装Microsoft WCF Data Services会导致执行配置向导时提示下面错误:

Exception: Microsoft.SharePoint.Upgrade.SPUpgradeException: 未能加载一个或多个类型。有关详细信息,请参阅升级日志。

clip_image004

2. 执行“安装SharePoint Server”,安装过程比较简单,等待安装完成。

clip_image006

SharePoint 2016 产品配置向导

1. 安装完成后,执行“SharePoint 2016 产品配置向导”,单击“下一步”,并选择“是”

clip_image008clip_image009

2. 选择“创建新的服务器场”

clip_image011

3. 输入数据库服务器的地址和实例名,以及访问配置数据库的账号

(注:当前登录sharepoint服务器的账号必须在sql服务器上具备dbcreator和securityadmin两个服务器角色)

clip_image013

4. 指定服务器场的新密码

clip_image015

5. 根据实际情况选择相应的服务器角色,当前测试环境使用单一服务器场

clip_image017

6. 指定管理站点使用的端口号,可以保持当前随机端口号,也可以指定端口号,这里为了后期方便访问管理站点,指定端口号为10000

clip_image019

7. 单击下一步,

clip_image021

8. 再次单击下一步,等待配置完成

clip_image023

9. 可以使用powershell配置:

使用管理员执行powershell

Add-PSSnapin Microsoft.SharePoint.PowerShell

New-SPConfigurationDatabase -DatabaseName "SharePointConfig2016" -DatabaseServer "Sql2016\sql" -Passphrase (ConvertTo-SecureString "a" -AsPlainText -force) -AdministrationContentDatabaseName "admindb" -FarmCredentials (Get-Credential) -localserverrole custom

命令解释如下:

At the Windows PowerShell command prompt, type the following command, and then press Enter:

New-SPConfigurationDatabase –DatabaseServer <String1> `

                            -DatabaseName <String2> `

                            -AdministrationContentDatabaseName <String3> `

                            -Passphrase <SecureString> `

                            -FarmCredentials <PSCredential> `

                            -LocalServerRole <String4>

Where:

· <String1> is the name of the database server, for example, Sql2016\sql.

· <String2> is the name of the configuration database, for example: SharePointConfig2016.

· <String3> is the content database name for Central Administration, e.g. admindb.

· <SecureString> is the password phrase for the farm, which is needed for other machines to join the farm. You would use the ConvertTo-SecureString cmdlet.

· <PSCredential> is the DOMAIN\password of the user account that is performing the installation, which you obtain by using the Get-Credential DOMAIN\username command.

· <String4> is the type of server that you want to install. As the first server, your options are SingleServerFarm, Application, or Custom.

初始场配置向导

1. 后期根据需要来开启相应的服务,所以在弹出的页面点击“取消”

clip_image025

2. 如果需要使用配置向导,可以在“管理中心——配置向导”,重新启动配置向导

clip_image027

发布了223 篇原创文章 · 获赞 17 · 访问量 55万+

猜你喜欢

转载自blog.csdn.net/pclzr/article/details/78971035