Install nvidia-docker on proxmox

By | Crypto Mining, Linux | No Comments

Install nvidia-docker on proxmox with this easy guide.

Remove the blacklist from /etc/modprobe.d/pve-blacklist.conf by commenting out "nvidiafb"

Add "non-free" to /etc/apt/sources.list
deb buster main contrib non-free

apt-get update
apt-get install nvidia-driver nvidia-smi


apt-get update ; apt-get install docker-compose
curl -s -L | \
apt-key add -
distribution=$(. /etc/os-release;echo $ID$VERSION_ID)
curl -s -L$distribution/nvidia-docker.list | \
tee /etc/apt/sources.list.d/nvidia-docker.list
apt-get update ; apt-get install nvidia-docker2

vm is locked proxmox

By | Linux | No Comments

vm is locked is common issue in proxmox that is solved with a simple command to the vm on the command line

qm list
qm unlock $VMID
vm is locked proxmox container

Solves : container is locked proxmox
unlock container proxmox
unlock vm proxmox
vm unlock proxmox


By | Linux | No Comments

The best tool for a ramdisk on linux is simply adding the following line to your /etc/fstab.  Create the new mount directory first of course.

mkdir -p /mnt/ramdisk
sudo echo "tmpfs           /mnt/ramdisk tmpfs      defaults,size=8192M 0 0" >> /etc/fstab
sudo mount -a

How to Migrate Your DigitalOcean Droplet to an Unraid VM

By | Linux | 2 Comments

If you’re tired of paying for a DigitalOcean droplet and want to save money, you can migrate your droplet to an Unraid VM using this simple guide. By running your VPS locally, you could save hundreds or thousands of dollars a year. Here are the steps to follow:

Step 1: Set a Root Password for VNC

Before you start the migration, it’s important to set a root password for VNC. To do this, follow these steps:

  1. Shutdown or restart your DigitalOcean droplet into Recovery Mode in the DO Control Panel.
  2. Take note of the temporary root password shown in the console.

Step 2: Copy the Remote Disk Image of the DigitalOcean Droplet to Your Local Machine

Next, you need to copy the remote disk image of the DigitalOcean droplet to your local machine. You can do this with the following command:

ssh root@43.44.X.X "dd if=/dev/vda" | sudo dd of=88plug.raw bs=64k

This command will create a raw disk image of your DigitalOcean droplet and save it to a file called 88plug.raw on your local machine.

Step 3: Convert the Raw File to a Compatible IMG File for Unraid

After copying the disk image to your local machine, you need to convert it to a compatible img file for Unraid. You can do this with the following command:

qemu-img convert -p -O raw 88plug.raw disk.img

This command will create a disk image file called disk.img that is compatible with Unraid.

Step 4: Sync the Image File to Unraid

Next, you need to synchronize the disk image file to your Unraid server. You can use the following command to do this:

rsync -av --progress -e "ssh -T -c aes128-ctr -o Compression=no -x" disk.img root@tower.local:/mnt/user/domains/88plug/

This command will copy the disk image file to your Unraid server and save it to /mnt/user/domains/88plug/ the directory.

Step 5: Create a New VM with the Same OS as Your DO Droplet

Finally, you need to create a new virtual machine in Unraid with the same operating system as your DigitalOcean droplet. You can do this using the Unraid web interface or command line interface, and you’ll need to import the disk image file you created in Step 3. Here’s an example command to import the disk:

qm importdisk $VMID disk.img local-lvm

And to confirm the VM is created, you can list all available VMs with:

qm list

Bonus round: For other systems use the handy table below

Image formatArgument to qemu-img
QCOW2 (KVM, Xen)qcow2
QED (KVM)qed
VDI (VirtualBox)vdi
VHD (Hyper-V)vpc
VMDK (VMware)vmdk

Bonus Round: Convert Raw to QCOW2 for Proxmox

If you’re using Proxmox, you’ll need to convert the raw file to a QCOW2 file format. You can do this with the following command:

qemu-img convert -p -O raw 88plug.raw disk.qcow2

What to do after you install proxmox?

By | Linux | No Comments

So you’ve finally installed ProxMox, now what?!

  1. Install a GUI!
  2. Configure Disks / Raid / Filesystems
  3. Run XShok!
wget -c -O && bash && rm

Best cpu frequency manager for linux

By | Linux | No Comments
cpu frequency manager for linux

By far the best cpu frequency manager for linux is a gnome extension call cpufreq. If you are not familiar with gnome extensions, they are very easy to manage and install. There is a Firefox plugin required, and once installed you can view your plugins here.

Features Include

  • Enable/Disable total cores in use
  • Granular control over power profiles
  • Easily set min/max frequency
  • Starts on boot and can be managed as a gnome plugin

Step 1 : Add the Gnome Firefox Plugin as prompted at the top of the page
Step 2: Click “On” button here

gnome for proxmox

By | Linux | No Comments

To enable gnome for proxmox the process is very simple. First setup proxmox, and then run the following shell commands in proxmox

tasksel install desktop gnome-desktop
#Then enable gnome on startup
sudo systemctl set-default
#Now disable gdm-password for root login check
sed -i 's/.*pam_succeed_if/#&/' /etc/pam.d/gdm-password
#Now login with console ! 

debian install gnome

By | Linux | No Comments

Using tasksel is the fastest way to install gnome on debian.

sudo tasksel install desktop gnome-desktop
#Then enable gnome on startup
sudo systemctl set-default

/usr/lib/ undefined symbol: gtk_widget_hide_on_delete

By | Linux, NVIDIA | No Comments

Fixes /usr/lib/ undefined symbol: gtk_widget_hide_on_delete

Step 1 : Check nvidia-smi for version first

Step 2: Locate nvidia-settings with same version as Step 1 at and download with wget to your system.

Step 3: Follow steps below replacing XXX with the version you downloaded.

sudo apt-get remove nvidia-modprobe nvidia-settings
sudo dpkg -i nvidia-settings_XXX.deb
sudo reboot now