Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
Last revision Both sides next revision
users:runningnodes [2015/09/07 04:00]
cmotc created with part of Nodes page
users:runningnodes [2015/09/08 03:39]
cmotc
Line 1: Line 1:
 +===== How to run a Bootstrap Node =====
 +
 ==== Installation ==== ==== Installation ====
  
Line 5: Line 7:
 Change //ADDRESS//, //PORT//, and //KEY// to that of any [[Nodes#Active Nodes | active DHT node]]. Change //ADDRESS//, //PORT//, and //KEY// to that of any [[Nodes#Active Nodes | active DHT node]].
  
-== Daemonized version==+=== Daemonized version ===
  
 Toxcore also has a daemonized version of the bootstrap node code wish can be used on SystemV init or systemd init systems. Toxcore also has a daemonized version of the bootstrap node code wish can be used on SystemV init or systemd init systems.
Line 11: Line 13:
 You first need to configure tox to build the bootstrap node executable. Run the configure script with <code>--enable-daemon</code> as an argument. The tox_bootstrap_daemon executable will be placed in <code>build/.lib</code>, so grab a copy from there and place it where you want the daemon to run from. You first need to configure tox to build the bootstrap node executable. Run the configure script with <code>--enable-daemon</code> as an argument. The tox_bootstrap_daemon executable will be placed in <code>build/.lib</code>, so grab a copy from there and place it where you want the daemon to run from.
  
-== Configuring Daemon script ==+=== Configuring Daemon script ===
  
 //Note that the following instructions might be out of date and it's preferable to read the [[https://github.com/irungentoo/toxcore/tree/master/other/bootstrap_daemon | README.md file]] maintained by the daemon developer.// //Note that the following instructions might be out of date and it's preferable to read the [[https://github.com/irungentoo/toxcore/tree/master/other/bootstrap_daemon | README.md file]] maintained by the daemon developer.//
Line 27: Line 29:
 There are a few other options generated by a combination of these items, and you may wish to customize them for your needs. There are a few other options generated by a combination of these items, and you may wish to customize them for your needs.
  
-== Configuring the daemon itself ==+=== Configuring the daemon itself ===
  
 Now we need to configure the conf file that the daemon uses, located in <code>other/bootstrap_daemon</code> Now we need to configure the conf file that the daemon uses, located in <code>other/bootstrap_daemon</code>
Line 38: Line 40:
 To get the bootstrap nodes, you can either grab them from [[Nodes#Active Nodes | here]] or use an updater script - some options here: [[https://github.com/irungentoo/toxcore/issues/722| issue]] To get the bootstrap nodes, you can either grab them from [[Nodes#Active Nodes | here]] or use an updater script - some options here: [[https://github.com/irungentoo/toxcore/issues/722| issue]]
  
-== Generate the service ==+=== Generate the service ===
  
 Place the daemon script in <code>/etc/init.d</code> and rebuild the service list. Place the daemon script in <code>/etc/init.d</code> and rebuild the service list.
Line 44: Line 46:
 Finally, start the service! Finally, start the service!
  
-== Troubleshooting ==+=== Troubleshooting ===
  
 The daemon outputs to syslog, so if you have the appropriate permissions: The daemon outputs to syslog, so if you have the appropriate permissions:
Print/export