Skip to content

Commit

Permalink
Fix 内容错误
Browse files Browse the repository at this point in the history
  • Loading branch information
YangRucheng committed Oct 7, 2024
1 parent 6a53ab0 commit 4c6f344
Showing 1 changed file with 13 additions and 5 deletions.
18 changes: 13 additions & 5 deletions source/_posts/常用命令记录.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,10 @@ apt update && apt upgrade -y
## 更改语言

```bash
apt install fonts-wqy-zenhei # 安装中文字库
fc-cache # 安装中文字体
dpkg-reconfigure locales # 设置语言
apt install fonts-wqy-zenhei && fc-cache
sed -i 's/^# zh_CN.UTF-8 UTF-8/zh_CN.UTF-8 UTF-8/' /etc/locale.gen
locale-gen
echo 'LANG=zh_CN.UTF-8' | tee /etc/default/locale
```

## 网络配置
Expand All @@ -52,14 +53,21 @@ dpkg-reconfigure locales # 设置语言
apt install network-manager
```

## 安装bashClash
## 安装ShellClash

[官方文档](https://github.com/juewuy/ShellCrash/blob/dev/README_CN.md)
阅读[官方文档](https://github.com/juewuy/ShellCrash/blob/dev/README_CN.md)

```bash
export url='https://fastly.jsdelivr.net/gh/juewuy/ShellCrash@master' && wget -q --no-check-certificate -O /tmp/install.sh $url/install.sh && bash /tmp/install.sh && source /etc/profile &> /dev/null
```

## 安装Docker及常用镜像

```bash
curl -sSL https://get.docker.com | sh # 脚本安装
```

```bash
nano /etc/docker/daemon.json # 修改配置文件
```

Expand Down

0 comments on commit 4c6f344

Please sign in to comment.