From 4b14d832c5166c44a12a5e737a070ac7b314abb2 Mon Sep 17 00:00:00 2001 From: wenyongda Date: Sun, 3 Aug 2025 23:01:20 +0800 Subject: [PATCH] commit --- source/_posts/Linux.md | 18 ++++++++++++++++ source/_posts/大数据.md | 46 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 64 insertions(+) create mode 100644 source/_posts/大数据.md diff --git a/source/_posts/Linux.md b/source/_posts/Linux.md index f332e2e..7807e9e 100644 --- a/source/_posts/Linux.md +++ b/source/_posts/Linux.md @@ -2278,6 +2278,8 @@ wsl --terminate archlinux wsl --export archlinux E:\Backup\archlinux.tar ``` +#### 导入 + #### 通过FinalShell连接WSL2 @@ -2588,6 +2590,16 @@ dnf install neofetch neofetch ``` +## 安装 Fastfetch + +```bash +dnf update -y +wget https://github.com/fastfetch-cli/fastfetch/releases/download/2.49.0/fastfetch-linux-amd64.rpm -O fastfetch.rpm +dnf install -y fastfetch.rpm +``` + + + ## 安装 Screenfetch ```shell @@ -2807,6 +2819,12 @@ git clone --depth=1 https://gitee.com/romkatv/powerlevel10k.git ${ZSH_CUSTOM:-$H 在 `~/.zshrc` 设置 `ZSH_THEME="powerlevel10k/powerlevel10k"`。接下来,终端会自动引导你配置 `powerlevel10k`,若已配置可输入`p10k configure`重新进行配置引导。 +若是安装的AlmaLinux minimal系统,需先通过`dnf`安装 `"Development Tools"`,再执行`source ~/.zshrc` + +```bash +dnf groupinstall "Development Tools" -y +``` + ### 插件 > `oh-my-zsh` 已经内置了 `git` 插件,内置插件可以在 `~/.oh-my-zsh/plugins` 中查看,下面介绍一下我常用的插件,更多插件可以在 [awesome-zsh-plugins](https://github.com/unixorn/awesome-zsh-plugins) 里查看。 diff --git a/source/_posts/大数据.md b/source/_posts/大数据.md new file mode 100644 index 0000000..8d39986 --- /dev/null +++ b/source/_posts/大数据.md @@ -0,0 +1,46 @@ +--- +title: 大数据 +date: 2025-08-03 22:53:51 +tags: +--- + +# Apache Doris + +## 简介 + +## 安装 + +### 配置 + +#### Linux系统环境配置(所有节点均需配置) + +##### 调大文件操作配置 + +```bash +vim /etc/security/limits.conf +``` + +在文件最后添加下面几行信息(注意 * 也要复制进去) + +```conf +* soft nofile 65536 +* hard nofile 65536 +* soft nproc 65536 +* hard nproc 65536 +``` + +可使用以下命令直接追加到配置文件内 + +```bash +echo "* soft nofile 65536" >> /etc/security/limits.conf +echo "* hard nofile 65536" >> /etc/security/limits.conf +echo "* soft nproc 65536" >> /etc/security/limits.conf +echo "* hard nproc 65536" >> /etc/security/limits.conf +``` + +保存完成需`reboot`,也可临时生效,免重启 + +```bash +ulimit -n 65536 +``` +