Basic initialization for kinds of operating system.