Skip to content

Instantly share code, notes, and snippets.

View isweluiz's full-sized avatar

Luiz isweluiz

View GitHub Profile

What is an APIs (application programming interfaces)?

APIS

An API is a set of programming code that enables data transmission between one software product and another. It also contains the terms of this data exchange.

API An API is not a database. It is an access point to an app that can access a database.

They allow us to go get data from outside sources.

The Most Common Java Keytool Keystore Commands

Introduction

keytool

Java Keytool is a key and certificate management tool that is used to manipulate Java Keystores, and is included with Java. A Java Keystore is a container for authorization certificates or public key certificates, and is often used by Java-based applications for encryption, authentication, and serving over HTTPS. Its entries are protected by a keystore password. A keystore entry is identified by an alias, and it consists of keys and certificates that form a trust chain.

This cheat sheet-style guide provides a quick reference to keytool commands that are commonly useful when working with Java Keystores. This includes creating and modifying Java Keystores so they can be used with your Java applications.

Note: For easier management of your Java Keystores (using a GUI) check out Portecle.

If catalina.out becomes 2GB in size or more, tomcat can crashes and fails to start without any error message. To avoid this scenario you should rotate catalina.out frequently. This article describes how to setup auto rotation of catalina.out on a linux/unix machine.

  1. Create this file
/etc/logrotate.d/tomcat-logs
  1. Copy the following contents into the above file

Hi everyone, this is my ansible.cfg, I always use this file with a model for my configuration, if you will copy, make some adjustments.

[defaults]
## https://github.com/isweluiz

#--- General settings
forks                   = 5
log_path                = /var/log/ansible.log
module_name             = command

Install apache on multiple Debian servers with Ansible role

Requirements for this test:

  • Bastion -> Ansible Server
  • ServerA - Web Server Debian
  • ServerB - Web Server Debian

Rundeck with active directory authentication

rundeck-auth

Create A bind User and the Security Groups in Active Directory Before integrating Rundeck with Active Directory, we need to create a bind User and two security groups called rundeck_administrators and rundeck_users. Finally, add the appropriate users into those groups before proceeding.

Create jaas-activedirectory.conf file

Java versions compatible with jboss versions

JBossEap

Environment

Red Hat JBoss Enterprise Application Platform (EAP)

  • 7.x
  • 6.x
  • 5.x
  • 4.x

About teampass

TemPass

TeamPass is a Passwords Manager dedicated for managing passwords in a collaborative way by sharing them among team members. Teampass offers a large set of features permitting to manage your passwords and related data in an organized way in respect to the access rights defined for each users. Teampass is an Open-Source free to use product distributed in respect with OpenSource GNU GPL-3.0.

@isweluiz
isweluiz / K3s.md
Last active October 22, 2022 18:28

Lightweight Kubernetes. Production ready, easy to install, half the memory, all in a binary less than 100 MB.

Great for:

  • Edge
  • IoT
  • CI