Skip to content

Instantly share code, notes, and snippets.

@riccardone
Last active October 19, 2022 16:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save riccardone/92ec1cbcd8512d5f80ad8e0adafaf244 to your computer and use it in GitHub Desktop.
Save riccardone/92ec1cbcd8512d5f80ad8e0adafaf244 to your computer and use it in GitHub Desktop.
# packages are from https://packagecloud.io/EventStore/EventStore-OSS
# register the repository
curl -s https://packagecloud.io/install/repositories/EventStore/EventStore-OSS/script.deb.sh | sudo bash
# install EventStore (change with latest version if needed)
sudo apt-get install eventstore-oss=5.0.11-1
# sudo nano /etc/systemd/system/eventstore.service
# add `RestartSec=5` to section [Service]
# sudo nano /etc/eventstore/eventstore.conf with the following
ExtIp: 0.0.0.0
ExtHttpPrefixes: http://*:2113/
AddInterfacePrefixes: false
RunProjections: None
ExtTcpHeartbeatInterval: 6000
ExtTcpHeartbeatTimeout: 3000
# enable and start it!
sudo systemctl enable eventstore
sudo systemctl start eventstore
# view status
sudo systemctl status eventstore
# or with journal
journalctl -u eventstore -b -f
# in case of issues stop the service and run this in the shell
/usr/bin/eventstored
# default dir for data is
/var/lib/eventstore
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment