Виртуальная машина linux для vmware

Виртуальная машина linux для vmware

You are using an outdated browser. Please upgrade your browser to improve your experience.

You create a virtual machine in vCenter Server for each remote desktop that is deployed in a Horizon 8 environment. You must install your Linux distribution on the virtual machine.

Prerequisites

  • Verify that your deployment meets the requirements for supporting Linux desktops. See System Requirements for Horizon Agent for Linux.
  • Familiarize yourself with the steps for creating virtual machines in vCenter Server and installing guest operating systems. For more information see the Windows Desktops and Applications in Horizon document.
  • Familiarize yourself with the video memory (vRAM) settings requirements for the monitors you plan to use with the virtual machine. See System Requirements for Horizon Agent for Linux.

Procedure

  1. In vSphere Client, create a virtual machine.
  2. Configure custom configuration options.
    1. Right-click the virtual machine and click Edit Settings .
    2. Specify the number of vCPUs and the vMemory size. For the required settings, refer to the following guidelines.
    3. If you are preparing the virtual machine for deployment as a single-session virtual desktop pool, follow the guidelines in the installation guide for your Linux distribution. For example, Ubuntu 18.04 specifies configuring 2048 MB for vMemory and 2 vCPUs.
    4. If you are preparing the virtual machine to serve as a multi-session host for a published desktop or application pool, specify at least 8 vCPUs and 40 GB of vMemory.

    Important: A minimum of 8 vCPUs and 40 GB of vMemory is required to support up to 50 user sessions per published desktop or published application.

    Only virtual machines running RHEL Workstation 7.8 or later, RHEL Workstation 8.1 or later, RHEL Workstation 9.0 or later, or Ubuntu 18.04/20.04/22.04 can support multi-session published desktop pools and single-session or multi-session application pools.

    See the Desktop Environment section in System Requirements for Horizon Agent for Linux for additional information.

    Источник

    How to Install Linux Mint 21 on VMware Workstation 17

    Toggle Menu

    updateicon

    Last Updated: November 29, 2022 | VMware Workstation | Tolga Bagci

    In this article, we will examine how to set up and configure Linux Mint 21 on a new virtual machine using the VMware Workstation 17 Pro virtualization program on Windows 10 64 Bit operating system.

    How to Install Linux Mint 21 on VMware Workstation 17

    How to Install Linux Mint on a Virtual Machine in Windows 10 using VMware

    Faster and more stable than other Linux distributions, Linux Mint is an operating system that appeals to both home users and professionals. This system, which is basically derived from the Ubuntu package structure, aims to provide users with a more secure and stable distribution.

    Linux Mint uses Cinnamon for its desktop environment by default but also has lighter and performance-oriented Mate and Xfce environments. Users can set up their system using one of these three desktop types.

    You can run the Linux Mint system virtually without dual boot configuration on Windows 10 or other Microsoft systems by using the VMware Workstation virtualization software.

    Workstation software, a paid program of VMware, allows users to configure more advanced settings on guest machines. However, users can also choose to use the free and non-commercial versions of the Player.

    How to Create a New Virtual Machine for Linux Mint

    After installing VMware Pro on your computer, you can create new virtual machines and install a Linux and Windows-based operating system.

    After running the Workstation 17 software, click on the Create a New Virtual Machine option from the options on the homepage, and select the Custom (Advanced) option to configure more advanced settings for the Linux system in the virtual machine wizard that opens and click Next.

    Advanced Virtual Machine Creation

    For Linux virtual machine compatibility, select the latest version of the Workstation software from the Hardware Compatibility section.

    Setting Virtual Machine Compatibility

    You can install the guest operating system using one of three methods. If you add the Linux Mint ISO file in this window, some settings of the virtual computer will be configured automatically.

    Therefore, so that you can configure more advanced settings, check I will install the operating system later and continue.

    Choosing the I

    Select the Linux platform as the guest operating system and Ubuntu 64-bit from the version section.

    Choosing Ubuntu 64-bit Guest System

    After typing a name for your Linux Mint guest machine, specify the location where you will install it and continue.

    Configuring the Virtual Machine Name and Location

    Configure the number of virtual processors and number of virtual cores for your virtual machine according to the processor characteristics of your host PC.

    Configuring the Virtual Processor Core

    Select the maximum recommended memory size for the RAM size of the virtual machine. If you have a higher amount of memory in your computer, a larger size configuration will be beneficial for performance.

    Selecting the Maximum Memory Value

    Select the NAT network adapter for your Linux Mint virtual machine.

    Choosing the NAT Adapter

    Select the default LSI Logic as the I/O controller type and continue.

    Selecting LSI Logic Controller Type

    By configuring the type of virtual disk as NVMe, you will significantly increase the performance of your virtual computer. Therefore, select NVMe from the disk types and click Next.

    Selecting the NVMe Disk Type

    Since you will install Linux Mint from scratch, select Create a new virtual disk and click Next. If you have previously installed this Linux distribution and backed up its virtual disk, you can add it using the Use an existing virtual disk option.

    Creating a New Virtual Disk

    You can adjust the size of the virtual disk according to the recommended size, but you can specify a higher disk size according to the work you will do on your system. Also, if you choose to backup the virtual disk file as a single file, you can import your virtual machine more easily in the future.

    Backing Up a Virtual Disk as a Single File

    Continue without changing the name and location of the Linux virtual disk file.

    Configuring the Name and Location of the Virtual Disk File

    Click Customize Hardware to configure the advanced settings of the Linux Mint guest machine.

    Customize Hardware

    After clicking on the Processor virtual hardware, enable all the features in the Virtualization Engine section.

    • Virtualize Intel VT-x/EPT or AMD-V/RVI
    • Virtualize CPU Performance Counters
    • Virtualize IOMMU (IO Memory Management Unit)

    Enabling Virtualization Features

    To download the Linux Mint ISO file, visit the official website and then click CD/DVD (SATA) / Use ISO Image File / Browse to add the ISO file to the virtual machine and select the downloaded image file.

    Adding the Linux Mint ISO File to the Virtual Machine

    Change the Compatibility setting to 3.1 in the USB Controller settings.

    Setting USB Compatibility to 3.1

    View the display hardware settings and enable Accelerate 3D Graphics and adjust the graphics memory size according to the capacity of your host GPU.

    Increasing Graphics Memory

    After configuring the hardware settings of your Linux Mint virtual computer, check the changes you have made in the summary window and close the wizard.

    Reviewing the Settings of the Guest Machine

    Click Power on this virtual machine to start installing the Linux system on the virtual machine you have prepared.

    Running the Guest OS

    How to Install Linux Mint

    After running the virtual computer, when it boots with the ISO file, you can set up your system as if you were installing it on a physical PC.

    You can check system integrity, perform hardware tests, or do memory checks from Linux Mint 21 Cinnamon 64-bit options. Press Enter in the Start Linux Mint option to start installing the system.

    Welcome to the Linux Setup Wizard

    When the system boots up, double-click Install Linux Mint on the desktop to start the installation wizard.

    Install Linux Mint

    After opening the setup wizard, select the language you want to use your Linux system in and click Continue.

    Selecting the System Language

    Select the keyboard layout of your virtual PC according to the hardware of your physical computer and click Continue.

    Choosing the Keyboard Layout

    Tick to install multimedia codecs so that you can play videos on your Linux Mint guest machine and click Continue.

    Install Multimedia Codecs

    Since you will be installing a system from scratch, select the Erase Disk and Install Linux Mint option, click Install Now, and then click Continue to confirm the changes on the virtual disk.

    Erase Disk and Install Linux

    After choosing the location where you live, click Continue.

    Choosing Your Living Location

    Configure the user account settings for your Linux system according to your personal information and create a characteristic password.

    Creating Username and Password

    Wait while the files of the Linux Mint system are copied and the necessary applications are installed.

    Copying System Files

    After installing Linux Mint, restart your virtual system.

    System Reboot

    Press Enter to remove the ISO installation media from the virtual machine.

    Removing the Installation Media

    Execute “lsb_release -a” command in terminal to check Linux system version.

    Checking the System Version

    How to Install VMware Tools

    When installing Linux Mint on VMware Workstation, VMware Tools is automatically configured. However, VM tools will not be installed if your host computer is not connected to the Internet during installation.

    After connecting the guest operating system to the Internet, open the terminal by pressing CTRL + Alt + T and execute the “sudo apt install open-vm-tools-desktop” command and confirm the additional disk space usage by pressing Y.

    sudo apt install open-vm-tools-desktop

    Installing VMware Tools

    After restarting your Linux machine, you can use the “vmware-toolbox-cmd –version” command in the terminal to check the VMware Tools version.

    vmware-toolbox-cmd --version

    Checking VMware Tools Version

    When you try to copy a file from the desktop location of your host operating system by dragging and dropping it to the virtual machine, you can see that the operation is successful.

    Drag and Drop File Transfer Between Host and VM

    You can also use your Linux Mint virtual PC in full-screen resolution.

    Controlling the Full Screen Resolution

    How to Configure Shared Folder

    Another way to transfer files from your host computer to your VM is to use Shared Folder. Please note that VMware Tools must be installed in order to use this feature of VMware software.

    Click VM / Settings from the VMware Pro tool menu and open the virtual machine settings. Click on Shared Folders on the Options tab and after marking Always Enabled, click the Add button to start the wizard.

    Shared Folder Configuration

    Create a new folder named SharedFolder in a location you specify on your host system. To add the location of the folder you created, click Browse in the Host Path section, select the folder and click OK.

    Selecting Specific Folder on Host

    After adding the location of the shared folder, check that the Enable This Share option is selected in the next window, and click Finish.

    Enable This Sharing

    Go to File System / mnt / hgfs on your Linux Mint virtual computer and check that the shared folder exists. For testing, create a new text document in the folder and check that the document has been created after opening the folder on your host.

    /mnt/hgfs/SharedFolder

    To create Shared Folder shortcut to desktop location, execute “sudo ln -s /mnt/hgfs/SharedFolder/ ~/Desktop/” command in terminal.

    sudo ln -s /mnt/hgfs/SharedFolder/ ~/Desktop/

    Creating a Desktop Shortcut for Shared Folder

    When you restart your virtual computer, if you encounter the Shared Folder error as in the image below, you need to enable the folder again and set the automatic mount.

    Shared Folder Broken Error

    Execute the following command in the terminal to re-enable the shared folder.

    sudo mount -t fuse.vmhgfs-fuse .host:/ /mnt/hgfs/ -o allow_other

    Remounting the Shared Folder

    You need to edit /etc/fstab to automatically mount the shared folder every time you reboot your system.

    sudo nano /etc/fstab

    Add the following command to /etc/fstab and press CTRL + X, then Y and then Enter to save the file.

    .host:/SharedFolder /mnt/hgfs/SharedFolder fuse.vmhgfs-fuse allow_other

    Auto-Mount the Shared Folder

    Restart your Mint VM and you will no longer encounter the Shared Folder error.

    Shared Folder Check After System Reboot

    How to Use USB Flash Memory

    You can transfer files faster by connecting your USB flash drives or storage devices to your Linux virtual computer.

    Plug a USB 3.0/3.1 supported flash memory into your host computer and create a folder named Backup in it.

    Creating a New Folder on a USB Flash Drive

    Plug your flash memory into the virtual machine by clicking VM / Removable Devices / Your USB / Connect from the tool menu. However, if you see the Connect option grayed out as in the image below, turn off your virtual computer.

    Adding the USB Disk to the Virtual Machine

    Go to the location where you installed the VM and open the VMX file with notepad and change the value (usb.restrictions.defaultAllow = “FALSE”) to TRUE.

    usb.restrictions.defaultAllow = "TRUE"

    Editing a VMX File

    After restarting your virtual computer, you can now connect your USB disk.

    Reconnecting the USB Stick to the VM

    You can see the folder you created when you view the contents of your USB on your Linux Mint system.

    Viewing the Contents of a Flash Disk in Linux

    Источник

    Читайте также:  Ssh через прокси linux
Оцените статью
Adblock
detector