Compare commits

..

No commits in common. "4c7d8fa7034ec219889292571d9737616c54edd0" and "2b22134d1fb1ac59a452a2383d3c19729de0f7b2" have entirely different histories.

2 changed files with 0 additions and 69 deletions

View File

@ -1,29 +0,0 @@
---
title: Ресайз диска
description: ext4
date: 2024-12-10T13:57:00+01:00
tags: [linux]
---
## Расширение раздела
`<disk>` - sda \
`<partition>` - 1
```shell
growpart /dev/<disk> <partition>
```
## Увеличение ФС
`<partition>` - sda1
```shell
resize2fs /dev/<partition>
```
## Очистка логов
Если совсем нет места для выполнения команд
```shell
journalctl --vacuum-time=1d
```

View File

@ -1,40 +0,0 @@
---
title: Обновление Proxmox 7 -> Proxmox 8
description: И дошлифовка
date: 2024-12-10T14:05:00+01:00
tags: [linux]
---
## Актуализация ОС
```shell
apt -y update
apt -y dist-upgrade
```
## Проверка готовности обновления
```shell
pve7to8 --full
```
## Актуализация репозиториев
```shell
sed -i 's/bullseye/bookworm/g' /etc/apt/sources.list
sed -i 's/bullseye/bookworm/g' /etc/apt/sources.list.d/*.list
```
## Обновление ОС и PVE
```shell
apt -y update
apt -y dist-upgrade
init 6
```
## Дошлифовка
```shell
bash -c "$(wget -qLO - https://github.com/community-scripts/ProxmoxVE/raw/main/misc/post-pve-install.sh)"
```