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: move_files.sh - Script para movimentacao de arquivos entre diretorios | |
# Programador: Renato Diniz Marigo | |
# Mantenedor: Renato Diniz Marigo | |
# Criado em: 08/09/2016 | |
# Versão: 1 | |
# | |
#VARIAVEIS | |
ORIG=/Users/renato/Documents/scripts/ |
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: move_files.sh - Script para movimentacao de arquivos entre diretorios | |
# Programador: Renato Diniz Marigo | |
# Mantenedor: Renato Diniz Marigo | |
# Criado em: 08/09/2016 | |
# Versão: 1 | |
# ESTE SCRIPT FAZ A MOVIMENTACAO DE ARQUIVOS DAS COLECOES, TEMOS AS SEGUINTES COLEÇÕES: | |
# EXEMPLO REVENF = ./move_files.sh rve | |
#VARIAVEIS |
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: backup_ovirt4.sh - Script para backup do Ovirt 4 | |
# Programador: Renato Diniz Marigo / Anderson Attilio | |
# Mantenedor: Equipe de infraestrutura da SciELO | |
# Criado em: 29/09/2016 | |
# Versão: 1 | |
# ESTE SCRIPT FAZ O BACKUP DO OVIRT 4 | |
echo " Realizando o backup do Ovirt Engine versao 4 no dia: $(date '+%Y%m%d')" | |
echo " Este processo pode demorar alguns instantes " | |
engine-backup --mode=backup --file=/mnt/backup/ovirt4bkp$(date '+%Y%m%d') --log=/mnt/backup/ovirtbkp$(date '+%Y%m%d').log |
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: backup_ovirt4.sh - Script para backup do Ovirt 4 | |
# Programador: Renato Diniz Marigo / Anderson Attilio | |
# Mantenedor: Equipe de infraestrutura da SciELO | |
# Criado em: 29/09/2016 | |
# Versão: 1 | |
# ESTE SCRIPT FAZ O BACKUP DO OVIRT 4 | |
echo " Realizando o backup do Ovirt Engine versao 4 no dia: $(date '+%Y%m%d')" | |
echo " Este processo pode demorar alguns instantes " | |
engine-backup --mode=backup --file=/mnt/backup/ovirt4bkp$(date '+%Y%m%d') --log=/mnt/backup/ovirtbkp$(date '+%Y%m%d').log |
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: finddel.sh - Script que localiza uma palavra em um dado arquivo e remove a respectiva linha | |
# Programador: Renato Diniz Marigo | |
# Mantenedor: Renato Diniz Marigo | |
# Criado em: 19/10/2016 | |
# Versão: 1 | |
# | |
# Obs: Neste caso estou utilizando o script para remover linhas do meu arquivo de chaves de SSH know_hosts | |
# Como utilizar: ./finddel PALAVRA_DA_BUSCA | |
#VARIAVEIS |
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 "####################" | |
echo "# Service Listener #" | |
echo "####################" | |
printf "Digite o nome do server: " | |
read SERVER | |
scp checar.sh oracle@$SERVER:/home/oracle/ |
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 | |
## bash.sh - Copia a linha contida no arquivo bash.txt no bash_profile do usuário definido na variavel de ambiente USER, | |
## em todos os servers do documento lista.txt. | |
## Obs: um servidor por linha | |
## Escrito por: Renato Diniz Marigo | |
## E-mail: renatocabelo@gmail.com | |
## Data: 03/08/2017 | |
echo "#####################################" | |
echo "# Adicionando linha em bash_profile #" |
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 | |
## copy_scp.sh - Copia arquivo definido na variável ORIGEM para todos os servidores listados no documento lista.txt, usando o | |
## Usuário definido na variável USER, copiando para o destino definido na variável DESTINO | |
## Escrito por: Renato Diniz Marigo | |
## E-mail: renatocabelo@gmail.com | |
## Data: 03/08/2017 | |
echo "#######################################" | |
echo "# Script de cópia de arquivos via scp #" | |
echo "#######################################" |
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
vcl 4.0; | |
import std; | |
import directors; | |
# probe health { | |
# # Url de consulta, padrao eh "/" | |
# # .url = "/"; | |
# # Especifica uma requisicao completa de HTTP usando multiplas strings | |
# .request = | |
# "HEAD / HTTP/1.1" | |
# "Host: homolog.opac.scielo.org" |
OlderNewer