STEP 4:VPS CONNECTION AND LINUX CONFIGURATION WITH PUTTY (SSH)

In this part of the tutorial, you have to create a connection with PuTTY software on Linux. Below are all the steps you need to follow:I

  • Create a non-root user to run the node (more secure)

  • Install needed softwares including Java

  • Update the Linux system

1. First of all, you need to create a connection with the IP address and SSH port number of your VPS.

2. Log into your VPS for the first time as root.

Nothing is displayed on screen when you type your password, thus be attentive of what you're writing.

3. Add a user named “SWT” (or any name you want). This user will run the node when installation will be done.

Enter only the highlighted commands. You can also copy and paste these commands.

4. Write a password, confirm it and validate by entering other values.

5. Now you are going to add the “SWT” user in the sudo group, this will allow this user to install softwares needed and run the node. Type this command at the prompt:

КАРТИНКА №3

6. Type the following command. Access to the /home/swt directory will be now limited to the main user ''swt'' only.

7. Reboot to apply those changes (you will get an error message, it's totally normal as PuTTY is rebooting).

8. Wait a minute or two and start PuTTY again, then reconnect to your VPS. It’s more secure to connect only with the non-root user previously created (user “swt”), so log in with user “swt” you have just created, and associated password.

9. Now you're going to type the following commands to update the system and install a few tools. You can copy-paste the following commands into Putty and run them. Don’t be surprised if the password of user ‘credits’ is asked once. Just type it.

It is very important to run the two first commands every 10 days in order to keep your system up to date.

Last updated