mirror of
https://git.digitalstudium.com/digitalstudium/digitalstudium.com
synced 2023-12-29 08:06:35 +00:00
Add summary
This commit is contained in:
@@ -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
|
||||
|
@@ -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
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user