Compare commits
No commits in common. "a8a1fe1e0d4c8f8dac831bb310da308181f5856e" and "4cc2f920a1ba822d64f035e6830774f54d6583c5" have entirely different histories.
a8a1fe1e0d
...
4cc2f920a1
@ -11,4 +11,4 @@ FROM mcr.microsoft.com/vscode/devcontainers/typescript-node:0-${VARIANT}
|
|||||||
# RUN su node -c "source /usr/local/share/nvm/nvm.sh && nvm install ${EXTRA_NODE_VERSION}"
|
# RUN su node -c "source /usr/local/share/nvm/nvm.sh && nvm install ${EXTRA_NODE_VERSION}"
|
||||||
|
|
||||||
# [Optional] Uncomment if you want to install more global node packages
|
# [Optional] Uncomment if you want to install more global node packages
|
||||||
RUN su node -c "npm install -g pnpm"
|
# RUN su node -c "npm install -g pnpm"
|
||||||
|
@ -50,5 +50,5 @@
|
|||||||
"git-lfs": "latest"
|
"git-lfs": "latest"
|
||||||
},
|
},
|
||||||
"mounts": [],
|
"mounts": [],
|
||||||
"postStartCommand": "pnpm install && npm run dev"
|
"postStartCommand": "npm ci && npm run dev"
|
||||||
}
|
}
|
||||||
|
@ -4,10 +4,7 @@ date: '2022-10-28'
|
|||||||
tags: ['PVE', 'PVE', 'DE', '环境搭建', 'Debian']
|
tags: ['PVE', 'PVE', 'DE', '环境搭建', 'Debian']
|
||||||
draft: false
|
draft: false
|
||||||
summary: 虽然 PVE 宿主机不应该安装乱七八糟的东西,但是我穷,为了物尽其用,为了在主力电脑翻车时有一个立即可用的备用环境,所以还是安装了基础的桌面环境。现在的 Linux 桌面环境越来越好了,我选择安装 KDE Plasma 作为桌面环境,并且默认关闭,按需启用。
|
summary: 虽然 PVE 宿主机不应该安装乱七八糟的东西,但是我穷,为了物尽其用,为了在主力电脑翻车时有一个立即可用的备用环境,所以还是安装了基础的桌面环境。现在的 Linux 桌面环境越来越好了,我选择安装 KDE Plasma 作为桌面环境,并且默认关闭,按需启用。
|
||||||
images:
|
images: ['https://pan.ivanli.cc/api/v3/file/source/2243/1200px-Kde_dragons.png?sign=yGZL9jYeVt53Ve43ddhHt_0EzVV2cW_WbxHc0dEcwWY%3D%3A0']
|
||||||
[
|
|
||||||
'https://pan.ivanli.cc/api/v3/file/source/2243/1200px-Kde_dragons.png?sign=yGZL9jYeVt53Ve43ddhHt_0EzVV2cW_WbxHc0dEcwWY%3D%3A0',
|
|
||||||
]
|
|
||||||
---
|
---
|
||||||
|
|
||||||
## 准备
|
## 准备
|
||||||
@ -16,19 +13,13 @@ images:
|
|||||||
|
|
||||||
### 创建账户:
|
### 创建账户:
|
||||||
|
|
||||||
```bash
|
|
||||||
useradd -m ivan
|
useradd -m ivan
|
||||||
passwd ivan
|
passwd ivan
|
||||||
usermod -aG wheel ivan
|
usermod -aG wheel ivan
|
||||||
```
|
|
||||||
|
|
||||||
给刚刚创建的账户分配一个具有 sudo 权限的账户
|
给刚刚创建的账户分配一个具有 sudo 权限的账户
|
||||||
|
|
||||||
```bash
|
|
||||||
EDITOR=vim visudo
|
EDITOR=vim visudo
|
||||||
```
|
找到 %wheel ALL=(ALL: ALL) ALL 这行,取消这行的注释。
|
||||||
|
|
||||||
找到 `%wheel ALL=(ALL: ALL) ALL` 这行,取消这行的注释。
|
|
||||||
|
|
||||||
现在,你自己的账号具有 sudo 权限了。
|
现在,你自己的账号具有 sudo 权限了。
|
||||||
|
|
||||||
@ -134,7 +125,7 @@ ibus-setup
|
|||||||
|
|
||||||
## 快捷键
|
## 快捷键
|
||||||
|
|
||||||
我习惯使用 Mac OS 系统的快捷键,所以 [Kinto](https://github.com/rbreaves/kinto) 是我的不二之选。key
|
我习惯使用 Mac OS 系统的快捷键,所以 [Kinto](https://github.com/rbreaves/kinto) 是我的不二之选。
|
||||||
|
|
||||||
安装:
|
安装:
|
||||||
|
|
||||||
@ -147,3 +138,4 @@ ibus-setup
|
|||||||
```bash
|
```bash
|
||||||
/bin/bash <( wget -qO- https://raw.githubusercontent.com/rbreaves/kinto/HEAD/install/linux.sh || curl -fsSL https://raw.githubusercontent.com/rbreaves/kinto/HEAD/install/linux.sh ) -r
|
/bin/bash <( wget -qO- https://raw.githubusercontent.com/rbreaves/kinto/HEAD/install/linux.sh || curl -fsSL https://raw.githubusercontent.com/rbreaves/kinto/HEAD/install/linux.sh ) -r
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user