Last active
March 26, 2021 18:36
-
-
Save carschrotter/02cfe80f99c6870af3f0106727ce3a7b to your computer and use it in GitHub Desktop.
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
#!/bin/bash | |
#simple script for make a nas from Proxmox | |
#setup repository | |
mv /etc/apt/sources.list.d/pve-enterprise.list /etc/apt/sources.list.d/pve-enterprise.list.back | |
echo "deb http://download.proxmox.com/debian/pve stretch pve-no-subscription" > /etc/apt/sources.list.d/pve-no-subscription.list | |
echo "deb http://deb.debian.org/debian buster-backports main" > /etc/apt/sources.list.d/buster-backport.list | |
apt update | |
# install cockpit | |
apt -t buster-backports install cockpit -y | |
apt install sudo git wget samba -y | |
# add ZFS manager | |
git clone https://github.com/optimans/cockpit-zfs-manager.git | |
cp -r cockpit-zfs-manager/zfs /usr/share/cockpit | |
wget https://raw.githubusercontent.com/enira/cockpit-smb-plugin/master/install.sh -O - | /bin/bash | |
# start cockpit | |
systemctl restart cockpit.socket |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment