Posts

Showing posts with the label RHEL

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...

Red Hat 8 as Instant Clone for Horizon View 7.11 Step By Step - Deploy an Instant Clone Pool

Image
Deploy an Instant Clone Pool We are now ready to deploy or pool. At this point you should have completed the following: Created the Master Template Prepared the Master Template (optional) Configure USB Redirection (coming soon) (optional) Configure Smart Card Redirection (coming soon) (optional) Configure Desktop for Session Collaboration (coming soon) Install the Horizon 7.11 Linux Agent Configured samba and winbind Go ahead and open up your connection server admin page, goto Inventory > Desktops and click Add. We will be adding an Automated Desktop pool Select Instant Clone Pool Select Floating Give your Pool a Name Select a naming pattern and number of machines Select the VM we created the snapshot the location to put the VMs Cluster, datastore resource pools etc. Set the 'Allow users to choose protocol' to no, and make sure Blast is selected (Linux Agents dont use PCoIP) Complete t...

Red Hat 8 as Instant Clone for Horizon View 7.11 Step By Step - Configure samba and winbind

Image
 Configure samba and winbind In this section we will finish setting up the VM for an instant clone deployment. I highly recommend using an SSH session for this as there is allot of info that needs to be copy and pasted and it will may life much easier. Open a shell session, make your self root #sudo su we need to edit /etc/samba/smb.conf file, I use vi as my editor but you can use what ever you want. # vi /etc/samba/smb.conf For my environment my DNS domain is HOME.LAB and the NETBIOS domain is HOME I updated the file with the following info: [global] security = ads realm = HOME.LAB workgroup = HOME idmap uid = 10000-20000 idmap gid = 10000-20000 winbind enum users = yes winbind enum group = yes template homedir = /home/%D/%U template shell = /bin/bash client use spnego = yes client ntlmv2 auth = yes encrypt passwords = yes winbind use default domain = yes restrict anonymous = 2 So i changed the smb.conf file from this: ...

Red Hat 8 as Instant Clone for Horizon View 7.11 Step By Step - Install the Horizon 7.11 Linux Agent

Image
Install the Horizon 7.11 Linux Agent Now that you have Created the Master Template , and Configured it for the View Agent, the next step is quite simple.  I do recommend checking the documentation on the switches for additional options you may want to add, however for this guide we will be running the agent installer with no switches: First copy the agent to the VM to a easy to navigate directory. I used WinSCP to copy the file over but you can use whatever works best for you. Open a terminal or SSH session on the VM. Make yourself root cd to the directory where you copied the installer. untar the installer: # tar -zxvf VMware-horizonagent-linux-x86_64-7.11.0-15238356.tar.gz change directory to the extracted installer and run the installer: # cd VMware-horizonagent-linux-x86_64-7.11.0-15238356/ # ./install_horizon_agent.sha You will be prompted to confirm you agree to the terms etc, once complete it should see this: ...

Red Hat 8 as Instant Clone for Horizon View 7.11 Step By Step - Prepare the Master Template

Image
Prepare the Master Template In this part we are going to prepare the Master Template for deployment as a Instant Clone. If you have not already , see my post about  Creating the Master Template . Now that the Master Template is created, and activated go ahead and power it back on (if not already) and either login to the VM or open an SSH session (I will be using an SSH session as it is much easier to copy and paste all the commands that we will be running) Once you have your Shell session open, make yourself root: #sudo su For SSO to work with RHEL8 you have to use Gnome Classic (VMware Documentation) Run the following command on one line: # cd /usr/share/xsessions && mkdir backup && mv *.desktop backup && mv backup/gnome-classic.desktop ./ (Optional but recommended) Gnome by default shows the last logged in user on the landing screen, you can some times see the last user when you connect to an Insta...

Red Hat 8 as Instant Clone for Horizon View 7.11 Step By Step - Create the Master Template

Image
Creating the Master Template is a fairly straight forward process and will walk through them here. In vCenter, create a new Virtual Machine Give the Virtual Machine a unique name that is easily identifiable Select the correct Guest OS and Version Configure the Virtual Machine with the following Settings: CPU - 1 or 2 is usually sufficient Memory - I would recommend 2GB or more since it utilizes a graphical interface Hard Disk - 16GB is enough for a testing deployment, however you may want to increase this based on you needs. Keep in mind these are disposable so dont go too crazy with the size of this. Network - This should already be configured for VMXNET3 adapter, but double check. This should be attached to a network that has 'static port bindings' with elastic port allocation' CD/DVD - You can point the VM to the ISO here, or do it after creation Video Card - In the 7.9 documentation there is a chart on changing these  , however in 7.11 it statues ...