安装elasticsearch修改服务配置用到的命令是
systemctl edit elasticsearch,使用 nano编辑器,用起来不方便,设置vim用起来方便多了
两行命令:
echo export EDITOR=/usr/bin/vim >> ~/.bashr
source ~/.bashrc
来源:CSDN
作者:悟空学python
链接:https://blog.csdn.net/yincheng_fans/article/details/104301901