Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents

We recommend the installation and use of the Docker program, but this type can be used for small projects.  

Preparing Ubuntu on a virtual machine for a Link server

...

If you already have a server based on Ubuntu, skip this section and go to Installing Link under Linux: Ubuntu. If no, follow the steps:

  1. Download the Oracle VM VirtualBox
    Image Added
  2. Open the downloaded file to install the program.
    Image Added
  3. Click Next.
    Image Added
  4.  Select the way for installation and click Next
    Image Added
  5. Select appropriate options and click Next.
    Image Added
  6. Confirm installation by clicking Yes and then Install.
    Image Added
  7. Finish the process.
    Image Added
  8. Download the Ubuntu server image and configure the virtual machine.
    Image Added
  9. Open the Oracle VM VirtualBox and click New.
    Image Added
  10. Select downloaded in the Step 8 file. 
    Image Added
  11. Create username and password and click Next. We recommend the following values: 
    • username: linkuser
    • password: qwerty11!@
      Image Added
  12. Set base memory as shown.
    Image Added
  13. Create a Virtual disk with the following parameter and click Next.
    Image Added
  14. Click Finish.
    Image Added
  15. Open your machine settings.
    Image Added
  16. Go to the Network tab and set the following adapter settings as shown on the screen. Click Ok.  
    Image Added
  17. Start the created machine. 
    Image Added

Configuration of the OS to install the Link serve

...

  1. Select a language and click Enter.
    Image Added
  2. Press Continue without updating option.
    Image Added
  3. Press Done on the next 6 pages.
    Image Added
  4. Press Continue.
    Image Added
  5. Fill in the required fields with the following data and click Done when it is ready: 
    • your name: linkuser

    • your server’s name: linkuser

    • pick a username: linkuser

    • choose a password: qwerty11!@

    • confirm your password: qwerty11!@
      Image Added

  6. Press the space bar to choose the Install OpenSSH server option and press Done.
    Image Added
  7. Scroll down and press Done.
    Image Added
  8. Wait for the system to update. It can take about 30 minutes.
    Image Added
  9. Press Reboot Now.
    Image Added
  10. After reboot enter your login and password and log in:
    • login: linkuser 
    • password: qwerty11!@
      Image Added
  11. To run a command as administrator (user “root”), use the command: sudo su. Enter password qwerty11!@. The dollar icon should change to a hash.
    Image Added

  12. Enter the ifconfig command to find out the IP address (in the future you can use as static it or register another one).
    Image Added
  13. You can perform the following steps in the SSH and telnet client PuTTY. After downloading and installing, run the program.
    Image Added
  14. Enter the address you found and press Open.
    Image Added
  15. Press Accept.
    Image Added
  16. Return to Oracle VM VirtualBox and enter your login and password to log in: 
    • login: linkuser
    • password: qwerty11!@
      To run a command as administrator (user “root”), use the command: sudo su. Enter password qwerty11!@. The dollar icon should change to a hash.
      Image Added
  17. Go to the root folder: cd ../../
  18. Go to the Netplan section and open the document to edit the network settings:

    Code Block
    cd etc/netplan
    ls
    vi 00-installer-config.yaml

    Image Added

  19. The network is configured for DHCP. You need to set up a static IP address.
    Image Added
  20. Press "I" to switch to edit mode and adjust the settings as shown in the example:
    • addresses: [192.168.1.23/24] (where 192.168.1.23 is your local IP address, /24 is your subnet mask (255.255.255.0), if you have another subnet mask, check the correct number here)

    • gateway4: 192.168.1.1

    • nameservers: addresses: [192.168.1.1,8.8.8.8]
                            search: []

  21. Press Esc and then Shift Z twice.

    Image Added

  22. Accept the network settings. Check if the internet connection is working.

    Code Block
    sudo netplan apply
    ping 8.8.8.8
    Ctrl z

    Image Added

  23. If everything is working correctly, the configuration is done.