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

In-place Upgrading your 5.X ESXIi host to 6.X with Realtek drivers

Ok so after what should have been a simple 20 minute upgrade took 3 hours I'm writing the steps on how to upgrade your ESXi 5.X server to 6.0 in place and using the Realtek drivers
If you only have Realtek NIC's you are going to need to firm make sure you have a FAT16 USB stick that will work in your host. 

first get to a command line and run the following
/etc/init.d/usbarbitrator stop

Now insert your USB drive and run this command
esxcli storage core device list | grep -i usb

You should see something like "Local USB Direct-Access"
now run 
ls /vmfs/volumes
You should see a volume with 'NO NAME' as the title (if you do not, then your USB drive is probably not supported or not formatted with FAT 16. format the drive with FAT 16 or try a different USB drive till you get one that works)

Now that you have verified you have a Drive you can use on the host lets begin the upgrade.
First download the NIC VIB from here 
https://vibsdepot.v-front.de/wiki/index.php/Net55-r8168
You will want net55-r8168-8.039.01-napi.x86_64.vib or newer. Copy this to your thumb drive.

Download VMware-ESXi-6.0.0-2494585-depot.zip from your myVMware portal.
copy it to the root of the local datastore on your esxi host. 
Put your host into maintenance mode
Now run the installer

esxcli software vib update -d /vmfs/volumes//VMware-ESXi-6.0.0-2494585-depot.zip

Once it completes reboot the host.

Now you will not be able to access the network as the upgrade will remove your previous VIBs for the NIC. 
Connect the the ESXi console and press ALT + F1 to get to the command prompt.
Login
stop the usb arbitrator service
/etc/init.d/usbarbitrator stop

insert your USB key

Run the following commands:
esxcli software acceptance set -–level=CommunitySupported

esxcli software vib install -v /vmfs/volumes/NO NAME/net55-r8168-8.039.01-napi.x86_64.vib

once the install is completed, reboot

you now have your ESXi server back up and running with network access and a 6.0 install.

Have fun!


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

Windows 11 Insider Preview Instant Clones Horizon 8 2103 walkthrough - Part 1 Image setup