If you still REALLY wanted to do on premise SharePoint, beware that SharePoint 2013 Server and I assume by association SharePoint Foundation 2013 is currently NOT supported on the latest server release – Windows Server 2012 R2.
See this blog post for more details:
You are going to have to wait until SharePoint 2013 Service Pack 1 is released. The availability date for this service pack has not yet been released.