vault backup: 2026-05-16 07:24:14
This commit is contained in:
@@ -2,8 +2,9 @@
|
||||
created: 2026-05-15T10:23:05
|
||||
category:
|
||||
- "[[Note]]"
|
||||
title: Linux CLI Commands
|
||||
title: Linux CLI Config and Commands
|
||||
tags:
|
||||
- project
|
||||
---
|
||||
### Network config
|
||||
|
||||
@@ -37,7 +38,7 @@ or apply
|
||||
sudo netplan apply
|
||||
```
|
||||
|
||||
## drive partitions
|
||||
## disk
|
||||
|
||||
create gpt partition table (for new drives without any partitions)
|
||||
```
|
||||
@@ -63,7 +64,9 @@ add drive/partition to fstab, get disk UUID first
|
||||
```
|
||||
sudo blkid /dev/sdxx
|
||||
```
|
||||
|
||||
Then add this to `/etc/fstab`
|
||||
```
|
||||
/dev/disk/by-uuid/your-uuid-here /var/lib/docker ext4 defaults 0 2
|
||||
```
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user