Last active
March 21, 2025 06:27
-
-
Save willwm/b64d8588783c7c5d6d68f0ba593960dc to your computer and use it in GitHub Desktop.
Fresh Proxmox Server install script
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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