Advertisement
hostmaria

Maria MN setup @ ovh

Sep 29th, 2022
118
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.18 KB | None | 0 0
  1. # Sample MN 36
  2.  
  3. ##EVERY NEW MN/IP##
  4.  
  5. sudo nano /etc/netplan/50-cloud-init.yaml
  6.  
  7. # There will be a line addresses:
  8. # Create a new line and enter in the IP address.
  9. # SPACING IS IMPORTANT. DO NOT USE TAB. ONLY SPACES TO ALIGN EVERYTHING OR IT WILL NOT WORK
  10.  
  11. # Enter like so: - IP_HERE/24
  12. # IPv4 always follows with a /24 if you want to add an IPv6 its /64
  13. # Save and close. The next command updates the IP's to become active on the server
  14.  
  15. sudo netplan apply
  16.  
  17. # - 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
  18.  
  19. sudo mkdir /root/.mariahelm36
  20.  
  21. sudo nano /root/.mariahelm36/maria.conf
  22.  
  23.  
  24. masternode=1
  25. externalip=51.161.166.170
  26. rpcbind=51.161.166.170
  27. bind=51.161.166.170
  28. masternodeaddr=51.161.166.170:47773
  29. masternodeprivkey=***
  30. rpcuser=***
  31. rpcpassword=***
  32. rpcallowip=127.0.0.1
  33. rpcport=47816
  34. server=1
  35. daemon=1
  36. listen=1
  37. port=47773
  38. maxconnections=256
  39. addnode=188.40.233.40
  40. addnode=188.40.233.41
  41. addnode=188.40.233.42
  42. addnode=188.40.233.43
  43. addnode=188.40.233.44
  44. addnode=188.40.233.39
  45. addnode=188.40.233.38
  46.  
  47. sudo /usr/local/bin/mariad -datadir=/root/.mariahelm36 -confdir=/root/.mariahelm36/maria.conf
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement