install.sh 750 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. #! /bin/sh
  2. echo -e '
  3. _ _ _ _ ___ __ __ ___
  4. /_\ | |_ __(_)_ _ ___ | | | __| \/ | _ \
  5. / _ \| | ._ \ | . \/ -_) | |__| _|| |\/| | _/
  6. /_/ \_\_| .__/_|_||_\___| |____|___|_| |_|_|
  7. |_|
  8. '
  9. echo -e "\033[35;1mThis script has been tested only on Alpine Linux \033[0m"
  10. . bin/checkroot.sh
  11. echo -n "Should we start? [y|n] "
  12. read yn
  13. yn=${yn:-y}
  14. if [ "$yn" != "y" ] && [ "$yn" != "Y" ]; then
  15. echo -e "aborting script!"
  16. exit
  17. fi
  18. # get the current position
  19. _cwd="$(pwd)"
  20. . bin/upgrade.sh
  21. # . bin/bash.sh
  22. . bin/misc.sh
  23. . bin/dotfiles.sh
  24. . bin/user.sh
  25. . bin/ssh.sh
  26. . bin/ufw.sh
  27. . bin/fail2ban.sh
  28. . bin/knockd.sh
  29. . bin/email.sh
  30. . bin/lemp.sh
  31. . bin/mysqlbackup.sh
  32. # . bin/vhost.sh
  33. . bin/zabbix.sh
  34. . bin/urbackup.sh