Using AutoSPInstaller To Install SharePoint 2013

This section talks about the software you should have ready on your system before starting the installation and configuration process of your SharePoint 2013 farm using AutoSPInstaller.

Step 1 – Software Download
  1. Login to your SharePoint Server as your domain\sp2013setup local administrator account
  2. Download SharePoint 2013 Server (w/ SP1 preferably) – http://technet.microsoft.com/en-us/evalcenter/hh973397.aspx
  3. Download latest Cumulative Update – http://technet.microsoft.com/en-us/sharepoint/jj891062.aspx
  4. Download lastest AutoSPInstaller – http://autospinstaller.codeplex.com
  5. Download latest AutoSPInstallerGUI – http://autospinstallergui.codeplex.com
  6. Download latest AutoSPSourceBuilder – https://autospsourcebuilder.codeplex.com

  7. Extract contents of AutoSPInstaller to C: drive (i.e. C:\SP)

  8. Mount your SharePoint 2013 Media File to a drive

  9. Optional (steps 9-12) – Slipstream install any cumulative updates and download prerequisites for an offline install by extracting AutoSPSourceBuilder to C:\SP  Ensure that the SharePoint farm has internet connection to do step 9-12

  10. Open Windows PowerShell as administrator

  11. Change directory to C:\SP (“CD c:\sp“) and run “Set-ExecutionPolicy ByPass

  12. Choose cumulative update (when prompted) and set parameters for an offline prerequisite install by running “.\AutoSPSourceBuilder.ps1 -GetPrerequisites $true

  13. Extract AutoSPInstallerGUI to C:\SP

  14. Ensure that C:\SP\AutoSPInstaller\AutoSPInstallerInput.xml file is not marked as read only

 

Step 2 – Farm Configurations and Installations

This step guides you through some of the basic configuration options that AutoSPInstaller and AutoSPInstallerGUI give you when configuring your farm. More advanced configurations are described on the AutoSPInstaller and AutoSPInstallerGUI CodePlex sites, which is now depreciated. So ignore the next steps below and go to the online GUI at https://autospinstaller.com/FarmConfiguration to create a configuration XML file for the SharePoint farm

  1. Run AutoSPInstallerGUI.exe from C:\SP

    NOTE: Alternatively AutoSPInstallerGUI is out of date and there is now an online version of GUI where you can upload the AutoSPInstallerInput.xml file

  2. Go to File -> Load XML and point to the C:\SP\AutoSPInstaller\AutoSPInstallerInput.xml configuration file

  3. On the Install tab, fill in the necessary components and how you would like your install to be configured
    1. Set the Environment
    2. Optional – Set it to offline install because you ran AutoSPSourceBuilder and auto slip streamed the cumulative updates and downloaded the pre-reqs
    3. Enable Auto Admin with the setup account (sp2013setup in my case) password so you don’t have to keep logging in after reboots to continue the process
    4. Change the search Index Data Directory to a different drive if possible
    5. Set your PID key (product key) and SKU version

  4. On the Farm tab, populate all the appropriate settings for each sub-tab
    1. Ensure you put in a Passphrase so that you can easily add more servers to the farm
    2. Create a database alias in case you ever need to move the SQL Server
    3. Set the DB Prefix with the environment name to easily identify your databases

    Recommend changing all log file locations to a separate drive

  5. Leave or customize the defaults in the web application tab

  6. Set the Service Application tabs properties

     

  7. Configure the enterprise service apps if required

  8. Configure Other properties if required

  9. Go to File -> Save to save your XML file and close AutoSPInstallerGUI
  10. In C:\SP\AutoSPInstaller, right click and run the AutoSPInstallerLaunch.bat file as admin

     

And voila! Once the script has been run, you should have a semi-running SharePoint farm.

Advertisements

AutoSPInstallerGUI

Overview

AutoSPInstallerGUI was originally a windows UI to create config files to automate deployment of SharePoint 2010 & 2013. AutoSPInstallerGUI was originally developed by Ivan and he published it to CodePlex in April 2015.

Since then NOTE that, AutoSPInstallerGUI is now depreciated. It has been replaced with the online version at  http://autospinstaller.com or http://autospinstaller.azurewebsites.net homepage

 

Getting started

  1. Read the AutoSPInstaller Guide
  2. Download and extract the zip file for the AutoSPInstaller PowerScript version here
  3. After step 1 and 2 has been done, at this point you want to begin configuring AutoSPInstaller via online by going to Load Default Template section of the farm config webpage and click “Begin with Template” button (**if you don’t have an existing config file). Follow the instruction to save and download the configuration as an XML file
  4. Follow the installation step section from the AutoSPInstaller Guide. In summary:
    • Drop the XML into the extracted \SP\AutoSPInstaller folder that was done in stp 2
    • Run AutoSPInstaller.bat on each farm

**If you already have a config file, then upload the XML file by clicking the Browse button from Load from my XML section