Add summary

This commit is contained in:
Digital Studium
2023-05-16 13:49:25 +03:00
parent c52a554bee
commit c4af2a7ecd
13 changed files with 33 additions and 22 deletions

View File

@@ -4,13 +4,14 @@ category: linux-lifehacks
filename: how-to-create-lvm-logical-volume
date: 2022-05-15
---
This article describes how to create an LVM group and volume for a physical disk in the Linux operating system.
<!--more-->
### First step: creating a physical volume
After you have attached the disk to a physical server or virtual machine, you need to type
this command:
```bash
sudo fdisk -l
```
<!--more-->
to make sure the drive is recognized by the operating system, and to identify the drive name. Output
of command will be something like this:
```plaintext

View File

@@ -4,8 +4,9 @@ category: linux-lifehacks
filename: how-to-extend-lvm-volume-on-linux
date: 2022-05-15
---
This article describes how to expand an LVM group and volume on a Linux operating system.
<!--more-->
### Situation 1: new disk
#### First step: creating a physical volume
After you have attached the disk to a physical server or virtual machine, you need to type command:
@@ -14,8 +15,6 @@ After you have attached the disk to a physical server or virtual machine, you ne
sudo fdisk -l
```
<!--more-->
This is to make sure the drive is recognized by the operating system, and to identify the drive name. Output of the command will be something like this:
```plaintext

View File

@@ -5,6 +5,7 @@ filename: linux-monitoring-with-telegram-alerts
date: 2023-03-04
---
This article describes how to set up monitoring with alerts to Telegram using Grafana, Prometheus, Alertmanager, Node-exporter and Cadvisor.
<!--more-->
### First step: Cloning the repository
Log in to the server or go to local terminal and run the following commands:
```bash
@@ -12,7 +13,6 @@ git clone https://github.com/digitalstudium/grafana-docker-stack.git
cd grafana-docker-stack
git checkout alertmanager
```
<!--more-->
### Second step: setting the external address of the server
Open the `docker-compose.yml` file and on lines 22 and 38 change the address `127.0.0.1` to the address of the server where you want to install Prometheus.
### Third step: creating a bot in Telegram