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 | |
#------------------------------------------------------------------------------------------ | |
# Script Name: unifi_ns.sh | |
# Creation Date: 03/16/2024 | |
# Author: Carlos Moreno | |
# Revision: 0.1.0 | |
# Description: Install UniFi Network Server on Linux System Debian 10. | |
# Requirement: SO Debian 10. |
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 | |
# Update SO | |
apt update && apt upgrade -y | |
apt-get install -y wget apt-transport-https gnupg | |
wget -O - https://packages.adoptium.net/artifactory/api/gpg/key/public | apt-key add - | |
echo "deb https://packages.adoptium.net/artifactory/deb $(awk -F= '/^VERSION_CODENAME/{print$2}' /etc/os-release) main" | tee /etc/apt/sources.list.d/adoptium.list |
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 | |
#------------------------------------------------------------------------------------------ | |
# Script Name: go_install.sh | |
# Creation Date: 01/16/2024 | |
# Update: 18/03/2024 | |
# Author: Carlos Moreno | |
# Revision: 0.1.1 | |
# Description: Install or update Go version on Linux System | |
# Requirement: Make the script executable as per the example command below |
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 | |
echo "Report file system disk space usage" | |
df -h |
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 | |
######################## INFORMACOES DO SCRIPT ######################################################################### | |
# Nome: report_manager.sh # | |
# Objetivo: Gerenciar a execucao do script "report.sh", excluindo arquivos criados a +X dias e compactando os arquivos # | |
# restantes do diretorio de trabalho. # | |
# Requisitos: Para rodar o script com sucesso e necessario ter o script "report.sh" # | |
# Criado por: Carlos Augusto Moreno Ribeiro Junior # | |
# Versão: 0.1 # | |
######################################################################################################################## |
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 | |
######################## INFORMACOES DO SCRIPT ##################################################################### | |
# Nome: report.sh # | |
# Objetivo: Obter informacoes do servidor, tais como: # | |
# - Taxa de uso do disco # | |
# - Uso da memoria # | |
# - Tamanho das bases de dados Postgres # | |
# Requisitos: Para rodar o script com sucesso, e necessario os seguintes requisitos: # | |
# - aplicativo figlet # |