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 | |
# Define variables | |
rg="$1" | |
location="$2" | |
redisname="$3" | |
# Validate parameters | |
if [ "$1" = "" ]; then | |
echo "Wrong usage! You need inform the parameters." |
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
az group create --name myresourcegroup --location eastus |
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
user@mydesktop:~$ az group create \ | |
--name rg-guacamole-demo \ | |
--location eastus |
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
sudo cfdisk /dev/sdc | |
sudo pvcreate /dev/sdc1 | |
sudo pvdisplay | |
sudo vgcreate test_vg /dev/sdc1 | |
sudo vgdisplay | |
sudo lvcreate -L 5G -n lv01 test_vg | |
sudo lvdisplay |
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
sudo apt-get install nginx | |
sudo systemctl enable nginx |
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
rmartins@jarvis:~$ az group create --name rg-grafana --location eastus |
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
az account list | |
Tecnologia - TI AzureCloud 35e10abf-9270-4hse-85ff-3895b959e820 Enabled | |
Tecnologia - Arq AzureCloud 83e30abf-2981-4die-88jw-4095b960e790 Enabled |
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
Options +FollowSymLinks | |
RewriteEngine on | |
RewriteRule (.*) https://www.facebook.com/RicardoLab/ [R=301,L] |
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
[root@rmartins /]# yum install docker-io | |
Loaded plugins: fastestmirror | |
Setting up Install Process | |
Loading mirror speeds from cached hostfile | |
* base: mirror.nbtelecom.com.br | |
* epel: mirror.globo.com | |
* extras: mirror.nbtelecom.com.br | |
* updates: mirror.nbtelecom.com.br | |
Resolving Dependencies | |
--> Running transaction check |
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
[root@localhost ~]# yum install docker docker-registry |
NewerOlder