alt3 / cakebox

Framework agnostic virtual PHP Development Environment
128 stars 27 forks source link

How do I disable Elasticsearch/Kibana? #101

Closed bravo-kernel closed 6 years ago

bravo-kernel commented 6 years ago

ES/Kibana are taking up too much memory, how do I disable the services?

bravo-kernel commented 6 years ago

To stop the services and preventing them from starting again after a reboot:

sudo systemctl stop elasticsearch
sudo unlink /etc/service/elasticsearch

sudo sv down kibana
sudo unlink /etc/service/kibana
eventrac commented 6 years ago

Hi I tried the above commands and after running "sudo systemctl stop elasticsearch" and checking top, elastic search is still running. Similarly, "sudo unlink /etc/service/elasticsearch" provides the message "unlink: cannot unlink '/etc/service/elasticsearch': No such file or directory"

Is this cakebox version dependent?

bravo-kernel commented 6 years ago

It is not cakebox dependent and since it is all basic Linux/Ubuntu, Google will be your best bet here. Closing as I cannot give support on general devops.