Latest

CI CD pipeline for a Python project using Git, Docker, Jenkins and Ansible

Submitted on Wed, 06/26/2024 - 20:23

In this tutorial, we will build a CI CD pipeline for a Python Flask project using Git, Docker, Jenkins and Ansible. Git shall be used for version control. Docker shall be used for containerization. Jenkins shall be used for continuous integration including build automation and Ansible shall be used for continuous deployment.

Git and Docker shall be the prerequisites for this project implementation. Also, an account at hub.docker.com shall be required to host the docker images needed for this project.

Tags

Root password recovery in CentOS

Submitted on Sun, 07/06/2025 - 09:12

Find the line that starts with:

linux16 /vmlinuz...


At the end of that line, add the following:

rd.break


Press Ctrl + X

 

Remount the Filesystem as Read/Write

mount -o remount,rw /sysroot


Chroot into the Real System

chroot /sysroot


Change the Root Password

passwd

 

Re-label SELinux Contexts (important)

touch /.autorelabel


exit and reboot

Tags

NAT configuration

Submitted on Sun, 07/06/2025 - 09:11

conf t

! Configure extended ACL 100 to block ICMP to 8.8.8.2
ip access-list extended 100
 10 deny icmp 192.168.1.0 0.0.0.255 host 8.8.8.2
 20 permit ip any any
exit

! Configure standard ACL for NAT
ip access-list standard NAT_ACL
 10 permit 192.168.1.0 0.0.0.255
exit

! Configure inside interface
interface g0/0/0
 ip address 192.168.1.1 255.255.255.0
 ip nat inside
 no shutdown
exit

Java with docker

Submitted on Thu, 08/15/2024 - 16:12
In this tutorial, we will learn various approaches to deploy Java applications using Docker. We will learn to deploy both standalone and web applications using various techniques.

Tags

Connecting Cisco router and switch to ISP router with inter VLAN routing

Submitted on Fri, 05/17/2024 - 09:56
In this tutorial, we will learn how to connect an additional CISCO router and CISCO L3 switch to an existing ISP's router. After the connection, we will enable inter-VLAN routing in the L3 switch. This configuration will make sure that there are enough IP addresses and devices in different VLANs can communicate with each other when needed.