Atpakaļ
Java Bootcamp
Tālāk
2. Preparation of Java project

1. exercise: Preparation of Java development workstation

Main steps

Install operating system

  1. Put installation disc in drive and restart computer
    1. Use F12 to activate booting device menu
    2. Select CD/DVD
  2. Install Lubuntu Linux workstation with following settings:
    1. Install new Lubuntu on partition for previous Ubuntu version
    2. If there is operating system installed already, choose option: Erase disk and install Lubuntu
    3. Location: Riga
    4. User: student
    5. Password: Student007
    6. WiFi: Java_Bootcamp, password: #Java_BC
    7. Computer name — first syllables of name and surname separated with dash, e.g., val-vit
    8. Language English or Latvian
  3. Complete setup wizard and log into your computer

Configure operating system

  1. Familiarize yourself with Terminal and ways to copy-paste and execute commands.
  2. Set unique hostname for your computer:
    1. Open terminal
    2. Enter: sudo leafpad /etc/hosts and add/modify lines in file, that the look is following:

      127.0.0.1       localhost
      127.0.1.1       val-vit
      192.168.8.100     bcserver

      where val-vit is your computer name and save file

      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.

  3. Set proxy server for package manager:
    1. Press ctrl+alt+t to open terminal
    2. Enter command:

      sudo leafpad /etc/apt/apt.conf
    3. In opened file add line:

      Acquire::http::Proxy "http://bcserver:3128";
  4. 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 http...) and save file.
    3. Update repo metadata, upgrade system, clean up packages and clean cached files with command in terminal:

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

      press Enter to confirm operations

  5. Adjust keyboard settings
    Ibus keyboard supports entering hieroglyphs using standard keyboard. It interferes with hot-keys for applications.
    To disable Ibus:
    1. select menu Preferences — Input method and press button to disable Ibus.
      or

    2. Uninstall ibus package at all, by entering command

      sudo apt-get purge ibus
  6. Install LibreOffice software suite by entering command:

    sudo apt-get install libreoffice
  7. Associate office documents with LibreOffice:
    1. Select Start — Settings — Default applications for LXSession and open Launching applications
    2. Select LibreOffice Writer for Document, and LibreOffice Calc for Spreadsheet
  8. Add other workstation additions, if necessary

Install development tools

  1. Install Eclipse IDE and Maven building tool with command:

    sudo apt-get install eclipse maven

    help Check that mvn -version command returns info about maven

  2. For more info look at:
    1. Eclipse uz Linux
    2. Noderīgas Ubuntu Linux komandas

Atpakaļ
Java Bootcamp
Tālāk
2. Preparation of Java project
Tagi:
Izveidojis Valdis Vītoliņš 2017-01-03 10:07
Pēdējais mainījis Valdis Vītoliņš 2017-06-25 00:51
 
Xwiki Powered
Creative Commons Attribution 3.0 Unported License