The cent OS 7 system installed with the Vmwareware virtual machine is running low on the remaining space, causing the software to not install properly. If you reinstall the system, you will need to reconfigure the installation configuration of your development environment and software. Through the online collection of information, combined with their own practice, summed up the following detailed steps to expand the hard disk space, I hope to help you.
(1) Open VMware, select the edit Virtual mache settings,utilities drop-down box to find the expand as
(2) Expand the disk space to 70G, click Expand, then enter a longer expand process, after the completion of this is the new space has increased, but the Linux environment is not visible.
(3) Start Linux operating system in VMware Environment, add new partition, need root account identity.
3.1 "Fdisk-l" the largest partition is/dev/sda3, stating that the newly created partition will be SDA4
3.2 Enter "FDISK/DEV/SDA"
3.2.1 The command line prompt, enter "M" to list the Help for Fdisk.
3.2.2 Enter the command "n" to add a new partition.
3.2.3 Enter the command "P" to create the primary partition.
3.2.4 input "Enter" and select the default size, so that no space is wasted.
3.2.5 Enter "Return" and select the default start cylinder.
3.2.6 Enter "W", Save the changes and exit, partition is complete.
3.3 Enter "reboot" to restart Linux, must be reboot, otherwise/DEV/SDA4 cannot be formatted.
3.4 At this point in the/dev/directory, you can see the new partition such as/dev/sda4
3.5 "MKFS.XFS/DEV/SDA4" format
3.6 Creating the Disk4 directory under the root directory
3.7 "mount/dev/sda4/disk4/" mount the partition onto the/disk4/
3.8 in vim Modify/etc/fstab file, add "/dev/sda4/disk4 ext2 defaults 0 0" line, and save, realize boot auto mount.
At this point, the new increase in disk space capacity, can be reflected on the DISK4, and reboot automatically mount the partition, additional disk space to work.
If the current disk is not wide, you can use the method of increasing the disk, in the VMware main interface, select the "VMware" drop-down menu, select "Settings", "add" method to add a disk, followed by a similar operation, no longer repeat.
VMware virtual machines Increase disk space expansion operations in Linux