Last active
July 6, 2020 16:05
-
-
Save dimpurr/2e24f75010855e27731e975bc9210174 to your computer and use it in GitHub Desktop.
debian-to-pve in china network env
This file contains 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
echo 'should runing as root!' | |
su root | |
sed -i 's|security.debian.org/debian-security|mirrors.ustc.edu.cn/debian-security|g' /etc/apt/sources.list | |
apt update | |
apt install htop vim openssh-server zsh neofetch | |
cd /root | |
git clone https://gitee.com/mirrors/oh-my-zsh.git | |
cd oh-my-zsh/tools | |
./install.sh | |
echo 'neofetch' >> /root/.zshrc | |
echo 'export PATH=/sbin:$PATH' >> /root/.zshrc | |
ip a | |
echo 'change your ip' | |
vim /etc/hosts | |
hostname --ip-address | |
wget http://download.proxmox.com/debian/proxmox-ve-release-6.x.gpg -O /etc/apt/trusted.gpg.d/proxmox-ve-release-6.x.gpg | |
echo "deb https://mirrors.ustc.edu.cn/proxmox/debian/pve buster pve-no-subscription" > /etc/apt/sources.list.d/pve-no-subscription.list | |
apt update && apt full-upgrade | |
apt install proxmox-ve postfix open-iscsi | |
apt install ifupdown2 | |
echo 'you can /sbin/reboot now' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
after installed pve: