Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Setup of a full node should be automated #768

Closed
janschejbal opened this Issue Feb 24, 2015 · 1 comment

Comments

Projects
None yet
2 participants

The how-to guide for setting up a full node is nice, but every step after the "apt-get install bitcoind" can and should be automated, either in the official ppa or a separate one:

  • Create locked account
  • Create directory structure
  • Create bitcoin.conf with random password and correct permissions
  • Configure logging to /var/log
  • Set up log rotation (this is not mentioned in the guide, but should be)
  • Create init.d or upstart file (ask user if the service should be configured to autostart)

Bonus points for setting up an AppArmor profile to improve security and autodetecting Tor running on the same machine. The tor package can probably be used as a template - it includes logrotate and AppArmor.

Contributor

harding commented Feb 24, 2015

@janschejbal I agree that would be awesome, and it would be great if you're willing to help! The Ubuntu packaging files are all in the Bitcoin Core repository (in the contrib/ directory, I believe) and this issue describes some of the things that need to be done, as well as possible concerns.

This repository here is just for Bitcoin.org content, so I'm going to close the issue, but thanks for suggesting it!

Also, regarding one of your bullet points:

Set up log rotation (this is not mentioned in the guide, but should be)

I just wanted to let you know that Bitcoin Core trims its own log on startup by default, which is why it's not in the guide.

@harding harding closed this Feb 24, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment