SETTING UP YOUR SPKNETWORK NODE FOR DUMMIES
hive-167922·@nonsowrites·
0.000 HBDSETTING UP YOUR SPKNETWORK NODE FOR DUMMIES
So this is a follow-up post to my previous article, [Trying To Run a Spknetwork Node](https://leofinance.io/@nonsowrites/trying-to-run-a-spknetwork-node). It took about 12 hours to figure things out (because I am not so tech-savvy and I did not receive the feedback I wanted). Running a spknetwork is straightforward–sort of, however, the tutorial available is not as comprehensive as I would have loved. If you followed Diresgard word for word, you might encounter a few problems.
Before I go into this, I will highlight some of the basic things you need to run a spknetwork node.
- A Virtual Server.
- A domain name
- 100 HP
- Your hive active Key
- An active key pairing
I will be referring to the [video](https://peakd.com/hive-112019/@spknetwork/call-to-action-run-an-spk-claim-chain-node-get-rewarded) tutorial by @disregardfiat to clarify a few grey areas in the video. I will recommend you watch the video while reading this post to set up your node.
<center><sub>No one said it would be easy</sub></center>
**Step 1: Purchase your virtual server on Privex**
- Visit [Privex](https://www.privex.io/).
- Select ‘virtual sever’,
- Select 'Netherland'
- Choose the $5 monthly plan with 25GB SSD storage
**VIDEO 3:14 - 4:15**
While filling out your purchase form on Privex you will be required to generate a SHH KEY. Load your terminal and type `ssh keygen`. On windows, you will be required to create a new passcode for the shh keys. Afterwards, a folder will be created on your computer containing your private and public shh keys. Open the public key file, copy the key and paste it into the SSH KEYS section of the Privex form. ***OR*** You can follow Disregard’s steps if you don’t find it confusing
Afterwards, proceed to make payment in Hive/HBD.
On your payment receipt, you will find important details like your IPv4 address which you will use to point your domain name to your server. This took me hours to figure out as I was using Disregard's IP address and domain name which resulted in a DNS problem.
**PURCHASING A DOMAIN NAME**
Visit [NameCheap](https://www.namecheap.com/) to purchase a domain name. It cost me about $2. When you are done with your purchase, follow the following steps:
- Visit your dashboard (your will find your domain name)
- Beside your domain name is an option tagged ‘manage’, click on it
- On the next page click ‘advance DNS'
- Add a new record.
**Type**: Type A
**Host**: @
**Value**: Your IPv4 address from your Privex Receipt
**GENERATE AN ACTIVE KEY PAIR**
Head over to [HiveTask](https://hivetasks.com/account-creator) to create an account and generate keys. You should have something like this:
<center></center>
If you have gotten this far, everything should be straightforward from this point. All You need do is watch the video tutorial by disregardfiat and input those lines of code. I will address some grey areas in the video that might confuse people like myself
**VIDEO 12:00 - 12:23**
Load your terminal and input the following code: `ssh -i ['Your SSH KEY FILE NAME’] ubuntu@[Your IPv4 Address]`
It should look something like this: `ssh -i “MyKey” ubuntu@120.23.34.0`
Follow the instruction and you will have access to your server.
After connecting to your server follow the instructions here `https://github.com/disregardfiat/honeycomb/blob/master/docs/SETUP.md`
**VIDEO 32:00 CREATE AN ENV FILE**
Disregard did this later in the video but i think you should do this first before creating dependencies. I had a few problems with this so I will like to address it here in case other people experience the same. So this is the data you need to input:
`account="hiveaccount"
active=5JactivePrivateKey
msowner=5KadditionalPrivateKey
mspublic=STMpublickey
`
Account refers to your hive account;
Active refers to your hive active key;
Msowner and mspublic are the private and public keys you created on HiveTask.
Example:
`account="nonsowrites"
active=5JwgVA4pcPpRqBZM7Za83HrMzc7ifn1UUU4Q6iF2DiRRjhzz4oZ
msowner=5KCWayqquGqAnUieYsPUJitxsWYTpdRBrhY6QcxtmfNB9NNruoE
mspublic=STM6z1btmFbdHoD9neSeXEH9tiqTmoDrb5iA8GxwU7k3ant5pV8uP`
For some awkward reason, I spent a lot of time figuring this out.
**VIDEO 25:00 - 32:00**
Disregard tries to get his DNS set. This might confuse some people. Here he simply opened up another terminal and loaded his server `ssh -i [Your SSH KEY FILE NAME’] ubuntu[Your IPv4 Address]`. He followed up by installing dependencies by input this in his terminal `sudo apt install nginx certbot python3-certbot-nginx`
He took a detour to create a domain name to which he pointed his IP (you can find this in your Privex receipt)…You can watch how to do this [here](https://youtu.be/QcNBLSSn8Vg) on Youtube.
After setting his domain name, he imputed the following: `sudo nano /etc/nginx/sites-available/default`. A new page pops up where he inputs the following:
server{
server_name location.yourdomain.io;
location / {
proxy_pass http://127.0.0.1:3001;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection 'upgrade';
proxy_set_header Host $host;
}
}
My domain name is spktoken.xyz, so this is what mine looks like;
server{
server_name location.spktoke.xyz;
location / {
proxy_pass http://127.0.0.1:3001;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection 'upgrade';
proxy_set_header Host $host;
}
}
Every other thing is straightforward at this point. I have not experienced any difficulty running the spknetwork node. It doesn't demand a lot of your PC, so anyone can run.
I hope you find this useful. Cheers!
<center><sub>Post request by @jerrythefarmer</sub></center>
***
<center>

</center>
<div class="text-justify">
<sub>About the SPK Network:
The SPK Network is a decentralized Web 3.0 protocol that rewards value creators and infrastructure providers appropriately and autonomously by distributing reward tokens in such a way that every user, creator, and platform, will be able to earn rewards on a level playing field.
Check out the SPK Network Light Paper
Website: https://spk.network/
Telegram Group: https://t.me/spknetwork
Discord Server: https://discord.gg/JbhQ7dREsP
</sub>
</div>
Posted Using [LeoFinance <sup>Beta</sup>](https://leofinance.io/@nonsowrites/setting-up-your-spknetwork-node-for-dummies)👍 joeyarnoldvn, therealyme, mba2020, merit.ahama, chrysanthemum, drricksanchez, reggaejahm, shanibeer, josediccus, reggaesteem, paulmoon410, aleister, mariuszkarowski, thefoundation, tokenizedsociety, nuthman, sbi10, the-bitcoin-dood, simplifylife, terminado, hive-data, qubes, selfhelp4trolls, jerrythefarmer, coininstant, diabonua, howiemac, valentin86, nathu1, trumpman2, oelgniksivart, sharkleo, gillianpearce, beemd, nevies, proofofbrainio, vyb.curation, dwinblood, richardcrill, calumam, joseph23, khoola, steemexperience, vyb.pob, rollingbones, mineopoly, leo.voter, rufans, mindtrap, gallerani, engrsayful, michelmake.util, coinlogic.online, zuly63, rmsadkri, w-t-fi, amongus, luckyali.leo, broadhive-org, dante31, khalil319, thauerbyi, roleerob, annabellenoelle, obsesija, hibbi, megavest, ykretz, netaterra.leo, leo.tokens, elongate, impurgent, magnacarta, banzafahra, brainstommer, zeclipse, filip-psiho, khaltok, powercompound, gniksivart, runicar, flyingbolt, dado13btc, pardeepkumar, ocupation, enjoyinglife, sacrosanct, elektr1ker, ew-and-patterns, shortsegments, saboin.leo, vintherinvest, break-out-trader, babytarazkp, pouchon, l337m45732, thelogicaldude, travelwritemoney, raythulhu, hivehustlers, mytechtrail, jglake, maddogmike, cliffagreen, ajanaku, hivelist, beehivetrader, paasz, uwelang, edprivat, currentxchange, fengchao, trostparadox, bitsofwisdom, lordneroo, xyba, croupierbot, alente, he-index, blainjones, elianaicgomes, cbridges573, entrepidus, vikbuddy, listnerds, rubido, steemitboard, marivic10, slickhustler007, circleoffriends, scholaris.vyb, resonator, informationwar, ausbitbank, tftproject, freebornsociety, firstamendment, truthforce, risemultiversity, dmwh, empress-eremmy, haccolong, amnlive, deepdives, riskneutral, dfroberg, fortrussnews, inigo-montoya-jr, hive-108278, n0m0refak3n3ws, delver, investinfreedom, hypejk, fatman, stevescoins, hoaithu, anhvu, reteem, thecontesttrain, retard-gamer-de, primeradue, nutritree, ura-soul, newsnownorthwest, leprechaun, jdc, insanityisfree, atma.love, wonderlamp, clownworld, jimbobbill, v4vapid, bilpcoin.pay, sucal, cvrle, davidlionfish, sofs-su, holovision, taskmaster4450, unyimeetuk, mightpossibly, hetty-rowan, rohansuares, susie-saver, readthisplease, gloriaolar, zdigital222, uruiamme, vyb-curator, passion-fruit, mes, fortune-master, pob.curator, duwiky, vyb.curator, firealien, soonlambo, pob.macro, elon.curator, pob-curator, bobthebuilder, aswita, mccoy02, anomadsoul, louisthomas, iktisat, denizcakmak, hivebuzz, lizanomadsoul, neoxag-curator, scaredycatguide, swelker101, summertooth, leoschein, gualteramarelo, megaleoschein, dugsix, bhealy, maurofolco, darinapogodina, dwayne16, raphaelle, arcange, afterglow, achimmertens, shainemata, laruche, walterjay, pboulet, ancolie, onealfa.pob, bigbraincurator, onealfa, velourex, allcapsonezero, successforall, dibblers.dabs, saboin.pob, borran, thrasher666, themonetaryfew, santigs, dalz.shorts, pal-curator, scholaris.pob, da-prince, leo-curator, coolguy123.leo, edicted, ong.aye.myat.mon, quinnertronics, tht, steem-key, dagger212, funshee, ctp-curator, meandmyvolvo, iamchuks, curatorcat.leo, dknkyz.leo, dknkyz, softworld, apshamilton, hamismsf, yaelg, jpbliberty, officialhisha, cmplxty.leo, abitcoinskeptic, barge, tomhall.leo, olympicdragon, jordand89, cryptokungfu, sweetcheeba, no-advice, steemik, williamtboy, road2nowhere, tandara, jdike, deeiykes20, asgarth, aiuna, urun, forexbrokr, crypto-guides, uyobong.venture, bosveld1, ammonite.leo, hironakamura, ozohu, onwugbenuvictor, pappyelblanco, estherscott, winniecorp, attentionneeded, martinlazizi, joydukeson, egboncass, asherrobert, atyourservice, reineesmay, titusfrost, theouterlight, rilo, anyboadas, neophyte142068, schindmaehre, brofi, arminius3301, photonium, taskmaster101,