-
Notifications
You must be signed in to change notification settings - Fork 82
Installing Elasticsearch
Daniel Metzner edited this page Nov 12, 2021
·
9 revisions
Check out this blog: https://ourcodeworld.com/articles/read/1508/how-to-install-elasticsearch-7-in-ubuntu-2004
In summary:
curl -fsSL https://artifacts.elastic.co/GPG-KEY-elasticsearch | sudo apt-key add -
echo "deb https://artifacts.elastic.co/packages/7.x/apt stable main" | sudo tee -a /etc/apt/sources.list.d/elastic-7.x.list
sudo apt update
sudo apt install elasticsearch
sudo systemctl start elasticsearch
sudo systemctl enable elasticsearch
- Run
php bin/console fos:elastica:populate
for creating indexes andphp bin/console fos:elastica:reset
for resetting indexes.
sudo nano /etc/elasticsearch/jvm.options.d/jvm.options
-Xms1g
-Xmx1g
sudo systemctl restart elasticsearch
Check out /share.catrob.at/pocketcode/
- Docker - Linux/Mac/Windows
- Ubuntu - VM/Native
- Installing Elasticsearch
- Server Setup
- Using Webpack (material components)