a basic knowledge of linux: version, application and partition

Website: www.netcraft.com can be found at each site is currently running with the usage of the platform and a variety of distribution platforms.

1.Linux and windows of the differences:

  • Linux strict case-sensitive;
  • Linux, everything is a file, does not distinguish between hardware, users, etc.;
  • Under the program windows can not be run directly under Linux, only with the simulator.

2.Linux version understanding:

Linux kernel version and a release version, which kernel version URL: www.kernel.org, version number such as: 2.6.18,3.6, is completely open source; and release are based on core research and development of different manufacturers products such as: RedHat, Suse, CentOS, Ubuntu, Debian.

3.Linux application areas:

  • Enterprise servers; focus on reliability and safety.
  • Embedded applications, such as: millet box, set-top boxes, smart TV, 3D movie scene.

4. Use of a virtual machine

  • What is a virtual machine: VM (Virtual Machine) refers to software with a complete simulation of the hardware system functions, run in a completely isolated intact environment computer system . In the computer entity to complete the work can be achieved in a virtual machine. In the computer when you create a virtual machine, and memory capacity of the hard disk needs physical machine as virtual machine's hard disk and memory capacity. Each virtual machine has independent CMOS , hard drive and operating system , can be used like a physical machine as virtual machines to operate.
  • The virtual machine has: Linux virtual machines for installation in linux virtual operating environments on Windows, called Linux virtual machines.

                           windows virtual machine: windows XP virtual machine.

                           Java Virtual Machine: JVM Java Virtual Machine is an abbreviation, it is a fictional computer, is achieved by computer simulation on a real simulation of various computer functions. Java   virtual machine has its own sound hardware architecture, such as processor, stack , registers, etc., also has a corresponding instruction . Achieved regardless of the JAVA platform features through Java Virtual Machine.

  • Virtual Machine Resource Allocation: involves a number of aspects: the CPU , memory, network and disk . Virtual machine's memory can not exceed half of physical memory; vCPU virtual machine runs only on a physical core, and therefore the higher the speed of the CPU frequency, the higher the virtual machine, of vCPUs greater the number of applications will help improve the performance of which performed. If the virtual machine would take a lot of CPU time, consider a virtual machine is allocated a second vCPU , however, assign two or more virtual machine vCPU does not necessarily make applications run faster, because only multi-threaded applications to effectively use multiple vCPU.
  • Virtual machine software: the windows, VMware, Virtual Box and Virtual PC; VMLite

5.Linux Zoning Basics:

  • Partition Principle: up to four primary partitions; + primary partitions up to four extended partition; extended partition can not write data, the logical partition can contain, as represented in FIG:
  • Format: the disk file system is divided, mainly to complete: 1. Each partition is divided into small pieces in size of 4KB (i.e., collectively, the data block Block); 2 to create the partition list, the list contains the file ID (collectively I node), modification time, file location, file permissions, find files indexed according to the list of partitions.
  • Types of file systems: FAT12, FAT32, NTFS (windows latest); EXT2, EXT3, EXT4 (Linux-date). The larger the support of the new partition file system, a single larger file size.

 

Guess you like

Origin www.cnblogs.com/dLarger/p/12575799.html