~johanvandegriff/zfs-server-cluster-setup

46b576e643125d7dad1c4cfb860ceb33c0899b1d — Johan Vandegriff 2 years ago b5d3cc4
Fixed oh-my-zsh installation
1 files changed, 5 insertions(+), 1 deletions(-)

M ubuntu-admin-tools.sh
M ubuntu-admin-tools.sh => ubuntu-admin-tools.sh +5 -1
@@ 15,12 15,16 @@ ufw allow 3389/tcp || error "Error allowing port 3389 for xrdp"
# restart xrdp 
/etc/init.d/xrdp restart || error "Error restarting xrdp"

apt install -y zsh tmux xclip htop glances openssh-server git gnome-disk-utility gparted gsmartcontrol pv iotop meld baobab || error "Error installing packages"
apt install -y zsh tmux xclip htop glances openssh-server git gnome-disk-utility gparted gsmartcontrol pv iotop meld baobab arp-scan zenmap || error "Error installing packages"

ufw allow 22/tcp || error "Error allowing firewall port 22 for ssh"

echo y | ufw enable || error "Error enabling the firewall"

color green "oh-my-zsh will install. You will need to enter your password, then wait for it to install and quit out of the zsh shell with Ctrl-D to return to this script."
echo "Press ENTER to continue"
read a

sudo -u $SUDO_USER sh -c "$(wget https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh -O -)"

find_zfs_pools