VMware VM installation and use

VMware profile

  • VMware is a virtual PC software that can create a virtual new hardware environment on the existing operating system, which is equivalent to simulating a new PC. In this way, two or more independent systems can be run on one machine.

Main Features of VMware

  • You can use more than two operating systems on the same PC without having to partition or reboot.
  • The local system can communicate with the system on the VM.
  • You can set and modify the vm operating system hardware environment at any time.

Recommended VMware configuration

  • CPU: the recommended main frequency is 1GHz or higher.
  • Memory: more than 1GB is recommended.
  • Hard disk: it is recommended that the partition have more than 8GB free space.

Install VMware

  • Skip (next step in Windows).

Creating a VM

Configure the VM network

The connection method Connect the network card Whether the device can be connected Whether the LAN can be connected Whether the public network can be connected
The bridge Local Real NIC can can can
NAT VMnet8 can Can’t can
Only the host VMnet1 can Can’t Can’t

The system partition

Disk partition

An overview of the

  • Disk partitioning is to use the partition Editor to divide logical parts on a disk. Once a disk is divided into several partitions, different types of directories and files can be stored in different partitions.

Two partition table forms

  • MBR partition table: supports a maximum of 2.1TB disks and a maximum of four partitions.
  • GPT partition table (globally unique partition table) : the GPT supports 9.4ZB hard disks (1ZB=1024PB, 1PB=1024EB, 1EB=1024TB). Theoretically, there is no limit to the number of partitions supported, but Windows is limited to 128 primary partitions.

MBR Partition type

  • Primary partition: a maximum of four partitions can be created.
  • Extended partition:
    • There can be at most one.
    • A maximum of four primary partitions and extended partitions are supported.
    • Cannot write data, only contains logical partitions.
  • Logical partition.

formatting

An overview of the

  • Formatting (Advanced formatting) is also called logical formatting. It writes specific data to a specific area of the disk based on the selected file system (such as FAT16, FAT32, NTFS, EXT2, EXT3, and EXT4) and divides the disk space for file management, such as file distribution tables and directory tables.

Disk Device File Name

hardware Device file name
IDE hard disk /dev/hd[a-d]
SCSI/SATA/USB hard drive /dev/sd[a-p]
drive / dev/cdrom or/dev/sr0
A floppy disk /dev/fd[0-1]
Printer (25 pins) /dev/lp[0-2]
Printer (USB) /dev/usb/lp[0-15]
The mouse /dev/mouse

mount

Must partition

  • / (root partition)
  • Swap
    • If the real memory is less than 4 GB, the swap partition is twice the memory size.
    • If the real memory is greater than 4 GB, the swap partition is the same as the memory.
    • Experimental environment, not greater than 2G.

Recommend partition

  • /boot (Boot partition, 1GB)

Commonly used partition

  • /home (for file servers).
  • / WWW (for web servers).

conclusion

  • Partition: Divide a large hard drive into smaller logical partitions.
  • Format: Write to the file system.
  • Partition device file name: Defines the device file name for each partition.
  • Mount: Assign mount points to each partition.

Linux installation

  • A little.

Remote login management tool

  • Xshell, etc.