Sunday, November 14, 2021

Wednesday, October 20, 2021

Build spring boot

 docker build -f Dockerfile -t heliot2 .

docker tag heliot2 renatobdo/mestrado:heliot2

docker push renatobdo/mestrado:heliot2

Tuesday, September 22, 2020

Solucionando o erro do docker-compose up

 

Rode o comando docker-machine restart:


https://stackoverflow.com/questions/47580528/error-response-from-daemon-get-https-registry-1-docker-io-v2-dial-tcp-look




Thursday, September 10, 2020

Alterar permissões de pastas na vm

 https://www.vivaolinux.com.br/topico/Linux-Basico/Como-dar-permissao-777-para-uma-pasta-e-seus-itens

Ou: chmod -R 777 diretorio


Com isso é possível fazer alterações via ssh


Wednesday, August 26, 2020

MongoDb Invadido por hacker (Ransonware)

     Algo desagradável acontece quando não setamos senha para acesso ao mongodb. Veja na figura abaixo:




A mensagem completa é: 

All your data is a backed up. You must pay 0.04 BTC to 1FbZiNH786rxDFtCds9vtLinHhuySV9Kmi 48 hours for recover it. After 48 hours expiration we will leaked and exposed all your data. In case of refusal to pay, we will contact the General Data Protection Regulation, GDPR and notify them that you store user data in an open form and is not safe. Under the rules of the law, you face a heavy fine or arrest and your base dump will be dropped from our server! You can buy bitcoin here, does not take much time to buy https://localbitcoins.com with this guide https://localbitcoins.com/guides/how-to-buy-bitcoins After paying write to me in the mail with your DB IP: recoveryourdata@mailnesia.com


Monday, August 24, 2020

Criar vm no google cloud

 

Entrar na conta do google cloud ir em compute engine --> vm instances

Criar uma vm com as características que melhor se adequam



Saturday, August 22, 2020