---
title: "elasticsearch 安装 linux环境配置"
author: "chzhxu"
date: "2017-08-09T06:47:35Z"
tags: []
categories: ["开源软件"]
slug: "elasticsearch-linux"
draft: false
lastmod: "2018-01-19T10:30:09Z"
id: 2388961
url: "https://gangling.iteye.com/blog/2388961"
---

1、vim  /etc/sysctl.conf
fs.file-max=655350
vm.max_map_count=655350

保存之后sysctl -p使设置生效

2、vi /etc/security/limits.conf 新增

* soft nofile 655350

* hard nofile 655350

重新使用SSH登录，再次启动elasticsearch即可