您的位置:首页 > 其它

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

2018-01-04 14:59 435 查看
部署SharePoint 2016 安装SharePoint 2016 1. 安装前执行“安装必备软件”



可以手动在官网下载相应的组件: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: 未能加载一个或多个类型。有关详细信息,请参阅升级日志。



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



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





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



3. 输入数据库服务器的地址和实例名,以及访问配置数据库的账号
(注:当前登录sharepoint服务器的账号必须在sql服务器上具备dbcreator和securityadmin两个服务器角色)



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



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



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



7. 单击下一步,



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



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. 后期根据需要来开启相应的服务,所以在弹出的页面点击“取消”



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


内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: