Last active
October 19, 2022 16:12
-
-
Save riccardone/92ec1cbcd8512d5f80ad8e0adafaf244 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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