commit
This commit is contained in:
parent
cd5fa0ed4d
commit
4b14d832c5
@ -2278,6 +2278,8 @@ wsl --terminate archlinux
|
|||||||
wsl --export archlinux E:\Backup\archlinux.tar
|
wsl --export archlinux E:\Backup\archlinux.tar
|
||||||
```
|
```
|
||||||
|
|
||||||
|
#### 导入
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#### 通过FinalShell连接WSL2
|
#### 通过FinalShell连接WSL2
|
||||||
@ -2588,6 +2590,16 @@ dnf install neofetch
|
|||||||
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
|
## 安装 Screenfetch
|
||||||
|
|
||||||
```shell
|
```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`重新进行配置引导。
|
在 `~/.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) 里查看。
|
> `oh-my-zsh` 已经内置了 `git` 插件,内置插件可以在 `~/.oh-my-zsh/plugins` 中查看,下面介绍一下我常用的插件,更多插件可以在 [awesome-zsh-plugins](https://github.com/unixorn/awesome-zsh-plugins) 里查看。
|
||||||
|
|||||||
46
source/_posts/大数据.md
Normal file
46
source/_posts/大数据.md
Normal file
@ -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
|
||||||
|
```
|
||||||
|
|
||||||
Loading…
x
Reference in New Issue
Block a user