You can automate the installation and configuration of ArcGIS 10.3.1 for Server using a Chef Cookbook available on the Esri GitHub repository or Chef Supermarket. Download and run the tool to install and configure multiple GIS servers in a single site or install a full web GIS with the GIS server, Portal for ArcGIS, ArcGIS Web Adaptor, and ArcGIS Data Store on a machine, and configure them to work together.
The cookbook does not require any changes; you can run it as-is and launch a site. But if you are experienced with Chef and want to customize the Cookbook before running it, you can do that too.
For more information on what the Cookbook does and how to use it, see Get Started with ArcGIS Cookbook and the ArcGIS Cookbook information on Esri GitHub.