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

Recovery of data off a Netgear Ready Nas NV+ SPARC edition

Ran into an issue where the NIC got fried on my Readynas , I had backups of most of the data through USB but some data (expendable) was not backed up.
However I still wanted to recover this data and found this post:

http://home.bott.ca/webserver/?p=306

This actually worked with a few changes:

First remove your drives from the ready nas 1 by 1, and mark on each one the number it is starting from left to right ( 1,2,3,4)
Now place them in a PC and this is probably important , put them on each sata port in order, in my case my ports are 0,1,2,3.

Download ubuntu 1604 LTS desktop IS for ease of use
Down load Rufus to convert the ISO to a bootable USB https://rufus.akeo.ie/

make sure you computer has internet access

boot the linux USB , choose try Ubuntu


once booted to the desktop open up a terminal
run the following:
sudo su
gedit /etc/apt/sources.list

This will open up the graphical txt editor, Add the following line to the end of the file


deb http://us.archive.ubuntu.com/ubuntu precise main universe

then run

apt-get update

apt-get install fuseext2

modprobe fuse

vgscan

vgchange -ay c

fuseext2 -o ro -o sync_read /dev/c/c /mnt


you can now access your files in /mnt


NOTE- So there is an issue with files that are over 4GB, for some reason, they are failing.
there may be a new version that resolves this issue but at this time mine is not working.


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