This file contains hidden or 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 | |
# Upgrade Fedora | |
sudo dnf -y upgrade --refresh | |
# Install dependecies | |
sudo dnf -y install dnf-plugins-core wget zsh htop vim git openssh-server net-tools | |
# SSH Server | |
sudo systemctl enable sshd |
This file contains hidden or 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 | |
echo "Atualizando o Ubuntu..." | |
sudo apt update && sudo apt upgrade -y && apt install -y dialog wget curl network-manager | |
export TERM=xterm-color | |
# Armazena a saída do comando dialog em uma variável | |
opcoes=$(dialog --colors --stdout --separate-output \ | |
--title "" \ |
This file contains hidden or 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 | |
echo "Atualizando o Debian..." | |
apt update && apt upgrade -y && apt install -y dialog wget curl | |
export TERM=xterm-color | |
# Armazena a saída do comando dialog em uma variável | |
opcoes=$(dialog --colors --stdout --separate-output \ | |
--title "" \ |
This file contains hidden or 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 | |
echo "Instalando dependencias..." | |
sudo apt update && sudo apt upgrade -y && apt install -y dialog curl | |
git clone https://github.com/asdf-vm/asdf.git ~/.asdf --branch v0.9.0 | |
# Para bash | |
echo ". $HOME/.asdf/asdf.sh" >> ~/.bashrc | |
echo ". $HOME/.asdf/completions/asdf.bash" >> ~/.bashrc |