Prerequisites I have already installed Nvidia proprietary drivers and the Nvidia Cuda Toolkit. I documented the install of the Cuda toolkit in an older post which can be found here. Since I have Nvidia GPUs in my host system, and I intend to run some services in containers, I want to make sure that I … Continue reading Simple RAG with Ollama, OpenWebUI, and VectorDB on Ubuntu 22.04
linux
Essential Python Pip Commands for Linux Administrators
This blog post explores how to effectively manage Python packages using pip. Learn how to install and uninstall packages, handle dependencies, and clean up unused libraries to keep your environment organized. We also cover tools like pip-autoremove and best practices for dependency management. Whether you're a beginner or an experienced developer, this guide will help you streamline your Python package management workflow.
Essential Commands to Monitor Nvidia GPUs in Linux
Identify Your GPU Via the Linux CLI Identify that your card is recognized by the OS via the CLI command below, hwinfo # hwinfo --gfxcard --short graphics card: nVidia TU104GL [Tesla T4] nVidia TU104GL [Tesla T4] Matrox G200eR2 Primary display adapter: #58 Or you can see similar output with lshw # lshw -C display *-display … Continue reading Essential Commands to Monitor Nvidia GPUs in Linux
Running RHEL 8 on Dell R710/610 via Raid Controller Retrofit
A while back, I wrote a blog post that outlined a process of injecting deprecated storage controller drivers into RHEL 8 via a Driver Update Disk. In a nutshell, this process allows you to install RHEL 8 on the R710/R610 (11th Gen)This process worked fine, unless you wanted to yum update your server. Rather than … Continue reading Running RHEL 8 on Dell R710/610 via Raid Controller Retrofit
RHEL 7 Two-Factor SSH Via Google Authenticator
In this post, I am going to walk you through the process of installing and configuring two- factor SSH authentication via Google Authenticator. My base system is running a fresh install of RHEL 7.2 Installation Steps The first step on my system was to install autoreconf, automake, and libtool. These packages are required by the bootstrap.sh script that … Continue reading RHEL 7 Two-Factor SSH Via Google Authenticator
RHEL7 – How to Set Your Hostname in Redhat Enterprise Linux 7
Setting a server's hostname used to be as simple as running the hostname command and adding a "HOSTNAME" entry in /etc/sysconfig/network. However things have changed quite a bit in RHEL7. Apparently, systemd now controls setting a server's hostname. The 'hostname' command no longer works to set your hostname, however the command is still available just to confuse you.
Fedora21 – Quick and Dirty with Firewalld
Hey, are you new to Firewalld like most of us?
Unless you have been using Firewalld in the last few releases of Fedora, as some out there have, then you probably could probably use a few pointers to get you started on your way to configuring your Linux firewalls the "new-fangled fancy way". This is especially the case if you plan on moving to RHEL7 anytime soon -- as Firewalld is the default there. So put on your big boy (or girl) pants and say goodbye to your old friend IPTABLES.