Ict@Innovation
Total Page:16
File Type:pdf, Size:1020Kb
Linux Professional Institute Linux Essentials to LPIC-1 LAB Study Guide Manual Developed By: FOSSFA & GIZ Adapted and Published By: IVS Technology Consulting • LPI Approved Training Partner • Pearson Vue Test Center Nigist Towers, 5th Floor © IVS Technology Consulting, 2017 LPIC-2 Lab Study Guide 1 About IVS Technology Consulting IVS Technology Consulting is a company established to bring about a tangible and unbreakable technological transformation in Ethiopia making use of open technologies and providing high impact open solutions. We believe in the appropriateness of Open Source solutions to bridge the gap between the highly growing demand for technology and the need for an end to end support products in Ethiopia. We have so far based our operations on Development, Integration and Training. IVS Technology Consulting is a vibrant Open Source training and Systems Integration company with ample experiences in delivering trainings in Linux Systems Administration LPI-1 and LPI-2, CCNA/P, Oracle, OpenERP Integration and application development. About LPI LPI is committed to providing the IT community with exams of the highest quality, relevance, and accuracy. This commitment requires that our exam development process is highly detailed, participatory, consultative and employs many of the proven techniques used by most other IT certification programs. LPI is a global certification standard and career support organization for open source professionals. With more than 500,000 exams delivered, it’s the world’s first and largest vendor-neutral Linux and open source certification body. LPI has certified professionals in over 180 countries, delivers exams in 9 languages, and has over 400 training partners. Who this guide is for This guide was mainly written for African experts and institutions wanting to become qualified trainers on the subject of Linux system administration. It is geared towards Trainers who want to incorporate FOSS Certification training based on the Linux Professionals Institute (LPI) community certification program into their institution's curriculum and/or developing FOSS Certification training as a new revenue stream. This open training guide provides a structured set of learning modules with learning objectives, key knowledge areas, introductions and concrete learning steps and handouts as well as a module on how to be a FOSS trainer. The guide is therefore is particularly suitable for use in Training- of-Trainers settings and the development of advanced courses within ICT-associations, their member organisations, ICT-training institutions as well as universities. It can be used in tutored learning environments (e.g. 2 weeks courses preparing for the certification exam) as well as other settings such as peer-to-peer learning, self-study, blended learning and e-learning. In addition, any learner anywhere in the world will find this guide useful for study and preparation of © IVS Technology Consulting, 2017 LPIC-2 Lab Study Guide 2 the LPI certification. She or he will learn how to fulfil the first essential steps in becoming a Linux System Administrator charged with installing, supporting, and maintaining Linux-based computer systems. The training guide builds on the Linux Professional Institute (LPI) community Certification as a world- wide recognized distribution-neutral and vendor-neutral standard for evaluating the competency of Linux professionals with the possibility to hold low-cost paper-based examinations. It has three levels. The LPIC-1 (101 and 102 exams) level taught in this guide cover the fundamental Linux system administration skills. Like the LPI curriculum itself, the course is "distribution neutral"; that is, it does not favour a specific Linux distribution. Learners can therefore use this manual not only to pass the LPIC-1 exams but also be in a position to operate a range of different Linux distributions. The detailed objectives of LPI EXAM 101 AND 102 are online at: http://www.lpi.org/eng/certification/the_lpic_program/lpic_1 Learners are expected to have: • Extensive experience (several years) using computers, including a strong knowledge of hardware components and their interaction with basic operating system (OS) components. • A general knowledge of computing and networking basics such as binary and hexadecimal maths, file-system structures, Ethernet and Internet networking operations and hardware, etc. • More than three cumulative months of practical experience using a GNU/Linux, BSD or Unix OS, working at the command-line (in a text terminal or console) either locally or remotely. Those with less experience, however, should not be discouraged from using this guide, if (and only if) they are willing to spend extra time catching up on the prerequisite background skills and knowledge; a challenging task, but not an impossible one. © IVS Technology Consulting, 2017 LPIC-2 Lab Study Guide 3 What you can learn through this guide I) In the LPI 101 module you will learn how to: ◦Install Linux, making appropriate choices for disk partitioning ◦Boot the system, change run levels, shut-down and reboot ◦Work effectively at the shell command prompt ◦Install and manage packages using both RedHat and Debian tools ◦Manage, find, copy, delete, archive and compress files and directories ◦Process text streams using pipes, filters and re-direction ◦Manage processes and modify process execution priorities ◦Search text files with regular expressions and edit files with vi ◦Create partitions and filesystems, and maintain their integrity ◦Control file access permissions II) In the LPI 102 module you will learn how to: ◦Customise the shell and write simple shell scripts ◦Query databases and manipulate data using SQL ◦Install and configure the X server and set up a display manager ◦Manage user accounts and groups ◦Schedule jobs at regular intervals using cron ◦Localise the system for a language other than English ◦Keep your system clock correct ◦Manage printers and printing ◦Understand IP networking and set up a basic network configuration ◦Maintain host security and enable secure login with ssh III) In the “FOSS Trainer” Module you will learn, how to become a trainer in Free and Open Source Software (FOSS): ◦Understand some of the requirements for becoming a FOSS trainer ◦Be able to identify and seize the opportunities that exist for FOSS training as a business ◦Gain the knowledge and skills required to organise and provide FOSS training ◦Appreciate the benefits of peer production of Open Educational Resources and Open Content © IVS Technology Consulting, 2017 LPIC-2 Lab Study Guide 4 Outline and Timeline The modules of the first two chapters are structured closely around the topics in the LPI curriculum. Topics 101, 102, 103 and 104 relate to the LPIC 101 exam. Topics 105 through 110 relate to the LPIC 102 exams. This guide covers all 10 topics. Each sub-topic is assigned a weight. For each exam the total weight is 60. There are 60 questions on each exam, so the weight gives an indication of how many questions you can expect to receive on that topic. This manual covers the new LPI syllabus (as of 2010/2011). It is thus up to date, which also means that it covers the most current issues pertaining to the Linux Operating System. The writers assumed that the learner would be using the Centos 5.0 Operating System. This is because this is a more stable Linux distro that does not change much over the years being a server based distro, as opposed to other distros whose release cycle is faster. The tables below lists the topics and gives their weighting in the LPI certification. The classroom times given for each topic are approximate and are based on a total duration of 40 hours for each course. For page numbers of the topics, please see the full table of content. LPIC 101 Topic Weight Time 101 System Architecture 101.1 Determine and configure hardware settings 2 1h 20m 101.2 Boot the system 3 2h 00m 101.3 Change run levels and shutdown or reboot the system 3 2h 00m 102 Linux installation and package management 102.1 Design hard disk layout 2 1h 20m 102.2 Install a boot manager 2 1h 20m 102.3 Manage shared libraries 1 0h 40m 102.4 Use Debian package management 3 2h 00m 102.5 Use RPM and YUM package management 3 2h 00m 103 GNU and Unix Commands 103.1 Work on the command line 4 2h 40m 103.2 Process text streams using filters 3 2h 00m 103.3 Perform basic file management 4 2h 40m 103.4 Use streams, pipes and redirects 4 2h 40m 103.5 Create, monitor and kill processes 4 2h 40m 103.6 Modify process execution priorities 2 1h 20m 103.7 Search text files using regular expressions 2 1h 20m 103.8 Perform basic file editing operations using vi 3 2h 00m 104 Devices, Linux Filesystems, Filesystem Hierarchy Standard 104.1 Create partitions and filesystems 2 1h 20m 104.2 Maintain the integrity of filesystems 2 1h 20m © IVS Technology Consulting, 2017 LPIC-2 Lab Study Guide 5 104.3 Control mounting and unmounting of filesystems 3 2h 00m 104.4 Manage disk quotas 1 0h 40m 104.5 Manage file permissions and ownership 3 2h 00m 104.6 Create and change hard and symbolic links 2 1h 20m 104.7 Find system files and place files in the right location 2 1h 20m LPIC 102 Topic Weight Time 105 Shells, scripting and data management 105.1 Customise and use the shell environment 4 2h 20m 105.2 Customise or write simple scripts 4 2h 40m 105.3 SQL data management 2 1h 20m 106 User Interfaces and Desktops 106.1 Install and configure X11 2 1h 20m 106.2 Set up a display manager 2 1h 20m 106.3 Accessibility 1 0h 40m 107 Administrative Tasks 107.1 Manage