If it is not explicitly told in following recipe, setting up services are described for Ubuntu 16.04 server, but applications are described for Ubuntu 16.04 and/or Lubuntu 16.04 workstation. If you use different Ubuntu version or Linux distribution, settings as well as content, names and places of configuration files may be different!
Got it.

1. Preparation of workstation

Should prepare before:  JavaCRM Remote Work

Main steps

About the course



Install operating system

  1. If not sure about device drivers for WiFi, use Ethernet (cabled) network.
  2. For real, physical computer, put installation USB drive in computer and restart it.
    1. Press Esc or some of F9..F10 (if necessary, google it for your particular hardware) keys to activate booting device menu
    2. Select USB stick as booting device. Depending on boot manager it may look differently, e.g.:

    3. Then choose Install Lubuntu


    4. To put Lubuntu as only operating system, choose option: Erase disk and install Lubuntu

      a) Screenshot of choice if there is NOT operating system on disk:

      b) Screenshot of choice if there IS operating system on disk:

  3. Install Lubuntu Linux workstation with following settings:
    1. Location: Riga
    2. User: student
    3. Password: Student007
    4. Computer name — first syllables of name and surname separated with dash, e.g., val-vit
    5. Language English or Latvian
  4. Complete setup wizard and log into your computer

Configure operating system

  1. Connect your computer with Ethernet cable to the router or switch
  2. If necessary, familiarize yourself with Terminal and ways to copy-paste and execute commands
  3. Set IP address of the bcserver:
    1. open terminal
    2. enter: sudo leafpad /etc/hosts and add lines in file, that the look is like following:       localhost       val-vit    bcserver

      where val-vit is your computer and bcserver is name of the Java Bootcamp Server.

  4. help check that ping bcserver command returns response times
    help check that /etc/hostname has the same name e.g. val-vit as /etc/hosts, e.g. val-vit

  5. Enable additional software repositories:
    1. open terminal and enter command:

      sudo leafpad /etc/apt/sources.list
    2. remove hash and space (# ) for remote repository entries (lines which start with # deb) and save file.

      Do not remove # from the first line starting with # deb cdrom:[...! If it is enabled, every time package will be installed, package manager will (infinitly) wait for CD/DVD disk to become ready.
  6. Update repo metadata, upgrade system, and clean up unneeded packages with command in terminal:

    sudo apt-get update; sudo apt-get dist-upgrade; sudo apt-get autoremove

    press Enter to confirm operations (and similarly for other tasks)

  7. Restart computer.

Install additional packages

  1. Install LibreOffice software with command:

    sudo apt-get install libreoffice
  2. Install JDK and Maven building tool with command (and implicitly Java Development Kit as Maven dependency):

    sudo apt-get install openjdk-8-jdk maven
  3. Set up Eclipse IDE for Enterprise Java Developers:
    1. Download Eclipse archive file from from Eclipse website;
    2. Create folder IDEs in your home folder;
    3. Exctract archive into IDEs folder.
  4. help Check that java -version command returns info about java
    help Check that mvn -version command returns info about maven

  5. For more info look at:
    1. Eclipse uz Linux
    2. Noderīgas Ubuntu Linux komandas
  6. If you have problems with WiFi network, look Bezvadu tīkls
  7. Install git command line and git GTK GUI:

    sudo apt-get install git gitg
  8. Restart your computer.

Adjust settings

  1. Uninstall ibus1 package with command:

    sudo apt-get purge ibus
  2. Remove update manager, to not get annoyed with updating messages:

    sudo apt-get purge update-manager
  3. Associate office documents with LibreOffice:
    1. select Start — Preferences — Default applications for LXSession and open Launching applications,
    2. select for Document: LibreOffice Writer and for Spreadsheet LibreOffice Calc,
  1. If you like, disable touchpad while typing2:
    1. select menu Start — Preferences — Default applications for LXSession, select tab Autostart,
    2. enter command syndaemon -d and click on + Add button.
    3. Log off and on to make command effective.
  2. Add other workstation additions, if necessary.
  1. ^ Ibus keyboard supports entering hieroglyphs (e.g. for Chinese, Japanese etc.) using standard keyboard. It interferes with hot-keys for applications (e.g. Eclipse).
  2. ^ This will make you slower, if you don't use mouse, because any time you use keyboard, you will have to wait for touchpad to get enabled.

Created by Valdis Vītoliņš on 2020-05-28 12:19
Last modified by Valdis Vītoliņš on 2020-05-29 11:26
Xwiki Powered
Creative Commons Attribution 3.0 Unported License