Basic GNU/Linux Operating System, February 2010

Total Page:16

File Type:pdf, Size:1020Kb

Basic GNU/Linux Operating System, February 2010 Basic GNU/Linux PID_00148393 GNUFDL • PID_00148393 Basic GNU/Linux © 2009, FUOC. Se garantiza permiso para copiar, distribuir y modificar este documento según los términos de la GNU Free Documentation License, Version 1.2 o cualquiera posterior publicada por la Free Software Foundation, sin secciones invariantes ni textos de cubierta delantera o trasera. Se dispone de una copia de la licencia en el apartado "GNU Free Documentation License" de este documento. GNUFDL • PID_00148393 Basic GNU/Linux Index 1. Introduction........................................................................................ 7 1.1. What is GNU? ............................................................................. 7 1.2. What is GNU/Linux? .................................................................. 9 1.3. Distributions ................................................................................ 11 1.4. Programs and documentation .................................................... 13 2. Basic concepts and commands ...................................................... 17 2.1. Introduction ................................................................................ 17 2.2. Users and groups ......................................................................... 17 2.3. The file system ............................................................................ 22 2.3.1. The file system hierarchy .............................................. 22 2.3.2. System directories .......................................................... 24 2.3.3. Moving about ................................................................ 25 2.3.4. Links ............................................................................... 26 2.3.5. Permissions .................................................................... 27 2.3.6. Handling, patterns and searches ................................... 29 2.3.7. File type and content .................................................... 30 2.4. The processes ............................................................................... 31 2.5. Other useful commands ............................................................. 34 2.5.1. System help .................................................................... 34 2.5.2. Packaging and compression .......................................... 35 2.5.3. Disk operations .............................................................. 36 2.6. Operations with commands ....................................................... 39 2.6.1. Reroutings ...................................................................... 39 2.6.2. Specific bash commands ............................................... 40 2.6.3. Shell scripts with bash ................................................... 42 3. Knoppix workshop............................................................................ 44 3.1. Introduction ................................................................................ 44 3.2. System boot ................................................................................. 45 3.3. Stop system ................................................................................. 48 3.4. Keyboard configuration .............................................................. 48 3.5. System inspection ....................................................................... 52 3.6. Handling files and directories ..................................................... 57 3.7. User administration .................................................................... 62 3.8. Manage processes ........................................................................ 65 3.9. Enabling and using the mouse ................................................... 67 3.10. Other operations ......................................................................... 68 3.11. Conclusion .................................................................................. 69 4. GNU/Linux installation.................................................................... 70 4.1. Introduction ................................................................................ 70 GNUFDL • PID_00148393 Basic GNU/Linux 4.2. Booting ........................................................................................ 70 4.3. Partitioning the disk ................................................................... 71 4.4. Installation of modules ............................................................... 73 4.5. Basic network configuration ....................................................... 74 4.6. Boot system ................................................................................. 75 4.7. Package selection ......................................................................... 75 4.8. Other aspects ............................................................................... 76 5. Debian Etch installation workshop.............................................. 77 5.1. Introduction ................................................................................ 77 5.1.1. Installation systems ....................................................... 79 5.1.2. Types of packages .......................................................... 81 5.1.3. Package development status .......................................... 81 5.2. Installation of Debian Etch ........................................................ 82 5.2.1. Debian Etch flavours ..................................................... 82 5.2.2. Installing Debian GNU/Linux 4.0 For Intel x86 ............ 83 5.3. Installation of Debian Etch from DVD-ROM ............................. 83 5.3.1. Before starting the installation ...................................... 83 5.3.2. Booting the installation system .................................... 84 5.3.3. Installation language configuration .............................. 88 5.3.4. Keyboard configuration ................................................. 89 5.3.5. Detecting and mounting the CD-ROM ......................... 90 5.3.6. Network configuration .................................................. 91 5.3.7. Hard disk partition ........................................................ 93 5.3.8. Time configuration ........................................................ 98 5.3.9. Configuring users and passwords .................................. 99 5.3.10. Base system installation ................................................ 103 5.3.11. Configuring the package manager ................................ 104 5.3.12. Selecting and installing programs ................................. 105 5.3.13. GRUB installation .......................................................... 105 5.3.14. Reinitiating the system .................................................. 105 5.3.15. Base system boot ........................................................... 105 5.3.16. apt configuration ........................................................... 106 5.3.17. Tasksel ............................................................................ 108 5.4. Network installation of Debian Etch .......................................... 111 5.4.1. Particularities of a network installation ........................ 111 5.4.2. Aspects common to the different methods of installation ..................................................................... 111 5.4.3. Network module installation ........................................ 112 5.4.4. Network configuration .................................................. 113 5.4.5. apt configuration ........................................................... 113 5.5. Conclusion .................................................................................. 114 6. Basic configurations......................................................................... 115 6.1. The login system ......................................................................... 115 6.2. Exploring the bash ...................................................................... 116 6.3. The boot system .......................................................................... 118 GNUFDL • PID_00148393 Basic GNU/Linux 6.3.1. Grub ............................................................................... 119 6.4. Access to other partitions and devices ....................................... 121 6.5. Device configuration ................................................................... 124 6.5.1. The keyboard ................................................................. 124 6.5.2. Network card (Ethernet type) ........................................ 126 6.5.3. WiFi card ........................................................................ 128 6.5.4. Modems .......................................................................... 129 6.5.5. ADSL and PPPoE ............................................................ 130 6.5.6. Soundcard ...................................................................... 131 6.5.7. Printer ............................................................................ 131 7. Daemons and runlevels.................................................................... 133 7.1. The daemons ............................................................................... 133 7.2. The runlevels ............................................................................... 136 7.3. Booting up the system ................................................................ 138 7.4. Basic daemons ............................................................................. 138
Recommended publications
  • Linux on a Stick Everyone Knows You Can Boot Linux from a Live CD, but Have You Thought About Putting Linux on a Compact and Highly Portable USB
    KNOW HOW Memory Stick Linux Booting Linux from a USB Memory Stick Linux on a Stick Everyone knows you can boot Linux from a live CD, but have you thought about putting Linux on a compact and highly portable USB memory stick? BY FABRIZIO CIACCHI bootable “live” CD like Knoppix much more common. Part of our pur- ent from DSL, but it includes more [1] or Kanotix [2] gives the user a pose is to create an inexpensive system, software (about 14 MB plus), and it Afully portable operating environ- so I will base this discussion on the stan- has already been refined and tested for ment. You can carry your system with dard and very common 128 MB size. USB devices. you and boot it from anywhere. However, the procedure I describe in this • Flonix [8]: Flonix is also based on Your tools, your files, and your work- article can also be used to put a larger DSL, but it uses some different pro- space will follow you wherever you go – Knoppix-based distribution on a larger grams (for instance, IceWM instead even to another PC with a different USB memory stick. of Fluxbox). The Flonix project also operating system. Live CDs are also used Assuming you want room to work and introduced a useful web install by system administrators for trouble- store documents, it is a good idea to only process. Ultimately, Flonix was so shooting computers that won’t boot use half of the available space (64 MB) successful that it become a commer- normally. for the Linux system and related tools.
    [Show full text]
  • Gnucash Set up Return Address for Invoices
    Gnucash Set Up Return Address For Invoices Argentine Simeon never glides so equanimously or sheds any Ghanaians ever. Adger remains true-born after Matthaeus callouses appeasingly or sculpsit any quadrate. Lightfast and unplanned Sergio always set-ups westerly and sugar-coat his peevishness. There is stored in a great article helpful whencreating invoices customer accounts? We will refer back on a good idea of account register with a customer list of an existing application settings are used when bill planning to! You have in transfer money from a report options window are outlined below is there are enabled if your previous commands start with a new button at a methodology which payments. Pacesetters may require you return after microsoft windows build a small business address will get or vat. This may be much everyone for returnable, return user to determine aging report defaults. Create a trick that combines an easy-to-use access-based front-end using. This may go quickly access keys, you refer back on credit purchases such as well as a variety of various tax. With the amount data file one feature to your bank, how much more information you can read it can. The settings for crates that pay. Url tab open a set up on gnucash to address details are looking for credit others who use a qif files described here? Cash you can view and memo is free accounting equation, spanish and these stock with svn using lots sorting and break functionality allows you are not. After creating a document itself, gnucash so if a warning messages because my gnucash set up return address for invoices you.
    [Show full text]
  • Community Notebook
    Community Notebook Free Software Projects Projects on the Move Are you ready to assess your assets and limit your liabilities? Or maybe you just want to find out where your money goes. This month we look at Grisbi, GnuCash, and HomeBank finance managers. By Rikki Endsley his time, it’s personal. My current system of logging into my bank ac- count to see whether my magical debit card still works isn’t working for me, so I’ve decided to test drive some open source finance managers: T Grisbi, GnuCash, and HomeBank. Grisbi First released in French in 2000, the Grisbi accounting program is now available nobilior, 123RF in several languages and runs on most operating systems. To download Grisbi, visit the project’s SourceForge page [1] or homepage [2]. The install and con- figuration is intuitive – select your country and currency, the list of “categories” you’ll use (either a standard category set or an empty list with no categories defined yet), add bank details, and then create a new account from scratch or import data RIKKI ENDSLEY from an online bank account or accounting software. I opted to create a new bank ac- count. Other options include a cash account, liabilities account, or assets account Rikki Endsley is a freelance writer and the community manager for USENIX. In (Figure 1). addition to Linux Magazine and Linux After you set up your account, a window with transactions and properties opens Pro Magazine, Endsley has been (Figure 2). Here you can enter, view, and reconcile transactions; adjust your bank de- published on Linux.com, NetworkWorld.
    [Show full text]
  • Linux on the Road
    Linux on the Road Linux with Laptops, Notebooks, PDAs, Mobile Phones and Other Portable Devices Werner Heuser <wehe[AT]tuxmobil.org> Linux Mobile Edition Edition Version 3.22 TuxMobil Berlin Copyright © 2000-2011 Werner Heuser 2011-12-12 Revision History Revision 3.22 2011-12-12 Revised by: wh The address of the opensuse-mobile mailing list has been added, a section power management for graphics cards has been added, a short description of Intel's LinuxPowerTop project has been added, all references to Suspend2 have been changed to TuxOnIce, links to OpenSync and Funambol syncronization packages have been added, some notes about SSDs have been added, many URLs have been checked and some minor improvements have been made. Revision 3.21 2005-11-14 Revised by: wh Some more typos have been fixed. Revision 3.20 2005-11-14 Revised by: wh Some typos have been fixed. Revision 3.19 2005-11-14 Revised by: wh A link to keytouch has been added, minor changes have been made. Revision 3.18 2005-10-10 Revised by: wh Some URLs have been updated, spelling has been corrected, minor changes have been made. Revision 3.17.1 2005-09-28 Revised by: sh A technical and a language review have been performed by Sebastian Henschel. Numerous bugs have been fixed and many URLs have been updated. Revision 3.17 2005-08-28 Revised by: wh Some more tools added to external monitor/projector section, link to Zaurus Development with Damn Small Linux added to cross-compile section, some additions about acoustic management for hard disks added, references to X.org added to X11 sections, link to laptop-mode-tools added, some URLs updated, spelling cleaned, minor changes.
    [Show full text]
  • Studying the Real World Today's Topics
    Studying the real world Today's topics Free and open source software (FOSS) What is it, who uses it, history Making the most of other people's software Learning from, using, and contributing Learning about your own system Using tools to understand software without source Free and open source software Access to source code Free = freedom to use, modify, copy Some potential benefits Can build for different platforms and needs Development driven by community Different perspectives and ideas More people looking at the code for bugs/security issues Structure Volunteers, sponsored by companies Generally anyone can propose ideas and submit code Different structures in charge of what features/code gets in Free and open source software Tons of FOSS out there Nearly everything on myth Desktop applications (Firefox, Chromium, LibreOffice) Programming tools (compilers, libraries, IDEs) Servers (Apache web server, MySQL) Many companies contribute to FOSS Android core Apple Darwin Microsoft .NET A brief history of FOSS 1960s: Software distributed with hardware Source included, users could fix bugs 1970s: Start of software licensing 1974: Software is copyrightable 1975: First license for UNIX sold 1980s: Popularity of closed-source software Software valued independent of hardware Richard Stallman Started the free software movement (1983) The GNU project GNU = GNU's Not Unix An operating system with unix-like interface GNU General Public License Free software: users have access to source, can modify and redistribute Must share modifications under same
    [Show full text]
  • Part II, Window Managers and Desktop Environments
    Part II Window Managers and Desktop Environments The window manager is responsible for managing application windows and application- independent behavior, such as pop-up menus appearing in the background. The window manager manages the placement, borders, and decorations of all windows, and is responsible for the look and feel of your particular X session. Desktop environments typically include an integrated window manager, some sort of control panel, applications, and a consistent look and feel across applications. The chapters in Part II, Window Managers and Desktop Environments, are: Overview This chapter provides a conceptual introduction to window managers and desktop environments and briefly surveys some of the many window managers and desktop environments available for Linux. FVWM FVWM is a traditional window manager for Linux systems. It is now into its second major version, FVWM2. Window Maker Window Maker is an elegant X11 window manager designed to give integration support to GNUstep-based applications. It emulates the look and feel of OpenStep, the NeXTSTEP GUI. Enlightenment Enlightenment, often shortened to just E, may be the most elaborate and bizarre window manager available. Enlightenment’s motto, “time to rethink everything,” provides a good indication of the uniqueness and flashiness behind Enlightenment. Using GNOME GNOME, which stands for GNU Network Object Model Environment, is a freely available desktop environment that can be used with any of several window managers, including Enlightenment and Sawfish. Using KDE KDE, the K Desktop Environment, is another freely available desktop environment. KDE includes an assortment of games and utilities, as well as an integrated suite of office productivity applications..
    [Show full text]
  • PROTECTIVE CUSTODY NEEDS ASSESSMENT/\L\Fjuvier REGISTER NUMBER HOUSING UNIT DATE INMATE NAME
    STAIE OF MISSOURI DEPARTMENT OF CORRECTIONS NAME OF INSTITUTION ~ PROTECTIVE CUSTODY NEEDS ASSESSMENT/\l\fJUVIER REGISTER NUMBER HOUSING UNIT DATE INMATE NAME - I have been interviewed this date to determine my protective custody needs. The following statement which I have checked and initialed clearly indicates my need or lack of need for protective custody. CHECK -I INITIALS STATEMENT I do not feel that I need protective custody. I am not aware of any enemies among the inmate population, and do not believe I am in any danger. Because of enemies in the general population I am requesting protective custody for the present time. See attached Enemy Listing (MO 931-35"11). The circumstances or persons which cau:Sed me to request protective custody are no longer present in this institution. I therefore request to be released from protective custody back to general population. I assume full responsibility for my safety. I request release from protective custody status upon my transfer to l To my knowledge I have no enemies in the population at the above named institution and I will be able to live in its general population. INMATE SIGNATURE REGISTER NUMBER DATE -. STAFF WITNESS SIGNATU RE TITLE DATE STAFF WITNESS SIGNATURE TITLE DATE I HAVE REVIEWED THE ABOVE REQUEST AND IT IS D APPROVED D DENIED Sl~NATURE OF INSTITUTIONALHEAD DATE MO 931 ·3564 (10·90) DISTRIBUTION: WHITE-CLASSIFICATl(JN FILE : CANARY-INMATE STATE OF MISSOURI FACILITY DEPARTMENT OF CORRECTIONS AREA OFFENDER SAFETY RULES - MACHINE/EQWPMENT OFFENDER NAME (PRINT) DOC NUMBER MACHINE/EQUIPMENT I agree that I will not operate any machinery or equipment until I have been fully trained by a qualified instructor on the machine or equipment's use, cleaning, safety features, care maintenance and authorized to use the machine or equipment.
    [Show full text]
  • Fall 2021 CE Catalog
    FALL 21 REGISTRATION Continuing BEGINS AUG 9 EducationCOMMUNITY CLASSES FOR ALL AGES & STAGES OF LIFE INSIDE: Computers | 14 Culinary | 28 World Languages | 42 … and many more! stlcc.edu/CE | 314-984-7777 NEW to the Lineup Conflict Management Build effective work relationships and help resolve conflicts as a team member. | page 5 Fresh Floral Arrangement Design balanced, eye-catching floral arrangements alongside fellow crafters. | page 26 World Languages: Swahili Challenge your mind and explore other cultures through the study of language. | page 45 Animal Spirit Allies: Shamanic Perspective Learn about the mystery of animal spirits and how you can connect with the animal kingdom. | page 51 2 STLCC.EDU/CE | 314-984-7777 | REGISTRATION BEGINS AUG. 9 Fall 2021 Continuing Education Courses St. Louis Community PROFESSIONAL DEVELOPMENT PERSONAL ENRICHMENT College expands minds and Essentials Training .................................... 5 Ageless Learning Seminars ..................... 21 changes lives every day Professional Essentials ................................5 Creative Arts ............................................ 23 Small Business Essentials ...........................6 Fine Arts ......................................................23 by offering high-quality Career Essentials..........................................7 Crafts ...........................................................24 educational experiences Career Studies ......................................... 10 Culinary .......................................................28
    [Show full text]
  • Building a Beowulf Cluster
    Building a Beowulf cluster Åsmund Ødegård April 4, 2001 1 Introduction The main part of the introduction is only contained in the slides for this session. Some of the acronyms and names in this paper may be unknown. In Appendix B we includ short descriptions for some of them. Most of this is taken from “whatis” [6] 2 Outline of the installation ² Install linux on a PC ² Configure the PC to act as a install–server for the cluster ² Wire up the network if that isn’t done already ² Install linux on the rest of the nodes ² Configure one PC, e.g the install–server, to be a server for your cluster. These are the main steps required to build a linux cluster, but each step can be done in many different ways. How you prefer to do it, depends mainly on personal taste, though. Therefor, I will translate the given outline into this list: ² Install Debian GNU/Linux on a PC ² Install and configure “FAI” on the PC ² Build the “FAI” boot–floppy ² Assemble hardware information, and finalize the “FAI” configuration ² Boot each node with the boot–floppy ² Install and configure a queue system and software for running parallel jobs on your cluster 3 Debian The choice of Linux distribution is most of all a matter of personal taste. I prefer the Debian distri- bution for various reasons. So, the first step in the cluster–building process is to pick one of the PCs as a install–server, and install Debian onto it, as follows: ² Make sure that the computer can boot from cdrom.
    [Show full text]
  • GNU Octave Beginner's Guide
    GNU Octave Beginner's Guide Become a profcient Octave user by learning this high-level scientfc numerical tool from the ground up Jesper Schmidt Hansen BIRMINGHAM - MUMBAI GNU Octave Beginner's Guide Copyright © 2011 Packt Publishing All rights reserved. No part of this book may be reproduced, stored in a retrieval system, or transmited in any form or by any means, without the prior writen permission of the publisher, except in the case of brief quotatons embedded in critcal artcles or reviews. Every efort has been made in the preparaton of this book to ensure the accuracy of the informaton presented. However, the informaton contained in this book is sold without warranty, either express or implied. Neither the author, nor Packt Publishing, its dealers, and distributors will be held liable for any damages caused or alleged to be caused directly or indirectly by this book. Packt Publishing has endeavored to provide trademark informaton about all of the companies and products mentoned in this book by the appropriate use of capitals. However, Packt Publishing cannot guarantee the accuracy of this informaton. First published: June 2011 Producton Reference: 2150611 Published by Packt Publishing Ltd. 32 Lincoln Road Olton Birmingham, B27 6PA, UK. ISBN 978-1-849513-32-6 www.packtpub.com Cover Image by John Quick ([email protected]) Credits Author Project Coordinator Jesper Schmidt Hansen Joel Goveya Reviewers Proofreaders Piotr Gawron Lesley Harrison Kenneth Geisshirt Clyde Jenkins Jordi Gutérrez Hermoso Lynda Sliwoski Acquisiton Editor Indexers Usha Iyer Hemangini Bari Tejal Daruwale Development Editor Monica Ajmera Mehta Roger D'souza Graphics Technical Editor Nilesh R.
    [Show full text]
  • Employees' Reactions to Their Own Gossip About Highly
    BITING THE HAND THAT FEEDS YOU: EMPLOYEES’ REACTIONS TO THEIR OWN GOSSIP ABOUT HIGHLY (UN)SUPPORTIVE SUPERVISORS By JULENA MARIE BONNER Bachelor of Arts in Business Management and Leadership Southern Virginia University Buena Vista, VA 2007 Master of Business Administration Oklahoma State University Stillwater, Oklahoma 2012 Submitted to the Faculty of the Graduate College of the Oklahoma State University in partial fulfillment of the requirements for the Degree of DOCTOR OF PHILOSOPHY July, 2016 BITING THE HAND THAT FEEDS YOU: EMPLOYEES’ REACTIONS TO THEIR OWN GOSSIP ABOUT HIGHLY (UN)SUPPORTIVE SUPERVISORS Dissertation Approved: Dr. Rebecca L. Greenbaum Dissertation Adviser Dr. Debra L. Nelson Dr. Cynthia S. Wang Dr. Isaac J. Washburn ii ACKNOWLEDGEMENTS The road to completing this degree and dissertation has been a long, bumpy one, with plenty of ups and downs. I wish to express my gratitude to those who have helped me along the way. Those who provided me with words of encouragement and support, those who talked me down from the ledge when the bumps seemed too daunting, and those who helped smooth the path by taking time to teach and guide me. I will forever be grateful for my family, friends, and the OSU faculty and doctoral students who provided me with endless amounts of support and guidance. I would like to especially acknowledge my dissertation chair, Rebecca Greenbaum, who has been a wonderful mentor and friend. I look up to her in so many ways, and am grateful for the time she has taken to help me grow and develop. I want to thank her for her patience, expertise, guidance, support, feedback, and encouragement over the years.
    [Show full text]
  • Université De Montréal Context-Aware
    UNIVERSITE´ DE MONTREAL´ CONTEXT-AWARE SOURCE CODE IDENTIFIER SPLITTING AND EXPANSION FOR SOFTWARE MAINTENANCE LATIFA GUERROUJ DEPARTEMENT´ DE GENIE´ INFORMATIQUE ET GENIE´ LOGICIEL ECOLE´ POLYTECHNIQUE DE MONTREAL´ THESE` PRESENT´ EE´ EN VUE DE L'OBTENTION DU DIPLOME^ DE PHILOSOPHIÆ DOCTOR (GENIE´ INFORMATIQUE) JUILLET 2013 ⃝c Latifa Guerrouj, 2013. UNIVERSITE´ DE MONTREAL´ ECOLE´ POLYTECHNIQUE DE MONTREAL´ Cette th`ese intitul´ee: CONTEXT-AWARE SOURCE CODE IDENTIFIER SPLITTING AND EXPANSION FOR SOFTWARE MAINTENANCE pr´esent´eepar: GUERROUJ Latifa en vue de l'obtention du dipl^ome de: Philosophiæ Doctor a ´et´ed^ument accept´eepar le jury d'examen constitu´ede: Mme BOUCHENEB Hanifa, Doctorat, pr´esidente M. ANTONIOL Giuliano, Ph.D., membre et directeur de recherche M. GUEH´ ENEUC´ Yann-Ga¨el, Ph.D., membre et codirecteur de recherche M. DESMARAIS Michel, Ph.D., membre Mme LAWRIE Dawn, Ph.D., membre iii This dissertation is dedicated to my parents. For their endless love, support and encouragement. iv ACKNOWLEDGMENTS I am very grateful to both Giulio and Yann for their support, encouragement, and intel- lectual input. I worked with you for four years or even less, but what I learned from you will last forever. Giulio, your passion about research was a source of inspiration and motivation for me. Also, your mentoring and support have been instrumental in achieving my goals. Yann, your enthusiasm and guidance have always been a strength for me to keep moving forward. Research would not be as much fun without students and researchers to collaborate with. It has been a real pleasure and great privilege working with Massimiliano Di Penta (University of Sannio), Denys Poshyvanyk (College of William and Mary), and their teams.
    [Show full text]