BBI Laptop configuration

You are here

Category: 
Working environment and teaching support
For: 
Student

Compatible Laptop requirements

  • minimum requirements

    • 8Gb RAM
    • processor 4 cores (Intel i5, AMD Ryzen 5)
    • 256Gb hard disk
  • recommended requirements
    • 16Gb RAM
    • processor 8 cores (Intel i7, AMD Ryzen 7)
    • 512Gb hard disk

Installing Linux VM (introductory session)

  1.  Download and install VirtualBox:   https://www.virtualbox.org/wiki/Downloads
  2.  Download and install VirtualBox Extension Pack:   https://www.virtualbox.org/wiki/Downloads
  3.  Download file OpenSuse.zip:     https://softdocencia.fib.upc.edu/OpenSuse.zip
  4.  Unzip downloaded OpenSuse.zip (right-click, and select "extract all")     This will create a folder "OpenSuse" containing two files:     `OpenSuse.ova README.txt`
  5.  From VirtualBox, select *File* -> *Import Appliance*     And choose the OpenSuse.ova file extracted from the zip
  6.  From VirtualBox, select *OpenSuse* Virtual Machine.
        - On the right hand side list, select *shared folders*
        - Right-click folder *Windows* and select *edit shared folder*
        - Remove `/your-windows-share` from *Folder Path*. Select *other* and navigate to your home windows folder (something like `C:\\Users\\yourname`)
        - Make sure *Auto-mount* is checked.
        - Click *OK*, *accept*, etc until you get back to main screen
  7.  From VirtualBox, select *OpenSuse* VM and click *Start*      When the boot menu appears, hit <enter> (mouse is not active yet)
  8.  Stop OpenSuse (open the Virtual Machine bottom-left menu, select *shut down*)
  9.  Start OpenSuse again (as in step 7).     In folder *Home* -> *Windows* you should see your windows folder contents.
  10.  If the VM is working, you can remove files `OpenSuse.ova` and `OpenSuse.zip`

Inside Linux

The default user is called `user`. It will login at start.
The password is: `Programming-101`
To change the password, open a terminal and write `passwd`

The `root` user (Linux administrator) has the same password.
To change the root password, open a terminal and write `sudo passwd`

If your mouse gets "trapped" inside the VM, hit the *control* key in the *right hand side* of the keyboard. In VirtualBox menu, select *Input* -> *Mouse integration*, and you should be able to smoothly move the mouse inside/outside of the VM.

The folder *windows* in your Linux home will give access to the shared folder in your windows host system. Anything you store there will be accessible from both systems.

 

macOS requirements

  • minimum requirements

    • 8Gb RAM
    • processor 8 cores (M2)
    • 256Gb hard disk
  • recommended requirements
    • 16Gb RAM
    • processor 8 cores (M2)
    • 512Gb hard disk

Installing Linux VM (introductory session)

  1.  Download and install UTM: https://mac.getutm.app
  2.  Download OpenSuse installation image:  https://get.opensuse.org/tumbleweed/#download
  3.  Start UTM
  4.  Click "+" to create a new virtual machine
  5.  Select _Linux_
  6.  Select downloaded OpenSuses image as _Boot ISO image_. Leave al checkboxes unchecked.
  7.  Select Memory size 4096Mb, number of CPUs 2 (you can assign the VM more RAM or CPUs as long as you don't use more than half the amount existing in your computer)
  8.  Select shared folder: browse to your macOS home folder
  9.  Summary: Set a name for the VM (e.g. _OpenSuse_)
  10.  Start the VM and follow OpenSuse installer instructions

Once OpenSuse is installed

  1. Start VM
  2. Open a terminal
  3. Install modules needed for AP1
    sudo pip3 install yogi pytokr --break-system-packages
    sudo pip3 cache purge
    
  1. Install software needed for CAOS
    sudo zypper install hwloc htop
    sudo zypper install code thonny
    sudo zypper clean
  1. Enable access to shared folders
    sudo usermod –aG vboxfs $USER

IT Support

Let us know incidences, doubts, recommendations or topics you think you hace a lack of information or more IT resources that could be made to facilitate to follow teaching at FIB.

IT FIB support