Search posts, tags and authors

HowTo

8 posts from HowTo See another: IT, Devops, WhatIs
Introduction to Controlling Linux Process Resources with Cgroups
September 26, 2024 by kiril-urbonas in Linux

Introduction to Controlling Linux Process Resources with Cgroups

Cgroups (control groups) are a Linux kernel feature that allows you to control and limit the resources (CPU, memory, I/O) that processes can use. This becomes crucial for system stability, especially when working with resource-hungry applications, containers, or virtual machines. How Cgroups Work Cgroups create hierarchical groups where processes...

How to Add a User to Sudoers
September 9, 2024 by kiril-urbonas in HowTo

How to Add a User to Sudoers

On Unix and Linux systems, the superuser account—commonly referred to as root, admin, or supervisor—holds the highest level of authority, allowing for unrestricted system-wide changes. This account is primarily used for critical administrative tasks, such as modifying file ownership or managing network ports. However, there are times when...

How to List Open Ports in Linux
September 8, 2024 by kiril-urbonas in HowTo

How to List Open Ports in Linux

To list open ports in Linux, you can use several commands depending on your needs. Here are some of the most common methods: 1. Using netstat netstat is a versatile tool for monitoring network connections. bashCopy codesudo netstat -tuln * -t: Show TCP ports. * -u: Show UDP ports. * -l: Show listening...

How to Launch Amazon EC2 Linux Instance Step By Step
July 31, 2024 by kiril-urbonas in AWS

How to Launch Amazon EC2 Linux Instance Step By Step

What is Amazon EC2 instance? Amazon Elastic Compute Cloud (Amazon EC2) is a web service provided by Amazon Web Services (AWS) that offers scalable virtual servers, known as instances, in the cloud. It allows users to run applications on a virtual machine with varying configurations of CPU, memory, storage, and...

How to install Docker on Ubuntu
July 21, 2024 by kiril-urbonas in Docker

How to install Docker on Ubuntu

Docker is an open-source platform that enables developers to automate the deployment, scaling, and management of applications within lightweight, portable containers. To install docker on ubuntu: 1. Set up Docker's apt repository. # Add Docker's official GPG key: sudo apt-get update sudo apt-get install ca-certificates curl sudo...

Spotlight Linux