Skip to content

Instantly share code, notes, and snippets.

View isweluiz's full-sized avatar

Luiz isweluiz

View GitHub Profile
@isweluiz
isweluiz / Podman and systemd.md
Last active August 2, 2021 18:10
RUNNING CONTAINERS AS SYSTEMD SERVICES WITH PODMAN

Enviroment:

  • Wordpress;
  • Mariadb;
  • Systemd.

wp-pod

For more detail you can check the official documentation on Red Hat.

@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

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.

Java versions compatible with jboss versions

JBossEap

Environment

Red Hat JBoss Enterprise Application Platform (EAP)

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

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

Install apache on multiple Debian servers with Ansible role

Requirements for this test:

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

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

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