Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Last revision Both sides next revision | ||
vault [2016/07/06 13:20] steve |
vault [2016/09/29 21:29] steve |
||
---|---|---|---|
Line 11: | Line 11: | ||
Download latest version of Vault, unpack the zip file, and put the binary in ''/usr/local/sbin''. | Download latest version of Vault, unpack the zip file, and put the binary in ''/usr/local/sbin''. | ||
+ | |||
+ | Set the proper permissons: | ||
+ | |||
+ | <code> | ||
+ | setcap cap_ipc_lock=+ep /usr/local/bin/vault | ||
+ | </code> | ||
+ | |||
+ | Set up a user for vault: | ||
+ | |||
+ | <code> | ||
+ | mkdir /var/lib/vault | ||
+ | useradd vault -d /var/lib/vault | ||
+ | chown vault: /var/lib/vault | ||
+ | chmod 0700 /var/lib/vault | ||
+ | </code> | ||
Create an init script for the service, have it start on boot, and depend upon consul. | Create an init script for the service, have it start on boot, and depend upon consul. |