Very nice
Thank you crowncoin_knight
Now i have my CROWN CRW masternode on Raspberry Pi
CrownPi - (MNPoS 0.13.4)
Local Masternode hosting for the Crown(CRW) community.
alt text
Introduction
CROWNPI IS NO LONGER RECOMMENDED AS IT DOESN'T PROVIDE INCOMING CONNECTIONS
Hosting from home is risky as your IP address is made public. CrownPi will help you host from home safely using OpenVPN. You must have a NordVPN or AreaVPN account to use CrownPi.
Usage
Raspberry Pi - Raspian Stretch Lite:
sudo wget "
https://raw.githubusercontent.com/defunctec/CrownPi/master/crownpiscript.sh" -O install.sh | bash && sudo chmod +x install.sh && sudo ./install.sh
Installation Guide
You must have a new copy of "Raspian Stretch Lite" installed on a 16GB SD Card using win32DiskImager for example.
This script must be run from root.
Enable SSH connections and expand the file system using
sudo raspi-config
Reboot the Pi
sudo reboot now
Now get the local IP address of the PI which starts with 192.168 and can be used for SSH
ifconfig
Once logged in via SSH, use this command to initiate the installation process
sudo wget "
https://raw.githubusercontent.com/defunctec/CrownPi/master/crownpiscript.sh" -O install.sh | bash && sudo chmod +x install.sh && sudo ./install.sh
Installation is mostly automated but does require manual input at the end.
Once the script has installed the Crown client and setup the backend the script will ask you which VPN provider you use, NordVPN or VPNArea, please choose and follow the instructions.
Now the VPN is setup, use the crown.conf to enter VPN IP, genkey ect.
sudo nano /root/.crown/crown.conf
Start the Crown Client
sudo crownd
Goto your wallet, where the collateral is held. Edit the node you would like to host. Change the IP address to your new VPN IP address, Click Ok. The node will remain online or drop off. If it drops try "start missing" one more time.
Back to the CrownPi Check the masternode is synced with the CrownPi by typing
sudo crown-cli masternode status
Linux - Ubuntu 19:
sudo wget "
https://raw.githubusercontent.com/defunctec/CrownPi/master/crownpiscript.sh" -O install.sh | bash && sudo chmod +x install.sh && sudo ./install.sh
Installation Guide
This guide is based on a new linux VPS.
This script must be run from root.
Enable SSH connections and expand the file system using
Installation is mostly automated but does require manual input. alt text
Once logged in via SSH, use this command to initiate the installation process
sudo wget "
https://raw.githubusercontent.com/defunctec/CrownPi/master/crownpiscript.sh" -O install.sh | bash && sudo chmod +x install.sh && sudo ./install.sh
alt text 6. Follow the instructions and enter your VPN details when promted (VPN instructions below) alt text 7. Now the VPN is setup, use the crown.conf to enter VPN IP, genkey ect.
sudo nano /root/.crown/crown.conf
Start the Crown Client
crownd
Goto your wallet, where the collateral is held. Edit the node you would like to host. Change the IP address to your new VPN IP address, Click Ok. The node will remain online or drop off. If it drops try "start missing" one more time.
Back to your VPS Check the masternode is synced with the CrownPi by typing
crown-cli masternode status
Update CrownPi
alt text
Choose between Linux and RPI, then choose update.
./install.sh
NordVPN Commands
Quick guide to using NordVPN with CrownPI
The script will ask you to enter your VPN account details, have these ready to make installation easy.
The command to change your NordVPN login details
nano /etc/openvpn/auth.txt
This command will show a list of regions to choose from
ls -a /etc/openvpn/nordvpn
The next command shows the selected regions servers
ls -a /etc/openvpn/nordvpn/usservers
This is an example of how to correctly choose a server from a region
cp /etc/openvpn/nordvpn/usservers/us998.nordvpn.com.udp.ovpn /etc/openvpn/nordvpn.conf
Now edit the new nordvpn.conf file you made
sed -i -e 's/auth-user-pass/auth-user-pass auth.txt/g' /etc/openvpn/nordvpn.conf
Restart openvpn and check the IP is correct.
/etc/init.d/openvpn restart
And
./whatsmyip.sh
VPNArea
Quick guide to using VPNArea with CrownPI
alt text
VPNArea installation is very simple as the script takes care of most of the work.
When promted, choose which location you would like to use as VPN server
Make sure to enter your correct VPNArea account details
About Crown
HomePage > change website address