Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to mount the local disk on CentOS7

2025-02-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/02 Report--

This article mainly introduces "how to mount the local disk in CentOS7". In the daily operation, I believe many people have doubts about how to mount the local disk in CentOS7. The editor consulted all kinds of materials and sorted out a simple and easy-to-use method of operation. I hope it will be helpful to answer the doubts about "how to mount the local site in CentOS7". Next, please follow the editor to study!

CentOS7 install VMware Tools

Install dependency packages

[root@localhost ~] # yum-y install perl gcc gcc-c++ make cmake kernel kernel-headers kernel-devel net-tools

Load vmware tools to CentOS7 optical drive CD-ROM

Click the menu `virtual machine `- >` to install VMware Tools (T)... `

Mount CD-ROM to the specified directory

Normally, the device directory / dev/crrom is mounted to the / mnt/cdrom directory. If the cdrom directory does not exist in the / mnt directory, create it.

Create if / mnt/cdrom does not exist

[root@localhost] # mkdir-p / mnt/cdrom

Mount directory

[root@localhost] # mount-t auto / dev/cdrom / mnt/cdrom

Mount: / dev/sr0 is write-protected, mounting read-only

Copy the installation package to the user's home directory

[root@localhost] # cp / mnt/cdrom/VMwareTools- 10.0. 5-3228253 .tar.gz ~

Unmount

[root@localhost ~] # umount / dev/cdrom

Extract the installation package

[root@localhost] # tar-zxvf VMwareTools- 10.0. 5-3228253 .tar.gz

Install VMware Tools

> enter the decompressed source code directory [root@localhost ~] # cd vmware-tools-distrib/ > run the `vmware- install.pl` file [root@localhost vmware-tools-distrib] # / vmware-install.pl

Then Enter all the way.

At this point, the study on "how to mount CentOS7 on this site" is over. I hope to be able to solve your doubts. The collocation of theory and practice can better help you learn, go and try it! If you want to continue to learn more related knowledge, please continue to follow the website, the editor will continue to work hard to bring you more practical articles!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report