User Tools

Site Tools


day_1_2_and_3

This is an old revision of the document!


Tasks

Day 1 Tasks

1.1 Day 1

 Introduction to Free Software (Philosphy).
  Nomenclature: Gnu/Linux, Free Software, Kernel, Freeware.
  What is Distro ? Difference between different distributions like debian,swecha,eswecha,fedora,android etc..
  Installation of Gnu/Linux( Debian)
      BIOS
      Boot Order( Boot files and boot order of Gnu/Linux )
      Partition of disk
      Grub

1.1.1 Exercises

  A one page write up contrasting atleast 4 different Free/Libre/Opensource licenses (Clue: GPLv2,GPLv3,Apache,Mozilla)
  Get to know different families of GNU/Linux distros. Debian family, RedHat family, Rolling release distributions like Arch, Gentoo, Slackware. (Clue: http://distrowatch.com)
  Differences between micro-kernel and monolithic kernel
  Analyzing BIOS with multiple options it has
  After installation play around with the boot order, increase and decrease boot time. Write down the observations
  Please explain network installation
  Please explain an end to end process of installing GNU/Linux using a flash drive
  Do you notice any difference in the speed and performance of different installation methods? If so, what are they and explain why do those differences occur?
  What is the signicnce of "hostname" to a computer? How do you comission one? i.e. during the installation or later?
  What is the domain name and how is it important?
  How are hostname and ip address related to each other?
  What is a DNS/Nameserver IP address?
  Imagine a new user being created on a GNU/Linux computer. Please explain the file system in context to this user and how can he utilise the filesystem and suggest a best way of organising his files in pre-existing folders in the operating system.
  Now that you have understood kernel and the operating system, Consider that a pen drive with audio/video files is given to you please describe in a flow chart the process of accessing it and listening to the music or watching videos in the context of kernel and user/application space. (please read about kernel space and user space if you haven't understood ro ask a mentor)
  Please write 3 case studies involving different operations you do using a computer and explain in the context of kernel space and user space
  Use different kinds of filesystems while installing and observe the differences in speeds, io operations, encryptions. 
  If installation is possible at your labs try installing employing the following partitioning scheme. /boot-200MB, /tmp-2GB, /-10GB, /home-remainig
  Learn to create a partition and format it using any of the filesystems
  Experiment with different file systems(ext3,ext4,reiserfs,xfs)
  Change the boot timing in Grub
  Change default entry in Grub2(Clue: /etc/grub.d)
  Install GNU/Linux as a dual boot operating system in a computer with windows pre installed.
  Imagine windows is installed in free partition in a computer with GNU/Linux pre-installed in it. And after restarting the computer it direclty booted into windows. Please explain what happened and how to get to boot into GNU/Linux again?
  Why is it advised to install GNU/Linux later for dual boot scenarios? Is this a short coming of GNU/Linux or the other operating systems?
  Make a USB device as a bootable installation media
  If possible try installing GNU/Linux into a USB media and store files in it. Boot using it in another computer and observe the persistence of files.
  What are device drivers?
  What is needed to make a printer,scanner ready with a GNU box?
  
  Restore Grub2
  Different methods of installation (Clue: CD, USB, Network)

Day 2 Tasks

1.2 Day 2

  Desktop Environments like Gnome, gnome-shell, KDE.
  Basic Administration
      File system hierarchy( /etc, /proc etc..)
      User management ( user, superuser)
      Network Configuration using network-manager.
  Package Management
      Installation of packages using apt-get and synaptic
      Debian mirrors, sections of packages main,contrib,non-free.
      .deb files and how to install them.
      Installation using source files.( configure;make;make install idiom)
  Free Software Equivalents
      Office Suite
      Gimp, Blender
      Vlc, firefox etc..

1.2.1 Exercises

Basic
      Install KDE
      Install LXDE with LXDM
      Assign static IP address by editing the relevant file (Clue: etc/network….)
      Add a user and assign him to be a sudoer
      Change to the DNS to use google's DNS
      Get the details of the CPU, RAM, Pid, using files beneath /proc
      Check the message log of the computer (Clue: /var)
      Modify the index.html to reflect http://localhost
      Partition your USB disk with ext4 filesystem (Clue: fdisk, cfdisk)
      Use apt to install "sl" and use synaptic to uninstall it
      Change the repository to use Indian mirror(IITM)
      Download any .deb package of your choice and install using dpkg
      List out all the packages installed onto the system
Advanced
      Install Openbox with Slim
      Remove Slim and replace it with xdm
      Configure the following shortcuts in Openbox environment
      Keybinding	Application
      Win+f	Iceweasel
      Win+t	Terminator
      Win+v	VLC Media Player
      Install tint2 and use it as a panel
      Replicate Alt+F2 functionality as in gnome ( Clue: gmrun)
      Create a symlink of all hidden files to the folder "dotfiles" and copy them to the other computer
      Create a user with his home directory to be stored under /home2
      Change the apache root to /home/user/site
      Insert the USB disk and record the changes that happen to the dbus into a text file
      Run iceweasel ; print the pid of iceweasel (Note: Only Pid nothing else. Eg: 14321)
      Close iceweasel using a single command using its pid
      Make a text file which has a line by line list of all package names installed in the system
      Download xmoto source code and install it by compiling the sources
      Download latest linux kernel and compile it

Day 3 Tasks

       1. Install Code::Blocks, Java, Eclipse, BOUML, Bluefish, MySql(If not installed), MySQL Workbench
       Problem : Design and Implement a solution for 
          a) Accepting workshop registration parameters like name,age,college etc
          b) Converting centigrade to fahrenhiet and vice versa
       2. Implement the above problems by using GCC. Debug it with GDB
       3. Implement the above problems by using Code::Blocks. Also, Debug it using the integrated debugger.
       4. Write programs in Java  for implementing the above problems. Edit, Compile, Run & Debug using Eclipse
       5. Do the following with eclipse
       a) Edit standard templates 
       b) Generate Constructors, Getters/Setters
       c) Refactor some variables
       d) Observe Call/Type Hierarchies 
       e) Generate Javadoc
       6. Install the WindowBuilder plugin in Eclipse
       7. Do task 4 graphically. Use the WindowBuilder Plugin
       8. Design UML Diagrams of the Problems
       9. Design a MySQL database for the registration parameters. Use the console
      10. View the data in the database using the MySQL workbench.
      11. Design HTML+CSS pages for the forms
day_1_2_and_3.1369896216.txt.gz · Last modified: 2018/03/24 11:13 (external edit)