Skip to content

Commit

Permalink
auto push
Browse files Browse the repository at this point in the history
  • Loading branch information
go-bai committed Sep 25, 2023
1 parent aaccda4 commit 3490a14
Show file tree
Hide file tree
Showing 4 changed files with 42 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ git submodule update --init
### add a new page

```bash
hugo new content post/linux/jq-command.md
hugo new content posts/linux/jq-command.md
```

### preview
Expand Down
20 changes: 20 additions & 0 deletions content/posts/dev-tools/vscode-extensions.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
title: "Vscode Extensions"
date: 2023-09-25T21:27:06+08:00
draft: true
tags: [vscode]
---

### 记录我的vscode使用的扩展插件

持续补充中

- vscode-icons-mac
- GitLens
- Go

### 一些配置

```json
"workbench.tree.indent": 16
```
4 changes: 4 additions & 0 deletions content/posts/hypervisor/virt-manager.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@ UBUNTU_CODENAME=jammy
sudo apt install virt-manager qemu bridge-utils -y
```

#### 配置 `bridge` 类型网络

TODO

#### 修改`libvirtd`配置文件并重启

`sudo vim /etc/libvirt/qemu.conf`
Expand Down
17 changes: 17 additions & 0 deletions content/posts/linux/ubuntu-config.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,4 +73,21 @@ vim ~/.zshrc
```bash
~ hugo version
hugo v0.118.2+extended linux/amd64 BuildDate=unknown
```

### 安装 openssh-server

```bash
sudo apt install openssh-server
```

sudo vim /etc/ssh/sshd_config

```diff
- #PermitRootLogin prohibit-password
+ PermitRootLogin yes
```

```bash
sudo systemctl restart ssh
```

0 comments on commit 3490a14

Please sign in to comment.