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

Datatel UI 2.3 Install Script

Yes this turd-tastic software is back with a new version 2.3! Same old poorly desighned datatel client that leaves a bad taste in your mouth. well if your looking for help geting this installed look no further as i have taken som of my previous scripts and fixed them for the new client. Enjoy!

On Error Resume Next
' First we Uninstall Datatel UI 2.2
Dim WshShell, oExec
Set WshShell = CreateObject("WScript.Shell")
Set oExec = WshShell.Exec("MsiExec.exe /uninstall {726A85FE-D304-4C4A-8167-D8A24A7C86F9} /quiet")
Do While oExec.Status = 0
WScript.Sleep 100
Loop


'Next we do some cleanup of the All User's Folder

Set IBMFolder = CreateObject("Scripting.FilesystemObject")
Set DatatelFolder = CreateObject("Scripting.FilesystemObject")
DatatelFolder.DeleteFolder("C:\Documents and Settings\All Users\Application Data\Datatel")
IBMFolder.DeleteFolder("C:\Documents and Settings\All Users\Application Data\IBM")

'Begin Install of Datatel2.3



'Sleep script to finish deltion process
Wscript.Sleep 100

'Set objshell1 = CreateObject("WScript.Shell")
Set objshell2 = CreateObject("WScript.Shell")

'Define Variables for isntaller
varDTSetuptype = " SETUPTYPE=""Standard"""
varDTDatabasDIR = " DATABASEDIR=""\\server\datatel23\"""
varDTHostname = " HOSTNAME=""host.name.int"""
varDTPlatformgroup = " PlatformGroup=""1"""
varDTDbname = " DBNAME=""Live18"""
varDTDbpath = " DBPATH=""/dbpath/apphome"""
VarDTloggopt = " /lv C:\datatel2.3.log"



'Run the installer

objShell2.Run("msiexec /i ""\\server\UIDesktop230msi.msi"" /qn " _
& varDTSetuptype _
& varDTDatabasDIR _
& varDTHostname _
& varDTPlatformgroup _
& varDTDbname _
& varDTDbpath _
& VarDTloggopt )



'Finish script
Wscript.Quit

' End of Script

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