This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
day_1_2_and_3 [2013/05/30 06:43] medhamsh |
day_1_2_and_3 [2013/06/07 10:11] sandeep |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | =====Tasks===== | + | =====Presentations===== |
- | ====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) | + | - {{:sesion1.pdf|}} |
- | Get to know different families of GNU/Linux distros. Debian family, RedHat family, Rolling release distributions like Arch, Gentoo, Slackware. (Clue: http://distrowatch.com) | + | - {{:session_distro.pdf|}} |
- | 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) | + | |
+ | =====Tasks===== | ||
====Day 2 Tasks==== | ====Day 2 Tasks==== | ||
=== 1.2 Day 2 === | === 1.2 Day 2 === | ||
+ | | ||
Desktop Environments like Gnome, gnome-shell, KDE. | Desktop Environments like Gnome, gnome-shell, KDE. | ||
Basic Administration | Basic Administration | ||
File system hierarchy( /etc, /proc etc..) | File system hierarchy( /etc, /proc etc..) | ||
User management ( user, superuser) | User management ( user, superuser) | ||
- | Network Configuration using network-manager. | + | process management |
+ | |||
+ | | ||
Package Management | Package Management | ||
Installation of packages using apt-get and synaptic | 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 === | === 1.2.1 Exercises === | ||
== Basic == | == 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 | ||
+ | Install Any Gnu/Linux OS using Virtual Box. | ||
+ | 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. | ||
+ | Experiment with different file systems(ext3,ext4,reiserfs,xfs) | ||
+ | Practise following commands using various options: | ||
+ | ps, cat, diff, ls, top, htop etc.. | ||
+ | Create 4 partitions in a pendrive using following tools and commands | ||
+ | -fdisk | ||
+ | -gparted | ||
+ | -cfisk | ||
+ | Install following packages: | ||
+ | vlc, gftp, gimp, filezilla using apt-get | ||
+ | What is the command to change the date stamp of a file. | ||
+ | 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. | ||
+ | Change the boot timing in Grub | ||
+ | Change default entry in Grub2(Clue: /etc/grub.d) | ||
+ | Make a USB device as a bootable installation media | ||
+ | Restore Grub2 | ||
+ | |||
+ | |||
== Advanced == | == Advanced == | ||
Line 99: | Line 62: | ||
Download xmoto source code and install it by compiling the sources | Download xmoto source code and install it by compiling the sources | ||
Download latest linux kernel and compile it | Download latest linux kernel and compile it | ||
+ | | ||
+ | == References == | ||
- | + | Installing packages using the apt-get reference http://www.cyberciti.biz/howto/question/linux/apt-get-cheat-sheet.php | |
- | ====Day 3 Tasks==== | + | Basic Linux commands refereces http://www.comptechdoc.org/os/linux/usersguide/linux_ugbasics.html |
- | + | Complete Overview of the File system http://tldp.org/LDP/intro-linux/html/sect_03_01.html | |
- | 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 | + |