Centos 7 Minimal version installs VMware tools

Source: Internet
Author: User
Tags system log

单位有一套软件系统,以前是部署在windows上,现在新版本是基于Linux架构开发的,部署在centos 7.3 minimal版本上。在虚拟机上创建了一个**centos 7.3 minimal**的系统,为何不是“CentOS-7-x86_64-DVD.iso ”,厂家的解释是所有开发调试工作都是再minimal版本上来的,出现问题比较熟悉,方便解决。 我也是醉了~~~~
     既然在虚拟机上安装系统,肯定需要安装“**vmware tools**”,现在介绍下为何需要安装“**vmware tools**”。         VMware 强烈建议你在每一台虚拟机中完成操作系统安装之后立即安装VMware Tools 套件。在客户操作系统中安装 VMware Tools 非常重要。安装VMware-Tools 的作用和好处有如下几点:1. 更新虚拟机中的显卡驱动, 使虚拟机中的XWindows可以运行在SVGA模式下2. 提供一个vmware-toolbox, 这个Xwindows下的工具可以让你修改一些VMWare的参数和功能3. 同步虚拟机和Host的时间4. 支持同一个分区的真实启动和从虚拟机中启动, 自动修改相应的设置文件5. 自动捕获和释放鼠标光标6. 改善的网络性能

Installing Perl

1, first the virtual machine, and then "Edit settings", loading the CentOS 7 DVD image.

2. Boot the virtual machine. Hanging in the optical drive

3. Enter the media directory to create the Tools folder

What does/mnt/media mean, by the way, to show the directory structure of CentOS:

/ -Root
Each file and directory starts with the root directory.
Only the root user has write permissions to the directory. Please note that/root is the root user's home directory, which is not the same as/.
/binMedium-User binary files
Contains a binary executable file.
In single-user mode, the common Linux commands you need to use are located in this directory. The commands used by all users of the system are set here.
For example: PS, ls, ping, grep, CP
/sbinDirectory-System binaries
Just like/bin,/sbin also contains binary executables.
However, Linux commands in this directory are usually used by system administrators to maintain the system. Example: Iptables, reboot, Fdisk, ifconfig, swapon commands
/ etc-Configuration file
Contains the configuration files that are required for all programs.
It also contains startup and shutdown shell scripts for starting/stopping a single program. For example:/etc/resolv.conf,/etc/logrotate.conf
/ Dev-Device files
Contains device files.
These include terminal equipment, USB or any device connected to the system. For example:/dev/tty1,/dev/usbmon0
/proc-Process Information
Contains information about the system process.
This is a virtual file system that contains information about the processes that are running. For example: The/proc/{pid} directory contains information related to a specific PID.
This is a virtual file system in which system resources exist as textual information. Example:/proc/uptime
/ var-Variable file
var represents a variable file.
This directory allows you to find files that may grow in content.
This includes-system log files (/var/log), Package and database files (/var/lib), e-mail (/var/mail), print queue (/var/spool), lock Files (/var/lock), multiple restarts of required temporary files (/var/tmp) ;
/ tmp-Temporary files
Contains system and user-created temporary files.
When the system restarts, the files in this directory will be deleted.
/ usr-User Program
Source code that contains binaries, library files, documents, and level two programs.
The/usr/bin contains a binary file of the user program. If you can't find the user binaries in/bin, go to the/usr/bin directory to see. For example: At, awk, CC, less, SCP.
The/usr/sbin contains the system administrator's binaries. If you can't find the system binaries in/sbin, go to the/usr/sbin directory to see it. For example: ATD, Cron, sshd, Useradd, Userdel.
The/usr/lib contains the libraries used by/usr/bin and/usr/sbin.
The user program installed from the source is included in the/usr/local. For example, when you install Apache from the source, it will be in/usr/local/apache2.
/Home-Home Directory
All users use the home directory to store their personal files.
For example:/home/john,/home/nikita
/ Boot-Boot loader files
Contains the boot loader-related files.
The kernel's initrd, vmlinux, and grub files are located under/boot.
For example: Initrd.img-2.6.32-24-generic, Vmlinuz-2.6.32-24-generic
/lib-System Library
Contains library files that support binary files located under/bin and/sbin.
Library file name is LDor Lib. so.*
Example: ld-2.11.1.so,libncurses.so.5.7
/opt-Optional add-on app
OPT stands for optional.
Contains additional applications from individual vendors.
Additional applications should be installed in subdirectories of/opt/or/opt/.
/mnt-Mount Directory
A temporary installation directory where the system administrator can mount the file system.
/media-Removable media devices
A temporary directory that is used to mount removable devices.
For example, mount the CD-ROM/media/cdrom, mount the floppy disk drive/media/floppy;
/srv-Service data
The SRV Representative service.
Contains data related to server-specific services.
For example,/srv/cvs contains CVS-related data.
Detailed can refer to this article: http://www.cnblogs.com/JCSU/articles/2770249.html
http://blog.csdn.net/qq_27769519/article/details/55048162

4. View the results of the CD drive
cd/mnt/
LS View file information under the/mnt/path

5. Copy files to "TOOSL" directory

6. Enter the/ETC/YUM.REPOS.D directory

7. Delete the contents of this document

8. Enter vi and file name in system hint symbol, enter VI full screen edit screen

9, that is, you enter the VI, is in the "command mode", you want to switch to "insert mode" to enter text. Press the letter "i" under Command mode to enter "Insert Mode", and you can start typing the text again at this point.
Detailed can refer to this article: http://blog.csdn.net/zltianhen/article/details/7785066

10, enter the configuration information, and then click the "esc" button to go to "command mode", enter ": wq!", Save and Exit VI).

11. Installing Perl

12. Enter Y to agree to install

13. Perl Installation Complete interface

Installing TOOSL

14. Disconnect the CentOS ISO image

15. Modify the configuration in "virtual Settings", then save and power on

16. Click on "Install VMware Tools" on the virtual machine

17. Mount the optical drive

18. LS View files in/mnt

19. Copy "vmware-tools-10.1.0-4449150.tar.gz" in/mnt to/MEDIA/TOOSL directory

20. Enter the/MEDIA/TOOSL directory to view the files inside

21, Decompression * * "vmware-tools-10.1.0-4449150.tar.gz"

22. Browse the files in the TOOSL directory

23, Installation Net-tools

24, Net-tools Complete installation

25. Enter the Vmware-tools-distrib directory

26. LS View Vmware-tools-distrib directory

27, execute the installation command, and then click "Y", all the way to enter

28. Installation Complete Interface

Centos 7 Minimal version installs VMware tools

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.