Unlike some operating systems, Linux doesn t try to hide the important bits from you it gives you full control of your computer. But to truly master Linux, you need to understand its internals, like how the system boots, how networking works, and what the kernel actually does. In this completely revised second edition of the perennial best seller How Linux Works, author Brian Ward makes the concepts behind Linux internals accessible to anyone curious about the inner workings of the operating system. Inside, you ll find the kind of knowledge that normally comes from years of experience doing things the hard way. You ll learn: How Linux boots, from boot loaders to init implementations (systemd, Upstart, and System V) How the kernel manages devices, device drivers, and processes How networking, interfaces, firewalls, and servers work How development tools work and relate to shared libraries How to write effective shell scripts You ll also explore the kernel and examine key system ta
Firewalls, Network Address Translation (NAT), network logging and accounting are all provided by Linux´s Netfilter system, also known by the name of the command used to administer it, iptables. The iptables interface is the most sophisticated ever offered onLinux and makes Linux an extremely flexible system for any kind of network filtering you might do. Large sets of filtering rules can be grouped in ways that makes it easy to test them and turn them on and off.Do you watch for all types of ICMP traffic--some of them quite dangerous? Can you take advantage of stateful filtering to simplify the management of TCP connections? Would you like to track how much traffic of various types you get?This pocket reference will help you at those critical moments when someone asks you to open or close a port in a hurry, either to enable some important traffic or to block an attack. The book will keep the subtle syntax straight and help you remember all the values you have to enter in order to be as secure as possible. The book has an introductory section that describes applications,followed by a reference/encyclopaedic section with all the matches and targets arranged alphabetically.
You´ve experienced the shiny, point-and-click surface of your Linux computer now dive below and explore its depths with the power of the command line. The Linux Command Line takes you from your very first terminal keystrokes to writing full programs in Bash, the most popular Linux shell. Along the way you´ll learn the timeless skills handed down by generations of gray-bearded, mouse-shunning gurus: file navigation, environment configuration, command chaining, pattern matching with regular expressions, and more. In addition to that practical knowledge, author William Shotts reveals the philosophy behind these tools and the rich heritage that your desktop Linux machine has inherited from Unix supercomputers of yore. As you make your way through the book´s short, easily-digestible chapters, you´ll learn how to: Create and delete files, directories, and symlinks Administer your system, including networking, package installation, and process management Use standard input and output, red
Device drivers literally drive everything you´re interested indisks, monitors, keyboards, modemseverything outside the computer chip and memory. And writing device drivers is one of the few areas of programming for the Linux operating system that calls for unique, Linux-specific knowledge. For years now, programmers have relied on the classic Linux Device Drivers from O´Reilly to master this critical subject. Now in its third edition, this bestselling guide provides all the information you´ll need to write drivers for a wide range of devices. Over the years the book has helped countless programmers learn: - how to support computer peripherals under the Linux operating system - how to develop and write software for new hardware under Linux - the basics of Linux operation even if they are not expecting to write a driver The new edition of Linux Device Drivers is better than ever. The book covers all the significant changes to Version 2.6 of the Linux kernel, which simplifies many activities, and contains subtle new features that can make a driver both more efficient and more flexible. Readers will find new chapters on important types of drivers not covered previously, such as consoles, USB drivers, and more. Best of all, you don´t have to be a kernel hacker to understand and enjoy this book. All you need is an understanding of the C programming language and some background in Unix system calls. And for maximum ease-of-use, the book uses full-featured examples that you can compile and run without special hardware.Today Linux holds fast as the most rapidly growing segment of the computer market and continues to win over enthusiastic adherents in many application areas. With this increasing support, Linux is now absolutely mainstream, and viewed as a solid platform for embedded systems. If you´re writing device drivers, you´ll want this book. In fact, you´ll wonder how drivers are ever written without it. Device drivers literally drive everything you´re interested in--disks, monitors, keyboards, modems--everything outside the computer chip and memory. And writing device drivers is one of the few areas of programming for the Linux operating system that calls for unique, Linux-specific knowledge. For years now, programmers have relied on the classic Linux Device Drivers from O´Reilly to master this critical subject. Now in its third edition, this bestselling guide provides all the information you´ll need to write drivers for a wide range of devices.Over the years the book has helped countless programmers learn: how to support computer peripherals under the Linux operating system how to develop and write software for new hardware under Linux the basics of Linux operation even if they are not expecting to write a driver The new edition of Linux Device Drivers is better than ever. The book covers all the significant changes to Version 2.6 of the Linux kernel, which simplifies many activities, and contains subtle new features that can make a driver both more efficient and more flexible. Readers will find new chapters on important types of drivers not covered previously, such as consoles, USB drivers, and more.Best of all, you don´t have to be a kernel hacker to understand and enjoy this book. All you need is an understanding of the C programming language and some background in Unix system calls. And for maximum ease-of-use, the book uses full-featured examples that you can compile and run without special hardware.Today Linux holds fast as the most rapidly growing segment of the computer market and continues to win over enthusiastic adherents in many application areas. With this increasing support, Linux is now absolutely mainstream, and viewed as a solid platform for embedded systems. If you´re writing device drivers, you´ll want this book. In fact, you´ll wonder how drivers are ever written without it.
The job of Linux systems administrator is interrupt-driven and requires constant learning in byte-wise chunks. This book gives solutions to modern problems-even some you might not have heard of-such as scripting LDAP, making Mac clients play nice with Linux servers, and backup, security, and recovery scripts. Author Juliet Kemp takes a broad approach to scripting using Perl and bash, and all scripts work on Debian or Red Hat lineage distributions. Plus, she dispenses wisdom about time management, dealing with desperate colleagues, and how to avoid reinventing the wheel! Learn how to love LDAP scripting and NFS tuning Make Perl serve you: don´t be enslaved by Perl Learn to change, craft, and feel empowered by recipes that change your life
This book is your complete guide to studying for the Linux Professional Institute´s Server Professional (LPIC-1) certification. Every concept, principle, process, and resource that might make an appearance on the exam is fully represented. You will understand every concept by rolling up your sleeves, opening up a terminal, and trying it all yourself. You will find suggestions for practical tasks along with ´´test-yourself´´ quizzes at the end of each chapter. Whether you´ve decided to earn the Linux Professional Institute´s Server Professional certification or you simply want to learn more about Linux administration, this book is a great choice. Right now, Linux administration skills are opening doors to some of the hottest job markets. And with the ongoing explosive growth of the cloud computing world - the vast majority of which is being built with Linux - the scope of the opportunities will only increase. Whether or not you end up taking the exam, if you manage to learn this material, you´ll have done yourself a real favor. What You Will Learn Basic Linux system administration and package management Device and desktop management Bash scripting Networking fundamentals Security administration Who This Book Is For Most potential readers will already have a decent idea of what Linux is and what kinds of things can be done with it, and are looking to acquire or formalize a more structured and complete ability to confidently administrate Linux systems.
Power-Maker Simon Monk begleitet Sie Schritt für Schritt durch Experimente und Projekte, die zeigen, wie Sie Ihren Arduino oder Raspberry Pi dazu bringen, Motoren, LEDs, Sound und andere Aktoren zu steuern. Er beginnt mit den Grundlagen und führt Sie nach und nach zu immer größeren Herausforderungen. Mit anderen Worten: Action! Arduino ist ein einfacher Mikrocontroller mit einer leicht zu erlernenden Programmierumgebung, während Raspberry Pi ein kleiner Linux-basierter Computer ist. Der Autor macht die Unterschiede zwischen beiden deutlich und erklärt, zu welchem Zweck sie jeweils am besten geeignet sind. Mit diesen weit verbreiteten und günstigen Plattformen werden Sie lernen, LEDs, Motoren verschiedener Typen, Magnetventile, Wechselstromgeräte, Heizungen, Kühler, Displays und Sounds zu steuern. Schließlich werden Sie sogar in der Lage sein, diese Geräte per Internet zu überwachen und zu regeln. Das Arbeiten mit lötfreien Steckbrettern ermöglicht Ihnen einen raschen Einstieg und schon in kürzester Zeit bauen Sie Projekte, die lehrreich sind und dabei einfach nur Spaß machen. - Bauen Sie einen ´´Dosenquetscher´´ mit einem Linearmotor und Arduino - Bewässern Sie mit einem Arduino Ihre Pflanzen automatisch - Erstellen Sie ein individuelles Stoppsignal mit LEDs - Kühlen Sie Ihre Getränke mit einem selbstgebauten Thermostaten - Verstehen und verwenden Sie den PID-Regelalgorithmus - Setzen Sie einen Raspberry Pi ein, um eine Puppentanzparty zu schaffen, die sich zu Ihren Tweets bewegt!
Full coverage of the latest LPI-level 2 exams, with bonus online test bank LPIC-2 is the one-stop preparation resource for the Linux Professional Institute´s Advanced Level certification exam. With 100 percent coverage of all exam objectives, this book provides clear and concise coverage of the Linux administration topics you´ll need to know for exams 201 and 202. Practical examples highlight the real-world applications of important concepts, and together, the author team provides insights based on almost fifty years in the IT industry. This brand new second edition has been completely revamped to align with the latest versions of the exams, with authoritative coverage of the Linux kernel, system startup, advanced storage, network configuration, system maintenance, web services, security, troubleshooting, and more. You also get access to online learning tools including electronic flashcards, chapter tests, practice exams, and a glossary of critical terms to help you solidify your understanding of upper-level Linux administration topics. The LPI-level 2 certification confirms your advanced Linux skill set, and the demand for qualified professionals continues to grow. This book gives you the conceptual guidance and hands-on practice you need to pass the exam with flying colors. Understand all of the material for both LPIC-2 exams Gain insight into real-world applications Test your knowledge with chapter tests and practice exams Access online study aids for more thorough preparation Organizations are flocking to the open-source Linux as an excellent, low-cost, secure alternative to expensive operating systems like Microsoft Windows. As the Linux market share continues to climb, organizations are scrambling to find network and server administrators with expert Linux knowledge and highly practical skills. The LPI-level 2 certification makes you the professional they need, and LPIC-2 is your ideal guide to getting there.
Qt is one of the most influential graphical toolkits for the Linux operating system and is quickly being adopted on other platforms (Windows, Mac OS) as well. It is necessary to learn for all Linux programmers. This book takes the reader step by step through the complexities of Qt, laying the groundwork that allows the reader to make the step from novice to professional. This book is full of real world examples that can be quickly integrated into a developer´s project. While the reader is assumed to be a beginner at Qt development, they are required to have a working knowledge of C++ programming.
Learn how to use a Raspberry Pi in conjunction with an Arduino to build a basic robot with advanced capabilities. Getting started in robotics does not have to be difficult. This book is an insightful and rewarding introduction to robotics and a catalyst for further directed study. You´ll be led step by step through the process of building a robot that uses the power of a Linux based computer paired with the simplicity of Arduino. You´ll learn why the Raspberry Pi is a great choice for a robotics platform; its strengths as well as its shortcomings; how to overcome these limitations by implementing an Arduino; and the basics of the Python programming language as well as some of the more powerful features. With the Raspberry Pi you can give your project the power of a Linux computer, while Arduino makes interacting with sensors and motors very easy. These two boards are complimentary in their functions; where one falters the other performs admirably. The book also includes references to other great works to help further your growth in the exciting, and now accessible, field of smart robotics. As a bonus, the final chapter of the book demonstrates the real power of the Raspberry Pi by implementing a basic vision system. Using OpenCV and a standard USB web cam, you will build a robot that can chase a ball. What You´ll Learn Install Raspbian, the operating system that drives the Raspberry Pi Drive motors through an I2C motor controller Read data through sensors attached to an Arduino Who This Book Is For Hobbyists and students looking for a rapid start in robotics. It assumes no technical background. Readers are guided to pursue the areas that interest them in more detail as they learn.