Installing Stand-Alone SharePoint 2013 on Windows Server 2012
This video demonstrates how to install a stand-alone development instance of SharePoint Foundation 2013 on Windows Server 2012 for development environment on a machine which is not part of a domain. During the video there are demonstrated what kind of obstacles you might encounter and how you could work-around them.
source
windows server