If you meet the above requirements, login to your VPS as "root" and type the following command:
wget -q -O - https://git.io/Jf5Wu | sh
You will see the install procedure running. After it completes, it will display this screen:
Press ENTER to advance to the coin selection screen. Here you are given a choice of setting up FIX or TWINS masternodes:
You can make your choice by pressing the UP/DOWN arrow keys and confirm it by pressing ENTER.
Choose "TWINS" and press ENTER. This will bring you to the following screen:
Here you will choose an IP address for your masternode. Unused IPv4 and IPv6 addresses are automatically detected and listed. Choose your masternode address by moving the blue rectangle with the up and down arrow keys and press ENTER to select it and move on to the next step below:
In this step you will create a TWINS masternode address which will hold your masternode collateral. You have two options to do this:
Option 1: Go to your TWINS wallet, click on the "Receive" tab (1), enter the desired masternode name in the "Label" field (2) and press the "Request Payment" button (3). See the screenshot below if you need detailed guidance.
Option 2: Go to the Debug console of your TWINS wallet by clicking on "Tools" (1) and "Debug console" (2) afterwards:
In the Debug console, type
getaccountaddress masternode_name (replace
masternode_name with the name of your masternode. The Debug console will assign an address to your masternode name.
After you get your masternode address (you will need it in the next step), go back to the terminal window, and press "ENTER" while having the "Continue" button selected.
You will be taken to the next screen where you choose how much collateral you wish to send:
Transfer the desired collateral amount to your generated address (1,000,000 / 5,000,000 / 20,000,000 / 100,000,000 TWINS) and press ENTER while having the "Continue" button selected.
In the next screen, you will name your masternode, and input your generated masternode address:
Enter your masternode name in the "Masternode Name" field. Avoid putting spaces to separate letters, use an underscore "_" instead.
Now move down in the menu to the "Masternode Address" field by pressing the down arrow key. Copy the masternode address into your clipboard and paste it into the field by right-clicking inside it.
Press ENTER after you filled in both fields. You will be taken to the following screen where the script verifies your collateral. If the verification is successful, you will be presented with your collateral transaction ID, the transaction index and the amount of collateral amount you sent.
Press ENTER to continue to the next screen. This part is completely automatic as the script will go through several steps to prepare and configure your masternode.
Just wait until it the script finishes working and it will take you to this screen:
Select the entire text beginning with "http" in your terminal window, by clicking and holding the left mouse button, and moving the mouse until the end of the text - the background of the selected text will turn black. Now release the left mouse button after selecting the text and it will be copied into your clipboard automatically (you will get a notification about it in the terminal window). This is the URL needed to access your masternode configuration information.
You may also wish to save the Username and Password, in case you are asked for them.
Now paste the URL you saved into a web browser and press ENTER. You will be asked if you wish to login. Enter the username and password if you are asked for them. Confirm the login, and you will be taken to a similar web page like the one below.
Clicking on the "Download" link will download the masternode.conf file.
Clicking on the "View" link will open a web page with the contents of masternode.conf file:
You have to copy and paste the last row into the masternode.conf file of your TWINS desktop wallet. Don't forget to save it and restart the desktop wallet afterwards.
Locations of the masternode.conf file:
Windows: in the directory %appdata%\TWINS
Linux: inside the /home/YourChosenUsername/.twins directory
MacOS: in the /Users/YourChosenUsername/Library/Application Support/TWINS directory
After you have updated your masternode.conf file and restared your Desktop wallet, return to the terminal window and press ENTER to continue the setup process. You will be taken to this screen:
The script will start your masternode and sync it. The process is automatic so just wait until it completes.
If your collateral is mature, you will be taken to the following screen:
The script is now waiting for your to start your masternode.
Start the masternode from your Desktop wallet by going to the Masternodes tab, clicking on the line with the masternode name (1), and clicking on the "Start Alias" button (2):
You may also start it from your debug console by inputting the
"masternode start-alias false <yourmasternodename>" command and pressing ENTER:
After you start the masternode, go to the terminal window and you will see the following screen with your masternode address and IP:
Press ENTER to exit the script. You will be presented with a screen with the information about your masternode and some important commands: