Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Sample MN 36
- ##EVERY NEW MN/IP##
- sudo nano /etc/netplan/50-cloud-init.yaml
- # There will be a line addresses:
- # Create a new line and enter in the IP address.
- # SPACING IS IMPORTANT. DO NOT USE TAB. ONLY SPACES TO ALIGN EVERYTHING OR IT WILL NOT WORK
- # Enter like so: - IP_HERE/24
- # IPv4 always follows with a /24 if you want to add an IPv6 its /64
- # Save and close. The next command updates the IP's to become active on the server
- sudo netplan apply
- # - Here the # stands for the masternode number I am simply from here on doing a +1 to the last one I see by running ls -a
- sudo mkdir /root/.mariahelm36
- sudo nano /root/.mariahelm36/maria.conf
- masternode=1
- externalip=51.161.166.170
- rpcbind=51.161.166.170
- bind=51.161.166.170
- masternodeaddr=51.161.166.170:47773
- masternodeprivkey=***
- rpcuser=***
- rpcpassword=***
- rpcallowip=127.0.0.1
- rpcport=47816
- server=1
- daemon=1
- listen=1
- port=47773
- maxconnections=256
- addnode=188.40.233.40
- addnode=188.40.233.41
- addnode=188.40.233.42
- addnode=188.40.233.43
- addnode=188.40.233.44
- addnode=188.40.233.39
- addnode=188.40.233.38
- sudo /usr/local/bin/mariad -datadir=/root/.mariahelm36 -confdir=/root/.mariahelm36/maria.conf
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement