47 lines
779 B
Markdown
47 lines
779 B
Markdown
---
|
||
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
|
||
```
|
||
|