Skip to content

Commit 16754a1

Browse files
committed
daily update
1 parent 7ed3f2c commit 16754a1

3 files changed

Lines changed: 56 additions & 0 deletions

File tree

linux/PVE/cloud-init.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
## 为 Proxmox VE 定制 Debian Cloud 系统镜像与创建虚拟机模板
2+
3+
https://blog.skk.moe/post/proxmox-ve-customize-debian-cloud-image/

linux/储存/新增硬盘.md

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
查询硬盘列表
2+
```shell
3+
fdisk -l
4+
```
5+
6+
运行分区工具
7+
```shell
8+
fdisk /dev/sdb
9+
# n 创建新分区
10+
# w 保存并退出
11+
````
12+
13+
创建文件系统
14+
```shell
15+
mkfs.ext4 /dev/sdb1
16+
```
17+
18+
19+
临时挂载
20+
```shell
21+
mount /dev/sdb1 /mnt/new_disk
22+
```
23+
24+
永久挂载
25+
```shell
26+
# 查询分区id
27+
blkid /dev/sdb1
28+
29+
# 编辑配置文件
30+
nano /etc/fstab
31+
# 添加如下配置
32+
# UUID=xxx /mnt/new_disk ext4 defaults 0 2
33+
34+
```"349bd129-9089-4da7-ac66-94f23bd0f731"
35+
36+
查看挂载状态
37+
```shell
38+
df -h
39+
```
40+
41+
42+
迁移数据
43+
```shell
44+
rsync -av /data/ /mnt/new_disk/data/
45+
```

杂项/收藏未阅读.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
##
2+
3+
* [制作一个自己的linux](https://popovicu.com/posts/making-a-micro-linux-distro/)
4+
* [使用代码管理dns记录](https://blog.skk.moe/post/dns-as-code-via-dnscontrol/)
5+
* 无盘系统
6+
* https://fogproject.org/
7+
* https://theopenem.com/
8+
* [SOLANA](https://accu.cc/content/solana/foreword/)

0 commit comments

Comments
 (0)