Post OS-Installation Configurations
The following configurations should be done on Linux VDI servers:
Install Hypervisor Tools for Linux VDI as a VM
If the Linux VDI server is installed as a virtual machine running over hypervisor, install hypervisor tools on the server.
Important
- For the name and installation procedure, refer to the hypervisor documentation.
- Install tools for Ubuntu-based VDI servers (e.g., Linux SHD server and Ubuntu-GNOME). The procedures for VMware and Hyper-V are listed below for reference.
- This step is not required to install Linux SHD on physical servers.
Linux VDI on VMware
Install Open VM tools to support VMware's functioning. For instructions on installing Open VM tools on Ubuntu, refer to the KB article Install VMware Tools.
Linux VDI on Microsoft Hyper-V or SCVMM Servers
Administrators can choose to install Hyper-V-specific tools on Linux VMs using either of the two methods:
- Accops Provided Script
- By Manually Executing Commands
Using Accops Provided Script
-
Make sure the Internet is accessible on the target Ubuntu VM.
-
Open Terminal and change the directory to the extracted dependency packages directory
cd Desktop/ubuntu16_dvmtool_assistive_online_installer_22022022_linuxvdi/
-
Locate the directory vm_tools
cd vm_tools/
-
Run the following script to install Hyper-V tools
sudo ./install_hyperv_tools.sh
-
The script automatically locates the appropriate version over the Internet and installs the tools.
Note
The machine will shut down automatically after the installation.
-
Verify the Hyper-V Tools Installation is complete to confirm that the Hyper-V tools are running appropriately on the VM.
Manually Executing Commands
Use the following commands to install Hyper-V tools:
-
Make sure the Internet is available on the target Ubuntu VM.
-
Open Terminal and execute the below-given commands:
sudo apt-get clean
sudo apt-get update
sudo apt-get install --reinstall linux-tools-$(uname -r) linux-cloud-tools-$(uname -r) -y
sudo apt-get install -f
sudo shutdown -h now
-
VM will be powered off.
-
Use the method Verify Hyper-V Tools Installation to confirm Hyper-V tools are running appropriately on the VM.
Verify Hyper-V Tools Installation
-
Once the tools are installed, the VM will be powered off.
-
Once powered on, appropriate tool versions will be available on the VM. To verify, execute the following command.
ps -ef \ | grep hv
-
Check the output; it should have an appropriate process running for hv_kvp_daemon, hv_vss_daemon:
root 148 2 0 Oct06 ? 00:00:00 [hv_vmbus_con]
root 421 2 0 Oct06 ? 00:00:08 [hv_balloon]
root 744 1 0 Oct06 ? 00:00:02 /usr/lib/linux-tools/4.4.0-130-generic/hv_kvp_daemon -n
root 831 1 0 Oct06 ? 00:00:00 /usr/lib/linux-tools/4.4.0-130-generic/hv_vss_daemon -n
admin 38341 37997 0 16:21 pts/2 00:00:00 grep --color=auto hv
-