TWINS User Guides
  • TWINS Cryptocurrency
    • TWINS White-paper (in progress)
  • English
    • FAQ
    • TWINS WALLET
      • Windows installation
      • Linux installation
      • Macintosh installation
      • Encrypting and locking/unlocking your wallet
      • Backing up and Restoring your wallet
      • Blockchain health check
      • Using the wallet
        • Sending TWINS
        • Receiving TWINS
      • HD Wallets
      • TWINS staking guide
      • Auto Combine Rewards
    • TWINS MASTERNODES
      • Masternode setup on Windows with 1 wallet
      • Masternode setup on Windows with 2 wallets
      • Masternode Setup With A Script
      • (Multiple) Masternode setup with the New Capital script
      • Masternode Manual Setup
      • Multiple masternode setup on one VPS
      • Multiple Masternodes setup on one VPS v2
      • Instant/shared masternode guides
        • Shared masternode on Crypos.io
        • Nodehub instant masternode setup
      • How to Setup a VPS with Aruba
  • Deutsch
    • FAQ
    • TWINS Kryptowährung
    • TWINS WALLET
      • Windows Installationsanleitung
      • Linux Installation
      • Mac Installationsanleitung
      • Verschlüsseln und Entsperren Ihrer Wallet
      • Sichern und Wiederherstellen Ihrer Wallet
      • Blockchain Gesundheitscheck
      • Verwendung der Wallet
        • TWINS senden
        • TWINS empfangen
      • TWINS Staking Anleitung
    • TWINS MASTERNODES
      • Masternode Setup Anleitung mit Skript
      • Masternode Anleitung (ohne Skript)
      • Anleitung für mehrere Masternodes auf einem VPS
      • Masternode Setup Anleitung in Windows mit 1 Wallet
      • Instant/shared Masternode Anleitungen
        • Shared Masternode auf Crypos.io
        • Nodehub Instant Masternode Einrichtung
      • Aruba VPS Einrichtung
  • Nederlands
    • FAQ
    • TWINS Cryptocurrency
    • TWINS WALLET
      • Windows installatie
      • Linux Installatie
      • Macintosh installatie
      • TWINS wallet backup maken en herstellen
      • TWINS wallet coderen en decoderen
      • De wallet gebruiken
        • TWINS verzenden
        • TWINS ontvangen
      • HD portefeuilles
      • TWINS staking handleiding
      • Het automatisch combineren van beloningen
      • Toestand van de TWINS blockchain
    • TWINS MASTERNODES
      • Masternode installatie op Windows met 1 wallet
      • Masternode installatie op Windows met 2 wallets
      • Masternode Installatiehandleiding met script
      • Masternode handmatige installatie
      • Meerdere TWINS masternodes op een VPS
      • Meedere TWINS Masternode op een VPS v2
      • Instant/shared masternode gids
        • Shared masternode op Crypos.io
        • Instant masternode instellen met Nodehub
      • Hoe je een VPS op Aruba kan bouwen
  • Bahasa Indonesia
    • Penjelasan Singkat Twins Project
    • TWINS WALLET
      • Instalasi Windows
      • Instalasi Linux
      • Instalasi Macintosh
      • Enkripsi dan mengkunci/membuka wallet
      • Back up dan restore wallet
      • Cara menggunakan wallet
        • Mengirimkan Dana
        • Menerima Dana
      • Memastikan Keselarasan Blockchain
      • Panduan Staking
      • Menggabungkan Rewards Secara Otomatis
    • TWINS MASTERNODES
      • Menjalankan masternode dengan script
      • Menjalankan masternode secara manual
      • (Banyak) Install Masternode Menggunakan Script New Capital
      • Instalasi Masternode pada Windows Menggunakan 1 Wallet Saja
      • Menjalankan 2 masternode ataupun lebih didalam 1 VPS
      • Menjalankan 2 Masternode didalam 1 VPS v.2
      • Menjalankan masternode di Aruba
  • Italiano
    • FAQ
    • TWINS cryptomoneta
    • PORTAFOGLIO TWINS
      • Installazione su Windows
      • Installazione su Linux
      • Installazione su Macintosh
      • Cifrare, bloccare\sbloccare il portafoglio
      • Backup e ripristino del portafoglio
      • Utilizzare il portafoglio
        • Inviare TWINS
        • Ricevere TWINS
      • Guida sullo staking
      • Controllo della Blockchain
      • Premi Auto Combine
    • MASTERNODI TWINS
      • Configurazione di un masternodo di TWINS
      • Configurazione di un masternodo manuale
      • Configurazione di più masternodi su una VPS
      • Guide sulla condivisione dei masternodi
        • Configurare un masternodo su NodeHub
        • Condividere TWINS su Crypos.io
      • Come configurare un VPS su Aruba
  • Lietuvių
    • "TWINS" KRIPTOVALIUTA
    • "TWINS" PINIGINĖ
      • Piniginės diegimas "Windows" operacinėje sistemoje
      • Piniginės diegimas "Linux" operacinėje sistemoje
      • Piniginės diegimas "Macintosh" operacinėje sistemoje
      • "TWINS" piniginės užšifravimas, užrakinimas ir atrakinimas
      • Piniginės atsarginės kopijos
      • Naudojimasis pinigine
        • "TWINS" monetų siuntimas
        • "TWINS" monetų gavimas
      • "TWINS" monetų "staking" gidas
      • Automatinis atlygio sujungimas
  • Hindi
    • FAQ
    • ट्विन्स (TWINS) क्रिप्टोकरेंसी
    • विन्स (TWINS) वॉलेट
      • TWINS: वॉलेट को विंडोज पर कैसे इनस्टॉल करे
      • लिनक्स इंस्टालेशन
      • मैकिनटोश इंस्टालेशन
      • TWINS:बैकअप लेना और अपने वॉलेट को पुनर्स्थापित करना
      • अपने वॉलेट को एन्क्रिप्ट और लॉक / अनलॉक करना
      • वॉलेट का इस्तेमाल करना
        • ट्विन्स भेजना
        • ट्विन्स प्राप्त करना
      • रिवार्ड्स को अपनेआप जोड़ना
    • TWINS MASTERNODES
      • TWINS मास्टर नोड के लिए एक क्लिक setup
      • एक VPS पर एक से अधिक मास्टेरनोड सेटअप
      • मास्टर नोड की मैन्युअल स्थापना
      • अरूबा पर VPS कैसे सेटअप करें
      • तात्कालिक/साझेदारी मास्टर नोड गाइड
        • crypos.io पर साझा मास्टर नोड
        • नोडहब तात्कालिक मास्टरनोड सेटअप
  • Español
    • Criptomoneda Twins
    • CARTERA TWINS
      • Instalación de Windows
      • Instalación de Linux
      • Instalación de Macintosh
      • Copia de seguridad y restauración de su cartera
      • Encriptando y trabajando / desbloqueando su cartera - Guía de Usuario TWINS
      • Uso de la cartera
        • Enviando Twins
        • Recibiendo TWINS
    • TWINS MASTERNODES
      • Configurar masternode con secuencias de comandos
      • Configurar un masternode manualmente
      • Configuración de Múltiples Masternodes en una sola VPS
      • Cómo configurar una VPS de Aruba
  • Français
    • FAQ
    • La Cryptomonnaie Twins
    • TWINS PORTEFEUILLE
      • Installation sous Windows
      • Installation sous Linux
      • Installation sous Macintosh
      • Sauvegarder et restaurer votre portefeuille
      • Encrypter et Décrypter le portefeuille
      • Utiliser le portefeuille
        • Envoyer des TWINS
        • Recevoir des TWINS
      • Portefeuilles HD
      • TWINS guide de Staking
      • Combiner automatiquement les récompenses
      • Etat de la blockchain TWINS
    • TWINS MASTERNODES
      • Installation d'un Masternode sous Windows avec 1 portefeuille
      • Installation d'un Masternode sous Windows avec 2 portefeuilles
      • Installation Manuelle d'un Masternode
      • Installation avec script
      • Plusieurs masternodes TWINS sur un seul VPS
      • Plusieurs masternodes TWINS sur un seul VPS v2
      • Guides pour Masternodes instantanés/partagés
        • Mastenode instantané sur Nodehub
        • Masternode partagé sur Crypos.io
      • Comment monter un serveur VPS sur Aruba
  • Polski
    • FAQ
    • TWINS Kryptowaluta
    • TWINS PORTFEL
      • Instalacja Windows
      • Instalacja Linux
      • Instalacja Macintosh
      • Szyfrowanie i blokowanie / odblokowywanie portfela
      • Tworzenie kopii zapasowych i przywracanie portfela
      • Korzystanie z portfela
        • Wysyłanie TWINS
        • Otrzymywanie TWINS
      • Przewodnik TWINS staking
      • Automatyczne grupowanie nagród
      • Portfele HD
      • Sprawdzenie właściwego bloku “blockchain”
    • MASTERNODY TWINS
      • Konfiguracja Masternode ze skryptem
      • Konfiguracja ręczna Masternode
      • Wiele konfiguracji masternodu na jednym VPS
      • Wiele konfiguracji masternody na jednym VPS v2
      • Konfiguracja Masternody w systemie Windows z 1-go porfela.
      • Konfiguracja Masternody w systemie Windows z 2-ch portfeli.
      • Natychmiastowe/ współdzielone masternody - Przewodnik
        • Współdzielony masternod na Crypos.io
        • Nodehub - błyskawiczna konfiguracja masternody
      • Jak skonfigurować VPS z Aruby
  • Português
    • Criptomoeda TWINS
    • CARTEIRA TWINS
      • Instalação Windows
      • Instalação Linux
      • Instalação Macintosh
      • Encriptando e travando/destravando sua carteira - Guia de Usuário TWINS
      • Fazendo Backup e Restaurando sua Carteira
      • Usando a carteira
        • Enviando TWINS
        • Recebendo TWINS
    • TWINS MASTERNODES
      • Configurando Masternode com Script
      • Configurando um Masternode manualmente
      • Configurando Múltiplos Masternodes em uma só VPS
      • Como configurar uma VPS da Aruba
  • Türkçe
    • TWINS Kripto Para Birimi
    • TWINS CÜZDANI
      • Windows Kurulumu
      • Linux Kurulumu
      • Macintosh Kurulumu
      • Cüzdanınızı şifreleme ve kilitleme/açma
    • TWINS MASTERNODES
  • 中文
    • FAQ
    • TWINS 加密货币
    • TWINS 钱包
      • Windows 版安装
      • Linux 版安装
      • Mac 版安装
      • 加密和锁定/解锁您的钱包
      • 备份和恢复您的钱包
      • 使用钱包
        • 发送TWINS
        • 接收TWINS
      • TWINS权益获取(staking)指南
      • HD钱包
      • 自动合并奖励
      • 检查是否在正确的区块链上
    • TWINS MASTERNODES
      • 在Windows上使用1个钱包设置Masternode
      • 在Windows上使用2个钱包设置Masternode
      • 使用New Capital脚本设置多个Masternode
      • 使用安装脚本设置Masternode
      • 在一台VPS上设置多个Masternode v2
      • 手动设置主节点
      • 在一台VPS上设置多个主节点
      • 如何从Aruba设置VPS
      • 即时/共享主节点指南
        • 在Crypos.io上设置共享主节点
        • 在Nodehub平台托管Masternode
  • Romanian
  • Русский
    • FAQ
    • Криптовалюта TWINS
    • TWINS кошелек
      • "Медосмотр" блокчейна
      • Автоматическое объединение наград
      • Использование кошелька TWINS
        • Отправка монет TWINS
        • Получение монет TWINS
      • Резервное копирование и восстановление Вашего кошелька TWINS
      • Шифрование и блокировка/разблокировка Вашего TWINS кошелька
      • Установка кошелька TWINS на Linux
      • Установка кошелька TWINS в Windows
      • Установка кошелька TWINS на Apple Mac OS X
      • Инструкция по стейкингу TWINS
    • Мастерноды TWINS
      • Установка Мастерноды на Windows c 1-им кошельком
      • Установка Мастерноды на Windows c 2-мя кошельками
      • Установка Мастерноды при помощи скрипта
      • Ручная установка Мастерноды
      • Установка нескольких Мастернод на одном VPS
      • Как установить VPS на Aruba
      • Пособия по мгновенным\коллективным (instant\shared) мастернодам
        • Коллективные (shared) мастерноды на crypos.io
        • nodehub.io установка мгновенной (instant) мастерноды
  • Pilipinas (Tagalog)
    • TWINS Cryptocurrency
    • TWINS WALLET
      • Ang Pag-iinstall sa Windows
      • Ang Pag-iinstall sa Linux
      • Ang Pag-iinstall sa Macintosh
      • Ang Pag-encrypt at pag-lock/pag-unlock ng iyong wallet
      • Ang Pag-back up at Pagbalik sa iyong wallet
      • Ang Paggamit ng wallet
        • Ang Pagpapadala ng TWINS
        • Ang Pagtanggap ng TWINS
      • Ang Gabay sa pagpusta ng TWINS
    • TWINS MASTERNODES
      • Ang Manu-manong Pag-setup ng Masternode
      • Ang Pag-setup Ng Masternode Na May Script
      • Ang Pag-setup ng maramihang masternode sa isang VPS
      • Paano Mag-setup ng VPS mula sa Aruba
  • Svenska
    • Kryptovaluta Twins
    • Plånbok TWINS
      • Windows installation
      • Linux installation
      • Macintosh-installation
      • Säkerhetskopiera och återställa din plånbok
      • Kryptera och låsa / låsa upp din plånbok - TWINS Användarhandbok
      • Använda plånboken
        • Sänder TWINS
        • Ta emot TWINS
      • TWINS Stake Guide
    • TWINS MASTERNODES
      • Konfigurera Masternode med Script
      • Ställa in en Masternode manuellt
      • Konfigurera flera masternoder i en enda VPS
      • Instant / shared masternode guider
        • Delad masternod på Crypos.io
        • Nodehub instant masternode setup
      • Så här ställer du in en Aruba VPS
  • Translator Guide (read before translating)
  • TWIX testnet user guides
    • 💰Token Icons
Powered by GitBook
On this page
  • 1. Get a VPS server with IPv6 support
  • 2. Logging in and system setup
  • 3. Setting up networking for your masternodes
  • 4. Nodemaster script installation
  • 5. Starting your masternodes
  • 6. Check your Masternodes

Was this helpful?

  1. English
  2. TWINS MASTERNODES

Multiple masternode setup on one VPS

This is a guide to setting up multiple TWINS masternodes on one VPS with the Nodemaster script.

PreviousMasternode Manual SetupNextMultiple Masternodes setup on one VPS v2

Last updated 5 years ago

Was this helpful?

1. Get a VPS server with IPv6 support

You need a VPS server with IPv6 support to run several masternodes on it. You can get it from any VPS provider. Some are listed below:

Choose a VPS server with the following specifications:

  • at least 1 GB of ram

  • Ubuntu 16.04 LTS as the operating system

  • IPv6 support (some providers offer it by default, with others you have to opt for it)

Choose a strong password for your default "root" VPS user (24 characters or more) and save it.

Choose a name for your VPS server.

You will get a choice to deploy the VPS in one of the regions the provider offers - choose a region you like. That should take a few minutes.

Save the IP address of your VPS server.

Another important step is to find out which IPv6 addresses are assigned to your server. The VPS providers will assign you a range of IPv6 addresses.

You only need to save the first IPv6 address since we will be using consecutive addresses.

An IPv6 address looks like this:

2a00:6d40:0040:5C0b:0000:0000:0000:0001

and consecutive IPv6 addresses look like this:

2a00:6d40:0040:5C0b:0000:0000:0000:0002
2a00:6d40:0040:5C0b:0000:0000:0000:0003
etc.

2. Logging in and system setup

Install PuTTY and run it. You will see this screen:

Enter your VPS IP address into the "Host name (or IP address)" field.

Leave other settings as they are, enter a name for your session in the "Saved Sessions" field and click "Save". This will save your VPS information and you will only have to double-click on the name of the session to connect to your VPS in the future.

Connect to your VPS, by either clicking "Open" or double-clicking your session name in the list.

When you connect for the first time PuTTY will display an alert window:

Click "Yes" to proceed with connecting and keep this window from appearing in the future.

You will see the PuTTY terminal screen asking you to login:

Enter your VPS username "root" and press enter. Afterwards you will be asked for your password. Enter it and press enter again. You will now see a screen similar to this one:

Updating your VPS server: Your VPS requires an update. You can initiate it with the following command:

apt-get update -y && apt-get upgrade -y

You can paste commands into the PuTTY terminal window by right-clicking. Just position your cursor where you want the pasted text to go and right-click.

You can copy text from the PuTTY terminal window by selecting it with your mouse cursor.

Wait for the update process to finish and you will be returned to the command prompt:

3. Setting up networking for your masternodes

Some VPS providers let you configure IPv6 addresses through a control panel so this step is not needed and you can skip to part 4 - Nodemaster script installation.

Just make sure to configure enough IPv6 addresses for your masternodes!

Other VPS providers don't have fully automatic IPv6 configuration but do let you enable IPv6 during the VPS configuration procedure. In that case there will already be an entry for the first IPv6 address in the interfaces file so you need to skip the first IPv6 address in the configuration process below and just add the missing ones.

Now it's time to set up the networking for your masternodes. We will do this with Linux' built-in text editor Nano.

Type the following:

nano /etc/network/interfaces

Nano will open the interfaces file which contains your network configuration:

Now it's time to decide how many masternodes you want to run because you have to configure enough IPv6 addresses for them.

You will need your IPv6 address that was assigned to you by the VPS provider and which I told you to save earlier.

Copy the following text into a text editor (Notepad will do) and replace the "YourIPv6address" part with your IPv6 address:

up ip addr add YourIPv6address/64 dev eth0

Now it should look similar to this:

up ip addr add 2a01:6e60:0010:23fd:0000:0000:0000:0001/64 dev eth0

Copy the text with your IPv6 address into the clipboard.

Now switch to PuTTY and move your cursor one line past the end of the text in the file.

Make sure it is at the start of the line, and paste the text by right-clicking. Press enter to move into the next row and paste the text again. Repeat as many times as needed.

Now your terminal screen should look similar to this one:

Note that this VPS did not have any IPv6 addreses configured by the VPS provider so I had to configure them myself.

To exit Nano press CTRL + X, followed by Y and Enter to confirm and write the changes into the file. You will be returned to the command prompt.

Now it's time to reboot your VPS. To do so type:

reboot

and press Enter. You will be disconnected from the VPS so close this terminal window, start PuTTY and login again.

Do NOT skip the rebooting step as it is crucial to set up your IPv6 addresses!

Now we need to test if the IPv6 addresses are active, so type:

ping6 <your IPv6 address>

If the address is active, you will get a response from it:

Cancel the pinging by pressing CTRL+C.

Repeat the process for all your masternode IPv6 addresses. If all of them respond to your pinging then you are ready to install the Nodemaster script.

4. Nodemaster script installation

To copy the script to your VPS type:

git clone https://github.com/NewCapital/nodemaster MNVPS && cd MNVPS

This will clone the Nodemaster script to the MNVPS directory on your VPS.

A successful cloning should give you this response and return you to the command prompt:

You can actually set up your VPS for more masternodes than you can currently have and start them later when you get enough collateral for them.

To start the actual installation, type (in this example, 4 is the number of masternodes we want to install):

./install.sh -p twins -n 6 -c 4

The script will start setting up your masternodes and compiling the TWINS source files.

Be patient as that will take awhile (it took 18 minutes in my case).

This is the screen you see when the script finished setting up your VPS and compiling the TWINS source code:

DO NOT run the command listed on the screen because you have to edit the individual masternode configuration files on your VPS first!

Now we need to edit the masternode configuration files. They are located in the /etc/masternodes directory, so move to that directory by typing:

cd /etc/masternodes

To get a list of the configuration files type

ls

We need to edit the configuration files with nano and fill in some information. To do that, type:

nano twins_nX.conf

Replace the X with the appropriate number of the configuration file.

There is one field of interest: the Masternode private key field. I marked it on the picture:

Delete the text after the = sign in the Masternode private key field and paste your masternode private key.

Now save the file by pressing CTRL + X, followed by Y and ENTER.

Repeat this step as many times as you have masternodes to configure.

5. Starting your masternodes

Now you are ready to start your masternode daemons:

If you configured ALL masternodes which the script set up, you can just type

activate_masternodes_twins

and your masternodes will be started.

If you only configured SOME of the masternodes the script set up, you have to enter 3 commands for each masternode:

systemctl daemon-reload
systemctl enable twins_nX
systemctl restart twins_nX

Replace X with the number of the masternode you configured.

Now you want to verify that your daemons are running by typing:

systemctl status twins_nX.service

Replace X with the number of the masternode you want to check.

A successfully running masternode will give you this response:

Type CTRL + C to exit, and repeat the process for all your masternodes.

That's it, you're done. Now you just need to start your masternodes from your controller wallet.

6. Check your Masternodes

We can now check the status of every masternode

Replace X with the number of the masternode you configured

twins-cli -conf=/etc/masternodes/twins_nX.conf masternode status 

and see if the masternode has been started successfully.

You should see something like:{ “txhash” : “334545645643534534324238908f36ff4456454dfffff51311”, “outputidx” : 0, “netaddr” : “45.11.111.111:37817”, “addr” : “WmXhHCV6PjXjxJdSXPeC8e4PrY8qTQMBFg”, “status” : 4, “message” : “Masternode successfully started” }

You also need to check the masternode explorer after starting the masternode in your wallet.

Your masternode status should appear as "ACTIVE".

After starting a masternode its status changes in the following order:

"ACTIVE" --> for around 2 - 3 hours after starting it

"EXPIRED" --> It will be just for a couple of minutes

"REMOVED" --> for just a couple minutes

"ENABLED" --> Eventually the masternode will remain in this status and the "Active" time will start increasing.

Do not be impatient! The first masternode reward takes 2x or 3x longer to come than regular rewards later. If you start the masternode again from the wallet, this timer will reset to zero.

The first MN reward The average time it takes to receive the first reward is calculated in hours with the formula millions_locked_before_your_MN_is_enabled*2.6/60. At the time of writing the total number of millions that are locked in MNs is 3,500 million, so 3500*2.6/60=151.67 hours or approximately 6 days, 7 hours and 40 minutes.

That's it! You've succesfully started several masternodes!

Download PuTTY, a SSH client we will use to access our VPS from . Choose a version appropriate for your operating sytem (64 or 32 bit).

To do so, copy your masternode wallet address from your terminal window by selecting it with your mouse (WmXhHCV6PjXjxJdSXPeC8e4PrY8qTQMBFg in the above example), visit the masternode section of the TWINS , and paste it in the lower right search box to find your masternode.

NOTE: if the masternode status is "MISSING" in your local wallet, check its status in the , it might be EXPIRED/REMOVED there which is fine.

Aruba
DigitalOcean
Hetzner
Vultr
here
explorer
masternode explorer