Linux hacks!

Posted on Sun 22 March 2020 in Technology • Tagged with Linux, AWS, Awscli, Sysadmin, Git

AWS - Amazon Web Services

AWSCLI

pip3 install awscli --upgrade
pip install awscli --upgrade
apt install awscli

Working with EC2 Instances

Check this page to find your AMI code locator

Amazon EC2 AMI Locator

Launching EC2 Instance --> Very handy

aws ec2 run-instances --image-id ami-xxxxxxxx --count 1 --instance-type t2.micro --key-name …

Continue reading

About me!!

Posted on Mon 24 February 2020 in Blog • Tagged with About, Writer, Random

Hi there, I'm Edson Bernardo and I've been working in IT industry for the past 17 years, and I am very proud to have known a lot of good people in this journey, it's been interesting.

The idea of the blog is to share knowledge, learn and improve skills, hacks …


Continue reading

Terraform!

Posted on Mon 24 February 2020 in Technology • Tagged with DevOps, Terraform

Terraform apply

Let's code the Infrastructure

Take some time to read the great doc at terraform.io official page:

Terraform AWS Provider

Also, check my EC2 Instance (working and applied, feel free to checkout!!!) 

Uncle Eddie - Terraform EC2 Instance

Cheers.

:)


Continue reading

Vagrant made easy!!

Posted on Mon 24 February 2020 in Technology • Tagged with DevOps, vagrant

Setting up your development environment with Hashicorp Vagrant

Hi there, I've been working with Vagrant for a year, by now, and I'm very impressed!

In my opinion is the perfect tool for build virtual environment and even production why not?

  • Requirements to install vagrant
  • HVM Support

Oracle VirtualBox

You might …

Continue reading

Killing Python!

Posted on Mon 24 February 2020 in Technology • Tagged with Python, Code

Python

Python Simple HTTP Server

python -m SimpleHTTPServer 8080 (python 2x)
python -m http.server (python 3x)

Installing pip

python3 -m pip install package

The example above is very useful if you want to open temporarily logs or HTTP connection to your clients".

Practice Python with Real examples …


Continue reading

The Docker Ninja!

Posted on Sun 23 February 2020 in Technology • Tagged with DevOps, Containers, Docker

Docker Resource Kit

Installing Docker

Ubuntu 
    curl -sSL https://get.docker.com/ | sudo sh

MacOS 
    brew install docker

Docker Compose

Find below the link with instructions:

Docker Compose Install

Important tip, always check if you have your Docker Repo updated

/etc/yum.repos.d/docker.repo    (RHEL)
/etc/apt/sources …

Continue reading

Simple Scripts!

Posted on Tue 23 July 2019 in Technology • Tagged with Linux, shell-script

Backup using shell script (this example weblogic domain)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
#!/bin/bash -e
set -euf -o pipefail
echo "Starting Backup"
DATE=`date +%Y-%m-%d-%H.%M.$$`
echo "Starting Backup, except *.tar extensions"
tar -zcvf blog-"${DATE …

Continue reading

Silicon Valley or Europe!!

Posted on Tue 16 July 2019 in Technology • Tagged with Tech, Europe, Market, IT

WEFORUM.ORG: Work and live in Silicon Valley, probably the IT everybody's dream right? Well, not sure, cowboy, I have good news! See the link below where shows Europe Market more and more solid, good reading:

Europe Tech Market -- see the outstanding Numbers

Poland the new Germany

Check this Video …


Continue reading

Certificates

Posted on Tue 16 July 2019 in Technology • Tagged with Linux, certificates, keytool

Working with Certificates

Import certificate - Using Java keytool

keytool -import -alias mundipagg -file CA_b2w_cert_test.cer -keystore $JAVA_HOME/jre/lib/security/cacerts -storepass changeit -trustcacerts

./keytool -import -alias neogrid -file  webedi_neogrid_com.cer -keystore $JAVA_HOME/jre/lib/security/cacerts -storepass changeit -trustcacerts

./keytool -import -alias mundipaggbase64 -file MundiPaggOne_Base64_X509.cer -keystore cacerts -storepass …

Continue reading

WebLogic Commands!!

Posted on Sat 27 January 2018 in Technology • Tagged with WebLogic, Oracle, SysOps, DevOps, Middleware

WebLogic Hacks

Decrypt or Encrypt passwords

Extract - wlsdecrypt usage

You must copy $WLS-DOMAIN-HOME/security folder first, then run the command below inside this folder.

 Decrypt
 /opt/oracle/Middleware/Oracle_Home/wlserver/common/bin/wlst.sh wlsdecrypt.py boot.properties or

 Encrypt
 /opt/oracle/Middleware/Oracle_Home/wlserver/common/bin/wlst.sh wlsencrypt …

Continue reading