OMotherHen's One-Click Script for easy node setup on a Linux VM! Support the backbone of your community!

in #node8 years ago (edited)

WHAT YOU'LL BE USING


VMware Workstation 12.1.1 Player for Windows 64-bit operating systems
https://my.vmware.com/en/web/vmware/free#desktop_end_user_computing/vmware_workstation_player/12_0

Ubuntu 16.04 Server 64 Bit
http://releases.ubuntu.com/16.04/ubuntu-16.04-server-amd64.iso

A Windows 64-Bit Computer


CHAPTER ONE: SETUP A VM TO RUN THE MINING SOFTWARE


  • Download and install VMWare Workstation Player
  • Download Ubuntu 16.04 Server 64 Bit
  • Open VMware Player
  • Press Ctrl-N
  • For Installer Disk Image File, browse to where you downloaded Ubuntu 16.04 and double click on that file.
  • Click Next
  • Fill out the resulting boxes, the Username and Password will be used to log into Ubuntu.
  • Click next three times
  • Press Customize Hardware
  • Make sure you enter at least 2GB of ram for the VM
    ![]
  • Click Close
  • Click Finish
  • VMwarePlayer will do its thing for setting up your VM enviroment..
  • Whenever it prompts you to install VMware-tools, click OK
  • If it prompts you to update keyboard interrupt values, click OK
  • Wait until you're greeted with a login prompt

CHAPTER TWO: RUN THE SCRIPTS AND WATCH THE FIREWORKS HAPPEN


  • Login with your previously setup Username/Password
  • Brainlessly type (no copy paste!) in the commands below, you have better things to worry about!
  • When prompted for a password, enter in the same password you used to login at first!

sudo apt-get -y install git
git clone https://github.com/omotherhen/firstTimeMiningInstall/
cd firstTimeMiningInstall
bash nodeScript.sh

  • If the screen goes black, hit BACKSPACE. It's just a screensaver for command line!
  • That's it! The script will do the rest of the work for you. You're done setting up your first Linux node in a VM!

NOTE


  • Whenever you power down a VM, shutdown the steem software within it first by pressing CTRL-C and waiting for it to finish
  • Then you can click 'X' on the VM window and shutdown
  • Once you power the VM up again and want to startup the node, simply type in:
    cd ~/steem/programs/steemd && ./steemd

AND FINALLY.....


Please leave feedback in the comments, I'll be happy to update my scripts/guide for more functionality based on your feedback!

If you're looking to setup a miner instead, check out my earlier post for easy setup with 1 Click miner scripts!
https://steemit.com/mining/@omotherhen/omotherhen-s-1-click-miner-scripts-for-no-effort-steem-linux-mining

Sort:  

Great post!

Check out new service i just released that might be useful :) Show some support!
https://steemit.com/steemit/@cryptotony/steem-link-first-steemit-short-url-service-with-bunch-of-features

May I add a tip for Linux VM machines? Use kernels with 100Hz frequency timer otherwise cpu use is higher than necessary, and so is power consumption: https://www.virtualbox.org/ticket/3779

It took me quite a while to figure this out.

I developed this on VMware and didnt notice any high cpu usage

You may be running 100Hz kernel already - or somehow VMware might not be affected. In theory all virtual machines should be affected due to the way timeslices are "sliced" and the frequency of context switches and IRQ updates that tend to kill performance.

To quote part of the link you sent me: "further, running 1000hz kernels on other virtualisation sw works just smoothly. this means, with some effort, it is possible to fix this issue."

It's possible other sw has better handling of higher ticking frequencies - I haven't used VMWare specifically for the last couple years. But from a google search I did for vmware and 100hz, they do have guides and tips for this kind of thing, mentioning it:

http://support.theenterprisecloud.com/kb/default.asp?id=343
https://ubuntuforums.org/archive/index.php/t-646613.html
http://www.360doc.com/content/12/0902/13/7492958_233737063.shtml

So, I guess I'll have to check it myself when I happen to use vmware again. For virtualbox it does make a difference, that much I can say.

Thank you very much for the guide!

This guy is a genius, efficiency as its best!

Thank you very much for youe insight. Noob here wanna ask that do we also mining by running node?

No you do not mine by running just the node, check out my other guide:
https://steemit.com/mining/@omotherhen/omotherhen-s-1-click-miner-scripts-for-no-effort-steem-linux-mining
Which will get you setup for mining in addition to having a functional node!

Could you tell me in layman terms what this does for steemit? If it helps the network in a tangible way I'm sure myself and many others would be interested in chipping in, but right now I think many of us see a lot of technobabble and links and just sort of glaze over..

Cheers for the guide!

Hi spookypooky!
Here's an in-depth explanation to nodes: https://en.bitcoin.it/wiki/Full_node
Even though it's for bitcoin, its still very applicable to STEEM!
If I had to summarize it in a few sentences, nodes create the network for STEEM, with no nodes, no transactions/information could ever be relayed from one user to another. Just like with torrents, seeders = nodes. No seeders = no one benefits. More nodes = more robust network..

I was just thinking about how to set up a steem miner and there you are. Thanks for the info.

My most recent post titled The Emotional Roller Coaster of Investing.

Interesting post!

Coin Marketplace

STEEM 0.30
TRX 0.12
JST 0.033
BTC 64400.33
ETH 3140.71
USDT 1.00
SBD 3.93