Skip to content

Instantly share code, notes, and snippets.

@tradenet
Forked from willwm/proxmox-install.sh
Created November 28, 2023 23:43
Show Gist options
  • Save tradenet/2beea8ec2c0bf220db9289a48ae00c49 to your computer and use it in GitHub Desktop.
Save tradenet/2beea8ec2c0bf220db9289a48ae00c49 to your computer and use it in GitHub Desktop.
Fresh Proxmox Server install script
#!/bin/bash
# TODO: Remove pve-enterprise, add pve-no-subscription repo to sources.list(*)
# Update packages, install essentials
apt update
apt install -y build-essential git zsh htop
# Update Proxmox Appliance Manager (https://forum.proxmox.com/threads/no-turnkey-fresh-install-5-1-35.38199/)
pveam update
# Package Source: Node 9.x (https://nodejs.org/en/download/package-manager/#debian-and-ubuntu-based-linux-distributions)
curl -sL https://deb.nodesource.com/setup_9.x | bash -
# Package Source: Yarn (https://yarnpkg.com/lang/en/docs/install/#linux-tab)
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add -
echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list
# Package Source: Microsoft (https://docs.microsoft.com/en-us/sql/linux/quickstart-install-connect-ubuntu)
curl https://packages.microsoft.com/keys/microsoft.asc | apt-key add -
add-apt-repository "$(curl https://packages.microsoft.com/config/debian/9/prod.list)"
# Install: oh-my-zsh
sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
# Install: timss/vimconf (https://github.com/timss/vimconf#installation)
sudo apt install -y vim exuberant-ctags
mkdir -p ~/.vim/vimconf
git clone https://github.com/timss/vimconf.git ~/.vim/vimconf
ln -s ~/.vim/vimconf/.vimrc ~/.vimrc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment