Skip to content

Instantly share code, notes, and snippets.

View slimcdk's full-sized avatar
👋
Working from anywhere

C H R I S T I A N slimcdk

👋
Working from anywhere
View GitHub Profile
### NOTE: This is strictly a breakdown of the snippets from the blog article, not an automated script.
### For automation, refer to the Ansible role
### Setup a Static IP
nano /etc/dhcpcd.conf
# Add these fields with your desired IP address
> interface eth0
> static ip_address=10.10.10.1/24
> static routers=10.10.10.0
@Mahedi-61
Mahedi-61 / cuda_11.8_installation_on_Ubuntu_22.04
Last active April 18, 2024 10:48
Instructions for CUDA v11.8 and cuDNN 8.9.7 installation on Ubuntu 22.04 for PyTorch 2.1.2
#!/bin/bash
### steps ####
# Verify the system has a cuda-capable gpu
# Download and install the nvidia cuda toolkit and cudnn
# Setup environmental variables
# Verify the installation
###
### to verify your gpu is cuda enable check