mirror of
https://github.com/elAgala/server-initializer.git
synced 2026-02-14 05:06:18 +00:00
Fix minor typo errors | Change Nginx for Caddy | Consolidate templates in this repo
This commit is contained in:
10
install.sh
10
install.sh
@@ -2,12 +2,12 @@
|
||||
|
||||
source ./user/create_user.sh
|
||||
source ./user/ssh_config.sh
|
||||
source ./web/install_nginx.sh
|
||||
source ./web/install_caddy.sh
|
||||
source ./web/setup_ufw.sh
|
||||
source ./docker/install_docker.sh
|
||||
source ./utils/install_vim.sh
|
||||
source ./utils/install_zsh.sh
|
||||
source ./monitoring/install_prometehus.sh
|
||||
source ./monitoring/install_prometheus.sh
|
||||
|
||||
chmod +x ./user/create_user.sh
|
||||
chmod +x ./user/ssh_config.sh
|
||||
@@ -16,7 +16,7 @@ chmod +x ./web/setup_ufw.sh
|
||||
chmod +x ./docker/install_docker.sh
|
||||
chmod +x ./utils/install_vim.sh
|
||||
chmod +x ./utils/install_zsh.sh
|
||||
chmod +x ./monitoring/install_prometehus.sh
|
||||
chmod +x ./monitoring/install_prometheus.sh
|
||||
|
||||
if [ -z "$1" ]; then
|
||||
echo "Usage: $0 <username>"
|
||||
@@ -27,7 +27,7 @@ fi
|
||||
install_docker
|
||||
|
||||
# Web
|
||||
install_nginx
|
||||
install_caddy $1
|
||||
setup_ufw
|
||||
|
||||
# User
|
||||
@@ -39,4 +39,4 @@ install_vim
|
||||
install_zsh $1
|
||||
|
||||
# Monitoring
|
||||
install_prometehus $1
|
||||
install_prometheus $1
|
||||
|
||||
Reference in New Issue
Block a user