Using a local farm account for a SharePoint 2013 installation

I am install sharepoint on VM which does not join domain, and the DBServer is on the same machine.

 If you do a complete installation of SharePoint - when you get to the point where you are setting up database settings, the wizard will prevent you from using a local account.  There are good reasons for this, but I certainly did not want to get domain accounts involved for my simple VM, so I found a PowerShell command that allowed me to get around this: New-SPConfigurationDatabase  

 

PS C:\Users\Administrator> New-SPConfigurationDatabase

位于命令管道位置 1 的 cmdlet New-SPConfigurationDatabase 请为以下参数提供值:

DatabaseName: sharepoint

DatabaseServer: WIN-N7Q5Q2TO8L1\ids

FarmCredentials Passphrase: **********

PS C:\Users\Administrator>

 

After running this command, run your configuration wizard as you typically would.  You will see that you are already part of a farm, so just continue with the wizard and allow the remaining pieces to be set up.  Note that this should certainly not be used in other situation other than when setting up a simple single server environment for personal use.

posted @ 2014-04-08 09:55  vivian_lou  阅读(279)  评论(0编辑  收藏  举报