Pages:
Author

Topic: Monero Support - page 19. (Read 82997 times)

legendary
Activity: 1610
Merit: 1004
January 15, 2016, 06:42:51 PM
Just think how many people have learned how to use the command line thanks to Monero!

legendary
Activity: 2968
Merit: 1198
January 15, 2016, 06:16:00 PM
- start the program 'screen'
- run ./bitmonerod
- press control+A and release, press D

Can automate these steps with

screen -dmS node ./bitmonerod

To connect, screen -r or screen -r node (if you have multiple screen sessions)

(I like to put something like the above in a crontab @reboot entry to start the node automatically at system startup)

legendary
Activity: 2242
Merit: 3523
Flippin' burgers since 1163.
January 15, 2016, 05:59:07 PM
Btw (for all other Linux noobs): using the program 'screen' to detach Bitmonerod, so it will not be killed by ending the SSH session, works perfectly:

- start an SSH session to your VPS
- start the program 'screen'
- run ./bitmonerod
- press control+A and release, press D
- Bitmonerod is now detached. You can continue with other Linux activities and/or exit the SSH session
- To 'attach' Bitmonerod again (bring to foreground), type 'screen -r'
legendary
Activity: 2268
Merit: 1141
January 15, 2016, 02:22:06 PM
Updated to 0.9.1 - no problems so far. Do we have an updated list of pools that are running 0.9.1? I'd rather not send my (meager) hash power to a pool operator that isn't paying attention.

All pools listed here seem to be on the correct chain -> https://monerohash.com/#network

I manually checked if they were on the same (block) height as moneroblocks.info, of whom we know is on the correct chain.
legendary
Activity: 1442
Merit: 1001
January 15, 2016, 01:50:56 PM
Updated to 0.9.1 - no problems so far. Do we have an updated list of pools that are running 0.9.1? I'd rather not send my (meager) hash power to a pool operator that isn't paying attention.
legendary
Activity: 2268
Merit: 1141
January 15, 2016, 01:38:27 PM
** IMPORTANT **

Everyone that is running 0.9 needs to mandatory upgrade to 0.9.1!!

https://github.com/monero-project/bitmonero/releases/tag/v0.9.1

Again, mandatory upgrade for everyone that is running 0.9

This resolves the issues caused by the malicious fork which is described here -> https://forum.getmonero.org/1/news-announcements-and-editorials/2452/monero-network-malicious-fork-from-block-913193-updates-and-resolution
legendary
Activity: 1610
Merit: 1004
January 14, 2016, 11:07:45 PM
Yeah, after trying --detach for a bit on VPS I do find myself missing the freedom of being able to go into the daemon if needed. Especially if I'm already using tmux for managing multiple simplewallet accounts, might as well.

--detach is nice if you are running a node on your local computer and just want to start it up and forget about it.

Will update the VPS guide to include the other methods.
legendary
Activity: 2968
Merit: 1198
January 14, 2016, 04:43:51 PM
Not sure yet about the screen program. It works nicely having multiple screens in one SSH session, but I assume when quitting the SSH session it quits the bitmonerod daemon running in the foreground as well.

No! Screen sessions continue after you log out (or are unexpectedly disconnected).
legendary
Activity: 2242
Merit: 3523
Flippin' burgers since 1163.
January 14, 2016, 04:00:52 PM
Wow, I wish I got this kind of support while contacting my bank  Roll Eyes. Thanks guys. Proud supporter of the Monero network now + I learned a bit about VPS servers and Linux.

./bitmonero status does not seem to work indeed:
Code:
# ./bitmonerod status
Creating the logger system
Error: Couldn't connect to daemon

Fortunately the ./bitmonerod save or exit command does work:
Code:
# ./bitmonerod save
Creating the logger system
Blockchain saved

Code:
# ./bitmonerod exit
Creating the logger system
Stop signal sent


Not sure yet about the screen program. It works nicely having multiple screens in one SSH session, but I assume when quitting the SSH session it quits the bitmonerod daemon running in the foreground as well.
legendary
Activity: 1260
Merit: 1008
January 14, 2016, 03:25:19 PM
edit: VPS How To post has been updated on getmonero.org, it's not live yet but will be when the next site build happens. (probably soon)

https://github.com/monero-project/monero-site/blob/master/knowledge-base/user-guides/vps_run_node.md

Node fully up and running, thanks for the support and the updated user-guide!

Code:
./bitmonerod --detach 

forks the process into background/blob/master/knowledge-base/user-guides/vps_run_node.md

How do I give the daemon commands while it runs in the background? I can't seem to get it into the foreground again (would like to run the command 'status' once in a while, or do a controlled exit properly saving the blockchain).

bitmonerod command



if you are on the release binaries the status command via rpc doesn't work (at least in linux). Or at least in linux when I used the --rpc-bind-ip flag as well. but I assume that doesn't change things. You can also just do bitmonerod diff or bitmonerod print_height . Those still work. 
legendary
Activity: 2968
Merit: 1198
January 14, 2016, 03:22:55 PM
edit: VPS How To post has been updated on getmonero.org, it's not live yet but will be when the next site build happens. (probably soon)

https://github.com/monero-project/monero-site/blob/master/knowledge-base/user-guides/vps_run_node.md

Node fully up and running, thanks for the support and the updated user-guide!

Code:
./bitmonerod --detach 

forks the process into background/blob/master/knowledge-base/user-guides/vps_run_node.md

How do I give the daemon commands while it runs in the background? I can't seem to get it into the foreground again (would like to run the command 'status' once in a while, or do a controlled exit properly saving the blockchain).

bitmonerod command

The status command has some issue when I tried it, but other commands work.

Personally I use screen (similar to tmux) instead of --detach
legendary
Activity: 2242
Merit: 3523
Flippin' burgers since 1163.
January 14, 2016, 03:14:21 PM
edit: VPS How To post has been updated on getmonero.org, it's not live yet but will be when the next site build happens. (probably soon)

https://github.com/monero-project/monero-site/blob/master/knowledge-base/user-guides/vps_run_node.md

Node fully up and running, thanks for the support and the updated user-guide!

Code:
./bitmonerod --detach 

forks the process into background/blob/master/knowledge-base/user-guides/vps_run_node.md

How do I give the daemon commands while it runs in the background? I can't seem to get it into the foreground again (would like to run the command 'status' once in a while and do a controlled exit properly saving the blockchain).
legendary
Activity: 1610
Merit: 1004
January 11, 2016, 06:45:07 PM
Code:
./bitmonerod --detach 

forks the process into background

or you can use tmux to have many session windows open.

edit: VPS How To post has been updated on getmonero.org, it's not live yet but will be when the next site build happens. (probably soon)

https://github.com/monero-project/monero-site/blob/master/knowledge-base/user-guides/vps_run_node.md
sr. member
Activity: 247
Merit: 250
January 11, 2016, 06:36:45 PM
Now all I have to figure out how to keep bitmonerod running while exiting the SSH session Smiley

You may want to see these instructions for how to set up monerod with supervisor:

https://antanst.com/blog/2015/05/22/how-to-set-up-a-monero-node-in-ubuntu-14.04/
legendary
Activity: 1442
Merit: 1001
January 11, 2016, 06:26:39 PM
Thanks for pointing it out, I'll make something and submit a pull request today.

Changed the order a bit because of issues unpacking (Ubuntu worked fine) with Debian directly in the user directory:

1. mkdir bitmonero (creates directory)
2. cd bitmonero (navigates into the bitmonero directory)
3. wget https://downloads.getmonero.org/monero.linux.x64.v0-9-0-0.tar.bz2 (downloads the Monero binaries)
4. tar -xjvf monero.linux.x64.v0-9-0-0.tar.bz2 (extracts the Monero binaries)
5. ./bitmonerod (starts the Monero daemon)
6. Open TCP port 18080 in the VPS firewall to allow incoming connections
  
Now all I have to figure out how to keep bitmonerod running while exiting the SSH session Smiley
Amazing note btw, it only takes 6-8 hours to entirely sync from scratch with v0.9.

The absolute easiest way to keep bitmonerod running while disconnecting from SSH is screen.

https://www.digitalocean.com/community/tutorials/how-to-install-and-use-screen-on-an-ubuntu-cloud-server
legendary
Activity: 2242
Merit: 3523
Flippin' burgers since 1163.
January 11, 2016, 06:04:09 PM
Thanks for pointing it out, I'll make something and submit a pull request today.

Changed the order a bit because of issues unpacking (Ubuntu worked fine) with Debian directly in the user directory:

1. mkdir bitmonero (creates directory)
2. cd bitmonero (navigates into the bitmonero directory)
3. wget https://downloads.getmonero.org/monero.linux.x64.v0-9-0-0.tar.bz2 (downloads the Monero binaries)
4. tar -xjvf monero.linux.x64.v0-9-0-0.tar.bz2 (extracts the Monero binaries)
5. ./bitmonerod (starts the Monero daemon)
6. Open TCP port 18080 in the VPS firewall to allow incoming connections
  
Now all I have to figure out how to keep bitmonerod running while exiting the SSH session Smiley
Amazing note btw, it only takes 6-8 hours to entirely sync from scratch with v0.9.
legendary
Activity: 1610
Merit: 1004
January 10, 2016, 09:19:01 AM
Thanks for pointing it out, I'll make something and submit a pull request today.
legendary
Activity: 2242
Merit: 3523
Flippin' burgers since 1163.
January 10, 2016, 09:06:34 AM
If its a Linux VPS just do this, very easy:

1. download binaries: wget https://downloads.getmonero.org/monero.linux.x64.v0-9-0-0.tar.bz2
2. extract: tar -jxvf monero.linux.x64.v0-9-0-0.tar -C bitmonero
3. cd bitmonero
4. ./bitmonerod

Make sure port 18080 is open.

Thanks Saddam (never imagined saying that Wink). It seems to sync, awesome! Had to make a few adjustments to step 2, steps edited for other Linux noobs:

1. download binaries: wget https://downloads.getmonero.org/monero.linux.x64.v0-9-0-0.tar.bz2
2a. create directory: mkdir bitmonero (the below tar command could not create the directory by itself)
2b. extract: tar -xjvf monero.linux.x64.v0-9-0-0.tar.bz2 -C bitmonero (had to add the .bz2 extension as well)
3. cd bitmonero
4. ./bitmonerod

Since it is this easy, I would really like someone to update getmonero.org. There are probably more that would like to support the Monero network while having little Linux knowledge.
legendary
Activity: 1610
Merit: 1004
January 10, 2016, 08:23:45 AM
If its a Linux VPS just do this, very easy:

1. download binaries: wget https://downloads.getmonero.org/monero.linux.x64.v0-9-0-0.tar.bz2
2. extract: tar -jxvf monero.linux.x64.v0-9-0-0.tar -C bitmonero
3. cd bitmonero
4. ./bitmonerod

Make sure port 18080 is open.

Edit: it seems that the guide was not yet finished, even before the 404:
https://github.com/monero-project/monero-site/blob/master/knowledge-base/user-guides/vps_run_node.md
legendary
Activity: 2268
Merit: 1141
January 10, 2016, 07:31:19 AM
Would like to setup a full Monero node using a VPS. However the user guide link on getmonero.org is dead. Anybody with the correct link?

https://getmonero.org/knowledge-base/user-guides/ ---> https://getmonero.org/knowledge-base/user-guides/vps_run_node

Seems like that is currently in progress -> https://github.com/monero-project/monero-site/blob/master/knowledge-base/user-guides/vps_run_node.md

Perhaps GingerAle can help you. Alternatively, you can make a thread on r/monero asking for help. I am quite sure someone will help you in setting up a node on VPS!

I personally don''t know how to do it by the way.
Pages:
Jump to: