The following example uses a CentOS Linux 7.5 virtual machine to demonstrate the detailed steps for installing Arcfra VMTools.
Prerequisite
Procedure
Log in to the virtual machine as the root user via SSH, or log in as a regular user and use sudo to execute subsequent installation commands.
ssh root@<VM's IP address>
Mount the ISO image to the guest operating system.
mkdir /mnt/<dir_to_mount_iso>
mount /dev/<vmtools_iso_cdrom> /mnt/<dir_to_mount_iso>
dir_to_mount_iso indicates the directory to mount the ISO image, and vmtools_iso_cdrom refers to the device name of the CD-ROM used when mounting the Arcfra VMTools ISO image. Use the lsblk command to check the device name if the device name cannot be determined.
mkdir /mnt/cdrom
mount /dev/sr0 /mnt/cdrom
Execute the installation script.
bash /mnt/<dir_to_mount_iso>/ARCFRA_VM_TOOLS_INSTALL.sh
If the installation is successful, you will see the prompt SVT is installed successfully!.
If the installation fails with the error: Uncompressing ARCFRA VM ToolsExtractionfailed., install tar (for example: yum -y install tar) and then execute the installation script again.
Run the systemctl status SVT command to check if the Arcfra VMTools system service is running.
If the following prompt is displayed, it indicates that the operation is successful:
[root@scvm152 18:02:02 bin]$systemctl status SVT
SVT.service
Loaded: loaded (/usr/lib/systemd/system/SVT.service; enabled; vendor preset: disabled)
Active: active (running) since Fri 2019-09-27 13:38:53 CST; 4h 25min agoAfter the installation is complete, you can view the installation log at /opt/svt/install.log. Click the ellipsis ... in the upper-right corner of the virtual machine details panel and select Eject VMTools image. The Arcfra VMTools ISO image will be ejected.