I thought it was a very easy thing, after all, Microsoft's own products installed in their own operating system, did not expect to let me spend a half a day.
Write it down here and make it easy for other friends.
Specific steps
==============================
1. Prepare a virtual machine for Windows Server R2 RTM, prepare the installation package for SharePoint RTM, and the installation package for SP1.
2. Make slipstream installation files, refer to here.
3. The following error will be shown when running Prerequisiteinstaller.
4. Add Applicaiton server Role, and IIS, in Server Manager first. Reboot.
5. Download the script here and execute the download-sp2013prereqfiles.ps1.
6. After the download is complete, click the installation file except the following.
- Windows6.1-kb974405-x64.msu
- Windowsserverappfabricsetup_x64.exe
- Appfabric1.1-rtm-kb2671763-x64-enu.exe
7. In PowerShell, the current directory points to the directory where the installation files are downloaded and runs the following command.
. \windowsserverappfabricsetup_x64.exe/i cacheclient "," Cachingservice "," Cacheadmin/gac
8. Wait a few minutes, the purpose is to wait for the above command to start the installation end, otherwise the following steps will be error.
9. Install the Appfabric1.1-rtm-kb2671763-x64-enu.exe.
10. Restart.
11. No need to run Prerequisiteinstaller again, run Setup.exe directly.
12. Follow the on-screen prompts to complete the installation.
Postscript
==============================
Asked a colleague, colleague said directly download a slipstream version can be installed directly.
Surf the internet for a bit, see this article. Say this loading file needs to be downloaded from MSDN, VLSC, MPN.
The article also on their own direct production slipstream can not be installed to make an explanation, said the package layout in March Pu began to make changes.
Therefore, the standard practice is to download the official slipstream installation files directly.
I have a simple look, I personally do not have MSDN and VLSC account, so how to download I am not clear at the moment. We'll update it later.
Resources
==============================
Installing SharePoint on Windows Server R2 Preview
http://www.avivroth.com/2013/07/09/installing-sharepoint-2013-on-windows-server-2012-r2-preview/