Files
Obsidian-Main/21.01. OS/21.01. Linux/00. 重灌基本步驟.md
Awin Huang b0a9117c82 vault backup: 2025-12-08 23:29:33
Affected files:
21.01. OS/21.01. Linux/00. 重灌基本步驟.md
2025-12-08 23:29:33 +08:00

39 lines
918 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
1. 安裝必須的套件
2. 修正時區
3. `mkdir ~/log`
4. 掛載 smb
5. 掛載 lvm
6. 設定 journalctl size
7. 設定 crontab
9. 啟動所有 docker
10. 掛載mod [[開機自動掛載模組modprobe nct6683]]
11. 設定 `sudo sensors-detect`
```shell
sudo apt update; sudo apt install -y cifs-utils lm-sensors
sudo timedatectl set-timezone Asia/Taipei
mkdir ~/log
```
12. 安裝 [delta](https://github.com/dandavison/delta)
1. Goto https://github.com/dandavison/delta/releases and download deb file.
2. Use `dpkg -i file.deb` to install
3. 修改 `~/.gitconfig`,加入:
```
[core]
pager = delta
[interactive]
diffFilter = delta --color-only --side-by-side
[delta]
navigate = true # use n and N to move between diff sections
dark = true # or light = true, or omit for auto-detection
line-numbers = true
side-by-side = true
[merge]
conflictStyle = zdiff3
```