Marcelo Schmitt

MAC0472 - Agile Methods Lab - Week 1

In this first week of development the goal was to prepare the environment to make contributions to the Linux kernel.

Warning: This is an old post with potentially outdated information. Read with caution.

To configure the development environment on Ubuntu18 I followed these steps:

  1. Install Qemu:
    sudo apt-get install qemu qemu-kvm libvirt-bin
    
  2. Get the latest ArchLinux version.

  3. Create a virtual HD and boot ArchLinux following the steps on M.Hanny Sabbagh tutorial.

  4. Install ArchLinux on a qemu virtual machine (on a qemu virtual machine (here I had a lot of difficulty and ended up getting a virtual machine with ArchLinux already installed from a friend). Even though, I’ll list here some things I did while trying to install ArchLinux.

    numa máquina virtual do qemu (aqui eu tive bastante dificuldade e acabei por pegar uma máquina virtual com o ArchLinux já instalado de um amigo). Mesmo assim vou listar aqui algumas coisas que eu fiz enquanto tentava instalar o ArchLinux.

    4.1 I followed some of the steps from this video tutorial and from this post though have not completed any of them.

    4.2 Some usefull commands to setup the virtual machine were:

     loadkeys br-abnt2.map.gz
    

    To configure the keyboard to brazilian ABNT2 standard.

     setfont iso02-12x22
    

    To change the shell font size and style so that text gets more readable.

  5. Install and setup vim

    5.1

     sudo apt-get install vim 
    

    5.2 Clone and instala configuration from LAPPIS:

     git clone https://github.com/lappis-tools/lappis_vimrc.git
    
     cd lappis_vimrc/
    
     ./install.sh -i
    

    Edit ~/.vimrc at lines 78 e 79

     elseif match($XDG_CURRENT_DESKTOP, "GNOME") != -1
       set term=xterm-256color
    

    5.3 Find a funny vim tutorial to learn how to user this popular editor. vim-adventures (too bad the full version of it is paid)

  6. Install and configure neomutt e-mail client

    6.1

     apt-get install neomutt
    

    6.2 Get useful configuration files from Rodrigo Siqueira

     wget https://raw.githubusercontent.com/rodrigosiqueira/myConfigFiles/master/roles/neomutt/files/mutt/gmail
     wget https://raw.githubusercontent.com/rodrigosiqueira/myConfigFiles/master/roles/neomutt/files/mutt/mutt-colors-solarized-light-256.muttrc
    

    6.3 Copy the files gmail and mutt-colors-solarized-light-256.muttrc to the mutt configuration directory

     mv gmail ~/.mutt/
     mv mutt-colors-solarized-light-256.muttrc ~/.mutt/
    

    6.4 Edit mutt configuration file with the information from your e-mail account

     vim ~/.mutt/gmail 
    

    6.5 Edit the gmail configuration to enable IMAP access and to enable less secure apps to access your account.