monero-site/knowledge-base/user-guides/vps_run_node.md

54 lines
1.5 KiB
Markdown
Raw Normal View History

2016-01-10 19:03:22 +00:00
---
layout: static_page
title: "Monero tools"
title-pre-kick: "Monero tools "
title-kick: "for the network "
title-post-kick: ""
kick-class: "purple-kicks"
icon: "icon_userguides"
attribution: "<!-- Icon is based on work by Freepik (http://www.freepik.com) and is licensed under Creative Commons BY 3.0 -->"
---
# monerod
2016-01-10 19:03:22 +00:00
`monerod` is the daemon software that ships with the Monero tree. It is a console program, and manages the blockchain. While a bitcoin wallet manages both an account and the blockchain, Monero separates these: `monerod` handles the blockchain, and `monero-wallet-cli` handles the account.
2016-01-10 19:03:22 +00:00
This guide assumes you have already set up your VPS account and are using SSH to tunnel into the server console.
2016-01-10 19:03:22 +00:00
## Linux, 64-bit (Ubuntu 14.04)
### Make sure that port 18080 is open
`monerod` uses this port to communicate with other nodes on the Monero network.
2016-01-10 19:03:22 +00:00
Example if using `ufw`: `sudo ufw allow 18080`
Example if using `iptables`: `sudo iptables -A INPUT -p tcp --dport 18080 -j ACCEPT`
### Download the current Monero Core binaries
2016-01-10 19:03:22 +00:00
wget https://downloads.getmonero.org/linux64
### Make a directory and extract the files.
2016-01-10 19:03:22 +00:00
mkdir bitmonero
tar -xjvf linux64 -C bitmonero
### Launch the daemon
2016-01-10 19:03:22 +00:00
cd bitmonero
./monerod
2016-01-10 19:03:22 +00:00
### Options:
Show list of all options and settings:
./monerod --help
2016-01-10 19:03:22 +00:00
Launch the daemon as a background process:
./monerod --detach
Monitor the output of `monerod` if running as daemon:
2016-01-10 19:03:22 +00:00
2016-01-10 19:07:03 +00:00
tail -f ~/.bitmonero/bitmonero.log
2016-01-10 19:03:22 +00:00