Nav Coin Masternode DIY Setup with PisteemCreated with Sketch.

in #navpi6 years ago

Step 1: Flashing SD Card
To create your own NavPi you will need:

Raspberry Pi 3 + Case
Power supply (Micro-USB)
Micro-SD >16GB
Card reader
HDMI Cable
Screen
Keyboard
Mouse
Ethernet cable (optional)
Download the NavPi Image from NavCoin.org
Format the SD-card (For example use SD Card Formatter)
Write the NavPi image to the SD Card (You can use Ether for example)
Insert the SD Card into the Raspberry Pi
Connect the screen, keyboard and mouse to the Raspberry Pi

Step 2: Determine Local IP address
For the setup of the NavPi and later on connecting to the NavPi you need to know the local IP-address of your NavPi.

  1. Open the terminal

  2. Type: "ifconfig" and press enter

  3. Look for inet addr: xxx.xxx.x.x

  4. The IP-address shown is the local IP-address of your NavPi. Write it down somewhere or remember it, you will need it later.

The NavPi is already locked down to ip address ranges:

192.168.x.x, 172.16.x.x and 10.10.x.x

This should prevent anyone accessing the Web UI from outside of your local network. If your local network is on a different IP range to these defaults or you want to lock web access down to a particular IP address, then do the following:

Step 3: Lock Down Web Access
Boot to the Raspberry Pi
Open Terminal
In terminal type "sudo leafpad /etc/apache2/sites-available/navpi.conf" and press enter
Find the section.
Add, Remove or Modify the lines Require ip XXX.XXX to be the IP address or range you want to allow
Make the same changes to the Require ip lines in the section
Save and close the file
In terminal type "sudo service apache2 reload" and press enter

Step : 4 Create new SSL certificate

The NavPi ships with a default ssl cetificate installed, but you will want to generate a new one when you set it up.

Open terminal and paste in the following command: "sudo openssl req -x509 -nodes -days 3650 -newkey rsa:2048 -out
/etc/apache2/ssl/navpi-ssl.crt -keyout /etc/apache2/ssl/navpi-ssl.key" and press enter
When you're prompted, fill out the details with your own eg.
Country Name: NZ

State or Province Name: Auckland

Locality Name: Auckland

Organization Name: Nav Coin

Organizational Unit Name: Nav Pi

Common Name: my.navpi.org

Email Address: [email protected]

  1. Then we need to flush and reload apache, type: "sudo systemctl daemon-reload" and press enter

  2. Type: "sudo service apache2 reload" and press enter

Whenever you browse to your NavPi's ip address, it will force HTTPS using this new certificate.

Since it's a self signed certificate, your browser will still complain that it is insecure, but all communication to the NavPi through your browser will be encrypted so no one can intercept your passwords.

Step 5: Login to the WebUI
WebUI(Web User-Interface).

Now you will need the local IP-address of your NavPi. This step can be done on any device connected to your home network with a browser.

Open the browser on your device
Enter the IP-address of the NavPi into your browser and hit enter
You might get a warning about an unsafe certificate, ignore this

  1. Enter the password for the WebUI (default: nav)

  2. You are now logged into to the WebUI of the NavPi

Step 6: Encrypt wallet and test encryption
Encryption cannot be undone. Make sure your wallet is empty so you cannot lose access to your funds. We will encrypt the wallet and test the encryption before putting any Nav Coin in the wallet.

Open WebUI
Go to 'Control'
Scroll down to 'Security'
Type the password you want to use for encrypting the wallet behind: 'Encrypt wallet' and press enter.
Make sure to either remember or write down the password in a safe place. Without the password your Nav Coin are lost.
Test encryption:

  • Click* the NAV logo in the top left corner to go to the 'Home' tab.
    Click 'Your Wallet Is Locked Click To Change'
  1. Type the password behind 'Unlock Wallet To Send' and press enter.

  2. Your wallet should now display that it is unlocked for sending.

  3. Never leave your wallet open for sending. Go to the 'home' tab

  4. Click 'Your Wallet Is Unlocked For Sending Click To Change'.

  5. Click 'Lock your wallet'.

Sort:  

Congratulations @adnan.siddiqui! You have completed some achievement on Steemit and have been rewarded with new badge(s) :

You made your First Comment
You published your First Post
You got a First Vote

Click on any badge to view your own Board of Honor on SteemitBoard.
For more information about SteemitBoard, click here

If you no longer want to receive notifications, reply to this comment with the word STOP

By upvoting this notification, you can help all Steemit users. Learn how here!

Congratulations @adnan.siddiqui! You have received a personal award!

1 Year on Steemit
Click on the badge to view your Board of Honor.

Do you like SteemitBoard's project? Then Vote for its witness and get one more award!

Congratulations @adnan.siddiqui! You received a personal award!

Happy Birthday! - You are on the Steem blockchain for 2 years!

You can view your badges on your Steem Board and compare to others on the Steem Ranking

Vote for @Steemitboard as a witness to get one more award and increased upvotes!

Coin Marketplace

STEEM 0.28
TRX 0.13
JST 0.032
BTC 60906.91
ETH 2920.56
USDT 1.00
SBD 3.69