sh 全新的Proxmox Server安装脚本

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了sh 全新的Proxmox Server安装脚本相关的知识,希望对你有一定的参考价值。

#!/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

以上是关于sh 全新的Proxmox Server安装脚本的主要内容,如果未能解决你的问题,请参考以下文章

备份非Proxmox VE系统数据到Proxmox Backup Server

sh 修改ProxMox VM ID

PVE添加cpu温度显示---U盘安装Proxmox VE

NFS:安装时服务器拒绝访问。客户端是 LXC proxmox(!)

Proxmox VE使用LVM新硬盘(多硬盘)

proxmox ve 6.2.1 初始化脚本