Some setup scripts / guides for VMs in Proxmox VE.

This note is highly dependent on the following repo: https://github.com/j3soon/linux-scripts

Ubuntu Basics

  • Ubuntu22_Init. Install Ubuntu 22.04 with Minimal Install, reboot after installation and then power off. Remove the ISO in Hardware tab and reboot again.
    • Ubuntu_Basic. Run the following:
      sudo apt-get install -y curl && bash -c "$(curl -fsSL https://raw.githubusercontent.com/j3soon/linux-scripts/master/init-ubuntu.sh)"
      

Ubuntu Packages

  • SSH_Server_Install. Run the following:
    sudo apt-get install -y openssh-server
    ip a
    
  • ZSH_and_Plugins_Install. Run the following:
    sudo apt-get install -y curl && bash -c "$(curl -fsSL https://raw.githubusercontent.com/j3soon/linux-scripts/master/install-zsh-and-plugins.sh)"
    

Packages with Credentials

  • Anydesk_Unattended_Install. Run the following:
    sudo apt-get install -y curl && bash -c "$(curl -fsSL https://raw.githubusercontent.com/j3soon/linux-scripts/master/install-anydesk-unattended.sh)"
    
  • Git_Email_Install. Run the following:
    sudo apt-get install -y curl && bash -c "$(curl -fsSL https://raw.githubusercontent.com/j3soon/linux-scripts/master/set-up-git-email-for-gmail.sh)"
    

Hardware Basics

  • PVE_Audio_and_SPICE. In the Hardware tab, add an audio device, and change the Display to SPICE (qxl).

  • PVE_GPU_Install. In the Hardware tab, add a PCI device, select the GPU, and check All Functions.

    • NV_OSS_Driver_Install. Run the following:
      sudo apt-get install -y curl && bash -c "$(curl -fsSL https://raw.githubusercontent.com/j3soon/linux-scripts/master/nvidia/install-oss-driver.sh)"
      

Posted:

Comments