The steps are as follows:
Click Install Parallels Tools on virtual machine
We will not see the contents of/media/cdrom on Linux, so we need to mkdir-p/media/cdrom manually, then mount it, and Mount command is Mount-o exec/dev/cdrom/media/cdrom.
We see the install installation script under/media/cdrom, run Su/media/cdrom/install on it, after installation follow the prompts to restart CentOS, you can see the corresponding shared files under/MEDIA/PSF. You can set whether it is readable or writable, and is writable by default.
Https://www.cnblogs.com/ghj1976/p/4114759.html
That seems to is a fix for something else. However, a similar procedure seems to resolve the CentOS issue (at least with tools version 12.2.1.41615):
* Create A snapshot of the VM just in case
* Update to CentOS 7.5.1804, i.e. sudo for Yum Update, then reboot
* Ignore the Parallels Tools install failed alert (i.e. T panic)
* Insert Prl_tools_lin.iso (of Parallels Desktop.app/contents/resources/tools)
* Copy All content of the inserted CD to a new empty folder, e.g. ~/prl_tools_fix
* CD ~/prl_tools_fix, then chmod +x install
* CD./installer, then chmod +x installer.* *.sh prl_*
* CD: /kmods, then Tar-xzf prl_mod.tar.gz; RM prl_mod.tar.gz
* Edit./prl_eth/pvmnet/pvmnet.c:replace NDO_CHANGE_MTU with ndo_change_mtu_rh74
* Zip back RESULT:TAR-ZCVF prl_mod.tar.gz. Dkms.conf Makefile.kmods
* CD: /, then sudo./install.
This worked for me, I ' m at CentOS 1804. YMMV.
https://forum.parallels.com/threads/cant-install-parallels-tools-on-centos-7-1804.344573/#post-841833
CentOS installation Parallels Tools