If it is not explicitly told in following recipe, setting up services are described for Ubuntu 20.04 server, but applications are described for Xubuntu 20.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.

Remote work

Below are main tasks you should do to work from home productively:

Get decent hardware

Standard operating system for the class is lightweight Linux distribution called Xubuntu, which is based on Ubuntu. You can run it as a native operating system (probably with multi-boot with other OS), or as a virtual machine in VirtualBox.
Depending on how you will run it, minimum hardware requirements for your computer are following:

ParameterFor native systemFor virtual machine
CPU<15 years old<7 years old, hardware support for virtualization1
RAM>=1GiB>=2GiB free RAM
HDD>=20GB>=20GB free space
OtherFor teleconference: wired/wireless network card, sound card with microphone, permanent connection to the internet. Headphones are recommended.

Set up operating system

In general, you can develop in Java on any environment — Windows, MacOS or Linux. You just need JDK, Maven, Git, MySQL server, Java IDE and LibreOffice.

On Windows you may use Cygwin or Windows Subsystem for Linux and you also may check out kWSL.cmd. On MacOS and Windows some of automated tests may fail, because they use GNU command line tools. In such case do manual testing and hope, that tests will pass on test environment.

If you use Debian or Ubuntu based system, there may be only minor changes from activity documentation, but it still may cost you hours of troubleshooting if something doesn't work as expected.

Therefore, to perform tasks in the most efficient way, you should install Xubuntu 20.04 as native operating system on your computer or in virtual machine:

  1. Download setup disk image from https://xubuntu.org/download/.

    Be sure file is downloaded as is (archive file with *.iso extension) and is not extracted into folders and files!

  2. For native system:

    1. Create bootable USB from dowloaded image.
    2. Install Xubuntu as native system on your computer. If necessary, look at more general guide here.
  3. For virtual machine:

    1. Install VirtualBox on Linux or Windows.
    2. Install Xubuntu on virtual macine, if necessary, look at more general guide here.

Install Microsoft Teams

Install Zoom

Set up development environment

Look at following exercises:

Implement required activities

If necessary, review recorded lectures for activities. Note, that course materials are gradually changed (hopefully, improved) and recorded lectures may not fully (or precisely) give you all information to perform practical activity. If so, search additional information yourself.

Implement activities to pass automated tests.

Complete knowledge checks

Knowledge checks are performed in planned time (12:30) ± some minutes.
To complete knowledge check remotely, open Knowledge check link.

  • If link fails with timeout, then application is not running.
  • If you cannot download document for questions, then test is not started.
  • Refresh page in browser until page and questions are ready for download.
    You have up to 20 minutes to submit your answer after that.

Share information

  • Use Notes about activities chat page to check for updates, ask or answer questions to the teacher and/or your classmates.
    • Use its wiki page to share information about activities, announcements and other related things.
  • Look at teacher contacts, if there is need for other information channels.

Additional information (in Latvian)

  1. ^ On Linux system, you can check hardware support for virtualization with command: egrep "vmx|svm" /proc/cpuinfo, which should return non-empty string. Check, that virtualization support is enabled in BIOS settings!


Created by Valdis Vītoliņš on 2020-03-12 21:03
Last modified by Valdis Vītoliņš on 2022-02-02 15:39
Xwiki Powered
Creative Commons Attribution 3.0 Unported License