在作为服务运行的Elasticsearch 5.x中,如何设置内存(堆)大小?
环境变量
ES_MIN_MEM ES_MAX_MEM ES_HEAP_SIZE
Run Code Online (Sandbox Code Playgroud)
使用基于Debian的发行版(Ubuntu,Mint等)上的Systemd作为服务启动Elasticsearch时,不会将其读取或考虑在内
sudo service elasticsearch start
Run Code Online (Sandbox Code Playgroud) 我正在尝试在Kibana中使用Timelion应用程序,但我找不到指定索引名称和时间字段的位置.有没有办法在运行中执行此操作,还是必须在某个配置文件中完成?如果是这样,那个文件在哪里?
尝试使用pip从命令行安装Scrapy时
sudo pip install scrapy
出现以下错误:
error: command 'gcc' failed with exit status 1
在错误输出中查看几行,我看到在尝试安装'cryptography'包时发生错误,这似乎是pyOpenSSL的依赖
我尝试自己安装pyOpenSSL,它给出了同样的错误.通过读取错误输出,我发现此错误的可能原因是丢失文件:
ffi.h: No such file or directory
我该怎么办?
当我尝试安装某个python包(hunspell)时,它失败并出现以下错误:
/usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/limits.h:168:61:
fatal error: limits.h: No such file or directory
Run Code Online (Sandbox Code Playgroud)
知道怎么做才能纠正这个问题吗?
我正在使用新的Linux Mint 18'Sarah'安装.
hunspell python 包(通过 pip)的安装失败并出现以下错误:
hunspell.c:21:22: fatal error: hunspell.h: No such file or directory
#include <hunspell.h>
^
compilation terminated.
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
Run Code Online (Sandbox Code Playgroud)
知道该怎么做才能解决这个问题吗?