Server preparation: Let’s first update the list of packages in the repositories, set the correct time and open ports in the firewall. Update package lists: Set the timezone: To automatically synchronize the time, install the package: And enable autostart of the service: Firewall settings: By default, Ubuntu’s firewall is set to accept any packets. But […]
TCPdump – completely guide. How to use tcpdump.
Listing network interfaces in tcpdump: In order to show a list of network interfaces used in the system, you must specify the -D parameter Capturing packets from a specific network interface By default, Tcpdump listens on the lowest numbered network interface in the list. to listen on a specific network interface, you must use the […]
Using pipeline in Jenkins
This tutorial provides basic information about the pipeline in Jenkins. We’ll walk through add-ons installation, job creation, and move on to the process of processing the code in the stage. When installing Jenkins, the system prompts you to install the pipeline plugin by default. Probably in our system exist it. But if the plugin is […]
How to install Jenkins on Ubuntu
The Jenkins web application is written in java and we will additionally install the openjdk package for its operation. This instruction is written on the example of Ubuntu Server 20.04. System preparation We will update the list of packages, set the correct server time and configure the firewall. Updating the list of packages in repositories […]
Running Elastic stack (ELK) in Docker containers with Docker Compose
The Elastic Stack (ELK) consists of 3 open source components that work together to implement log collection, analysis, and visualization. The 3 main components are: Elasticsearch is the core of the Elastic software. It is a search and analytical mechanism. Its job in the Elastic stack is to store incoming logs from Logstash and provide […]
How to run Netbox IPAM in Docker containers
Running Netbox in Docker containers is very easy as it avoids the tedious installation of dependencies like Python, Django, etc. Before you get started, make sure your system is up to date and has the necessary packages installed. 1. Install Docker and Docker-Compose on Linux Then add your system user to the docker group to […]
Install stack Elasticsearch, Kibana, Logstash on Ubuntu
Elasticsearch provides a search engine, Kibana is a web interface for working with Elasticsearch, Logstash is a tool for collecting logs and transferring them to Elasticsearch. Thus, the Elasticsearch + Kibana + Logstash (or ELK Stack) bundle is a tool for collecting and storing operating system logs. It supports different platforms (Windows, Linux, BSD). In […]
How to set up automatic disk mounting in Linux
All settings are shown on the example of a CentOS system and are applicable to any Linux distribution. Mount by drive name Open the following file for editing: and add the following line to it: /dev/sda1 – the drive that we are mounting /db – directory where we mount the disk xfs – file system […]
How to install AWX Ansible Tower to MicroK8s
Install and prepare MicroK8s You need to run following commands. It allows you to run commands without needing sudo privileges: Enable necessary add-ons: Create alias and you can use just kubectl: Clone from git awx-operator and deploy to MicroK8s: Check awx-operator releases by link below: https://github.com/ansible/awx-operator/releases Change branch for current release and deploy awx-operator: Wait […]