How to get llama 2 up and running , in a VM, with no GPU, and limited memory on Ubuntu

Image
OK I decided to write this up after unsuccessfully being able to find all the required info I needed in one place. In this setup we will be using Ubuntu Server 22.04.2 LTS as the OS. I have this running on a home lab ESXi server 8, on a HP Compaq Pro 6300 SFF CPU = Intel Core i7-3770 Installed Memory 16 GB I have some 10K SAS drives installed for the VM's If you have not already, navigate to  Get Ubuntu Server | Download | Ubuntu and download the 22.04.2 LTS ISO Next Lets create our VM that we are going to run this in. *Note Im using ESXi however you can probably do this in Workstation, Fusion, VirtualBox etc The main things to note on the VM creation. Set Ubuntu 64 bit as the guest OS Set your CPU relevant to the physicals CPU, I will be starting with 4 VCPU Set your Memory to as much as you can tolerate, I will be using 12 Disk Space - we are creating a 100G swap file, and the rest of the file can take up some room , so more is better if you can afford it Dont forget to add the U

VMwareView.MOF WMI queries

VMwareView.MOF

Purpose:
To create a WMI framework for querying agent variables created on a View Desktop.



Details:

The MOF allows you to query the following:

ViewClient_Broker_DNS_Name
ViewClient_Broker_DomainName
ViewClient_Broker_Remote_IP_Address
ViewClient_Broker_Tunneled
ViewClient_Broker_URL
ViewClient_Broker_UserName
ViewClient_Client_ID
ViewClient_Displays_Number
ViewClient_Displays_Topology
ViewClient_IP_Address
ViewClient_Keyboard_KeyDelayToRepeat
ViewClient_Keyboard_KeyRepeatRate
ViewClient_Keyboard_Language
ViewClient_Keyboard_Layout
ViewClient_Keyboard_NumFuncKeys
ViewClient_Keyboard_NumIndicators
ViewClient_Keyboard_NumKeys
ViewClient_Keyboard_ScanCodeMode
ViewClient_Keyboard_SubType
ViewClient_Keyboard_Type
ViewClient_Language
ViewClient_Launch_ID
ViewClient_Launch_SessionType
ViewClient_LoggedOn_Domainname
ViewClient_LoggedOn_Username
ViewClient_MAC_Address
ViewClient_Machine_Domain
ViewClient_Machine_Name
ViewClient_Mouse_Identifier
ViewClient_Mouse_NumButtons
ViewClient_Mouse_SampleRate
ViewClient_Protocol
ViewClient_Type
ViewClient_TZID
ViewClient_Windows_Timezone




Limitations:
Since the values are under HKCU, these variables can only be called by the logged in users. If you try to use a service account or any other account, it will call its own HKCU and will not return the correct results.



Links:

VMwareView.MOF Version 1.1


Comments

Popular posts from this blog

vSphere 7 - Specify a vmkernel adapter to use for NFS datastores Step By Step \ Walkthrough on a DVS

Horizon View 2-factor Authentication for Free! with Google Authenticator or others

How to get llama 2 up and running , in a VM, with no GPU, and limited memory on Ubuntu