Tuesday, 7 July 2020

Monday, 6 July 2020

vm - Centos Shared Folder

Launch VMware -> Virtual Machine Settings -> Hardware

Enable only one CD/DVD(IDE) -> Tick "Connect at power on" -> Use a physical drive: Auto Detect



Uninstall open-vm-tools

rpm -e open-vm-tools

Manual install VMwave-tools
https://kb.vmware.com/s/article/1018414

  1. To create a mount point, run:

    mkdir /mnt/cdrom
     
  2. To mount the CDROM, run:

    mount /dev/cdrom /mnt/cdrom
     
  3. To copy the Compiler gzip tar file to a temporary local directory, run:

    cp /mnt/cdrom/VMwareTools-version.tar.gz /tmp/

    Where version is the VMware Tools package version.
     
  4. To determine the version of VMware tools, run:

    ls /mnt/cdrom

    You see output similar to:

    # VMwareTools-5.0.0-12124.tar.gz
     
  5. To change to the tmp directory and extract the contents of the tar file into a new directory called vmware-tools-distrib, run:

    cd /tmp
    tar -zxvf VMwareTools-version.tar.gz

     
  6. To change directory to vmware-tools-distrib and run the vmware-install.pl PERL script to install VMware Tools, run:

    cd vmware-tools-distrib
    ./vmware-install.pl

vm - Centos - Boot into latest Kernel

sudo grub2-set-default 0 sudo grub2-mkconfig -o /boot/grub2/grub.cfg sudo reboot