ubuntu for extreme beginners

22
www.iita.org Ubuntu for extreme beginners Matija Obreza, Software Development Service

Upload: international-institute-of-tropical-agriculture

Post on 11-May-2015

1.500 views

Category:

Technology


1 download

DESCRIPTION

what is ubuntu,ubuntu desktop,applications,installation,software alternatives

TRANSCRIPT

Page 1: Ubuntu for extreme beginners

www.iita.org

Ubuntu for extreme beginners

Matija Obreza, Software Development Service

Page 2: Ubuntu for extreme beginners

www.iita.org

Session overview

• Duration: 2h– Presentation– Hands-on training

• What is Ubuntu

• Ubuntu desktop

• Applications

• Installing software

• Software alternatives

• Installation

Page 3: Ubuntu for extreme beginners

www.iita.org

Ubuntu

• Is an operating system– What?– DOS: Disk Operating System

• Is a distribution of GNU/Linux– http://www.linuxfromscratch.org/– Distribution?

• Is a variant of Debian distribution– Very powerful package management– But focused on end-users– Linux for masses

Page 4: Ubuntu for extreme beginners

www.iita.org

Reasons to use Ubuntu

• Free software, no licensing fees– Free as in freedom, not only free as “free beer”

• Solid alternatives to software you use daily– PDF generation built in– Gimp instead of Adobe Photoshop– OpenOffice.org for MS Office– MonoDevelop instead of MS Visual studio– Eclipse for Java, C, C++ development

Page 5: Ubuntu for extreme beginners

www.iita.org

Ubuntu LiveCD

• Allows to try out Ubuntu

• No changes to existing system

• Ubuntu Desktop edition

• Booting Live CD– ISO → Burn to CD → Boot from CD– ISO → Convert to USB → Boot from USB

• Ubuntu Desktop edition running

• LiveCD does not require login– Username ubuntu, no password

Page 6: Ubuntu for extreme beginners

www.iita.org

Ubuntu Desktop

• Panels

• Applets– Menu bar– Notifications– Window list– Workspaces– Trash– Session indicator

Page 7: Ubuntu for extreme beginners

www.iita.org

Ubuntu desktop basics

• Navigating the desktop– Ubuntu menus– Logout

• File management– Where's my stuff? Places. Home folder.– Nautilus– The rest of the file system

• System– Screen resolution– Network settings with NetworkManager– System configuration and administration

Page 8: Ubuntu for extreme beginners

www.iita.org

Give it a try!

Page 9: Ubuntu for extreme beginners

www.iita.org

Hands-on training

• Boot into Live CD

• Change desktop background to solid color

• Change screen resolution to 800x600 and back

• Create a text file on Desktop

• Find text file using Nautilus

• Browse http://www.iita.org

• Open a MS Word document

• Generate PDF

Page 10: Ubuntu for extreme beginners

www.iita.org

Moving on!

Page 11: Ubuntu for extreme beginners

www.iita.org

Users, groups and permissions

• User accounts

• Groups– Easier permissions management

• Root account– Possibly disabled, must use sudo

• “Root access” to the system means entire access to system

• Act as super-user– Prompted for own password– Must be member of group admin

Page 12: Ubuntu for extreme beginners

www.iita.org

Installing applications

• Ubuntu Software center

• Software sources– Repositories: main,

universe, restricted, multiverse, backports, PPAs

• Installing from shell– aptitude, apt-get

Page 13: Ubuntu for extreme beginners

www.iita.org

The Usual Suspects

• Word processor: OpenOffice.org Writer• Mail client: Evolution• Browser: Firefox• Spreadsheets: OpenOffice.org Calc• Presentations: OpenOffice.org Impress• Bittorrent: Deluge, Transmission• Photo management: F-Spot• Music collection: Rhytmbox

• Live CD has limited number of installed applications

Page 14: Ubuntu for extreme beginners

www.iita.org

Hands-on training

• Add account for yourself to the system

• Switch user

• Try installing an application

• Find other user's home directory with Nautilus

• Protect your home directory (Permissions)

• Switch back to ubuntu user

• Grant yourself system admin rights

• Switch to yourself and install something

Page 15: Ubuntu for extreme beginners

www.iita.org

Shell basics

Page 16: Ubuntu for extreme beginners

www.iita.org

shell

• This is the scary bit

• Can do everything

• Looks like DOS

• “Terminal”

• sudo – do something as super-user

• Most instructions on Internet will involve executing some commands through shell

• Commands: ls, ps, top, cd, pwd, kill, reboot, poweroff, man, cp, mkdir, rmdir

Page 17: Ubuntu for extreme beginners

www.iita.org

Hands-on training: Navigation and files

• Start the terminal

• What's the current directory?

• Create a folder “training”

• Navigate to folder

• Create “README” file in “training” folder

• Create “deleteme.txt” file

• Remove deleteme.txt file

• Wipe “training” folder

• Find help for using command rmdir

Page 18: Ubuntu for extreme beginners

www.iita.org

Hands-on training: aptitude, apt-get

• Launch aptitude– Install “bsdgames” package– Remove “bsdgames” package

• Install “bsdgames” package using apt-get– Find instructions for apt-get– Install the package with apt-get– Remove package with apt-get

• Updating available software– Update with apt-get

Page 19: Ubuntu for extreme beginners

www.iita.org

Hands-on training: Processes

• Using terminal, find running processes with ps command

• Launch gedit from the menu

• Find PID (process ID) of gedit

• Kill gedit process using kill command– Signals: TERM, HUP, KILL, USER1, USER2

Page 20: Ubuntu for extreme beginners

www.iita.org

Ready to install?

Page 21: Ubuntu for extreme beginners

www.iita.org

Installing Ubuntu

• Ubuntu editions– Netbook: for small screen computers– Desktop: no LVM during installation– Server: no GUI during installation

• Installing from CD/DVD– ISO install images, Live CD – Burn and boot from CD

• Installing from USB– Convert ISO to bootable USB– Boot from USB

Page 22: Ubuntu for extreme beginners

www.iita.org

Installation process

• http://www.ubuntu.com/desktop/get-ubuntu

• Follow instructions

• Installation worries– To dual-boot or not to dual-boot– Partitioning

• Dual boot– Separate Windows and Ubuntu partitions– Boot loader (Grub)