Slackware Linux Essentials.Pdf
Total Page:16
File Type:pdf, Size:1020Kb
The Slackware Linux Project: Slackware Linux Essentials Slackware Linux Essentials News Slackware Linux FAQ Essentials Book The Official Guide To Slackware Linux General Info David Cantrell Get Slack Logan Johnson ZipSlack Chris Lumens Install Help This documentation is licensed under the terms of the GNU Configuration General Public License. A copy of this license can be found in Appendix A. Packages Linux is a registered trademark of Linus Torvalds. Slackware ChangeLogs is a registered trademark of BSDi and Patrick Volkerding. Propaganda Ports Table of Contents Preface Other Sites Conventions Used in This Book I. Introduction Support 1. An Introduction to Slackware Linux What is Linux? Contact What is Slackware? http://www.slackware.com/book/ (1 of 5) [3/18/2002 7:03:08 PM] The Slackware Linux Project: Slackware Linux Essentials Mailing Lists Open Source and Free Software 2. Help About System Help Online Help II. Installation 3. Installation Getting Slackware System Requirements Summary III. Configuration 4. System Configuration System Overview Selecting A Kernel Summary 5. Network Configuration Network Hardware Network Utilities The /etc files rc.inet1 rc.inet2 NFS (Network File System) tcp_wrappers Summary 6. The X Window System xf86config XF86Setup Session Configuration Files Servers and Window Managers Selecting a Desktop Exporting displays Summary 7. Booting LILO LOADLIN Dual Booting Summary IV. Using Slackware Linux 8. The Shell http://www.slackware.com/book/ (2 of 5) [3/18/2002 7:03:08 PM] The Slackware Linux Project: Slackware Linux Essentials Users The Command Line The Bourne Again Shell (bash) Virtual Terminals Summary 9. Filesystem Structure Ownership Permissions Links Mounting Devices NFS Mounts Summary 10. Handling Files and Directories ls cd more less cat touch echo mkdir ln cp mv rm rmdir Summary 11. Process Control Backgrounding Foregrounding ps kill top Summary 12. Essential System Administration Users and Groups Shutting Down Properly Summary http://www.slackware.com/book/ (3 of 5) [3/18/2002 7:03:08 PM] The Slackware Linux Project: Slackware Linux Essentials 13. Basic Network Commands ping finger telnet FTP Clients email lynx wget traceroute Talking to Other People Summary 14. Archive Files gzip bzip2 tar zip Summary 15. vi Starting vi Modes Opening Files Saving Files Quitting vi vi Configuration vi Keys Summary 16. Slackware Package Management Overview of Package Format Package Utilities Making Packages Making Tags and Tagfiles (for setup) Summary 17. ZipSlack and BigSlack What is ZipSlack/BigSlack? Getting ZipSlack/BigSlack Installation Booting ZipSlack/BigSlack Adding, Removing, and Upgrading Software http://www.slackware.com/book/ (4 of 5) [3/18/2002 7:03:08 PM] The Slackware Linux Project: Slackware Linux Essentials Common Problems Getting Help Summary Glossary A. The GNU General Public License Preamble TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION How to Apply These Terms to Your New Programs Next Preface Slackware® is a registered trademark of Slackware Linux, Inc. http://www.slackware.com/book/ (5 of 5) [3/18/2002 7:03:08 PM] The Slackware Linux Project: Slackware Linux Essentials Slackware Linux Essentials News Slackware Linux Essentials Prev Next FAQ Preface Book The Slackware Linux operating system is a powerful platform for Intel-based computers. It is designed to be stable, secure, and functional as both a high-end General Info server and powerful workstation. Get Slack This book is designed to get you started with the Slackware Linux operating system. It's not meant to cover every single aspect of the distribution, but rather to ZipSlack show what it's capable of and give you a basic working knowledge of the system. Install Help As you gain experience with Slackware Linux, we hope you find this book to be a handy reference. We also hope you'll lend it to all of your friends when they come Configuration asking about “that cool Slackware Linux operating system you're running”. Packages While this book may not an edge-of-your-seat novel, we certainly tried to make it as entertaining as possible. With any luck, we'll get a movie deal. Of course, we ChangeLogs also hope you are able to learn from it and find it useful. Propaganda And now, on with the show. Ports Conventions Used in This Book Other Sites This book is written in SGML using the DocBook 4.0 DTD. As such, we used the Support builtin DocBook elements for filename reference, command reference, and file contents reference. This provides consistent typefaces for all aspects of the book. Contact You'll need to be familiar with a few of our conventions before you continue. Mailing Lists Whenever we mention a command that you are to run, it will look like this: http://www.slackware.com/book/index.php?source=f21.html (1 of 2) [3/18/2002 7:03:13 PM] The Slackware Linux Project: Slackware Linux Essentials About command On rare occasion, a command might be longer than the space on one row of this book. When that happens, we'll wrap the command onto the next line and use a backslash to indicate that the command continues. Here's an example from later in the book: ifconfig eth0 192.168.1.10 broadcast 192.168.1.255 \ netmask 255.255.255.0 Filenames and directories are referred to throughout the book. They will look like this: filename directory Screens of command output and the contents of configuration files are also used in the book. They will appear in this typeface: command output Sometimes when we list commands that you're to run, we will display them as being run from a sample prompt. When a command is meant to be run as a regular user, we will display it on a prompt that is a dollar sign ($). When a command is meant to be run as root, we will display it on a prompt that is a hash mark (#). Prev Home Next Slackware Linux Introduction Essentials Slackware® is a registered trademark of Slackware Linux, Inc. http://www.slackware.com/book/index.php?source=f21.html (2 of 2) [3/18/2002 7:03:13 PM] The Slackware Linux Project: Slackware Linux Essentials Slackware Linux Essentials News Slackware Linux Essentials Prev Next FAQ I. Introduction Book Table of Contents 1. An Introduction to Slackware Linux General Info 2. Help Get Slack Prev Home Next ZipSlack Preface An Introduction to Slackware Linux Install Help Configuration Packages ChangeLogs Propaganda Ports Other Sites Support Contact http://www.slackware.com/book/index.php?source=p50.html (1 of 2) [3/18/2002 7:03:15 PM] The Slackware Linux Project: Slackware Linux Essentials Slackware Linux Essentials News Slackware Linux Essentials Prev Next FAQ Chapter 1. An Book Introduction to General Info Slackware Linux Get Slack Table of Contents What is Linux? ZipSlack What is Slackware? Open Source and Free Software Install Help Configuration What is Linux? Packages Linux was started by Linus Torvalds in 1991 as a personal project. He was looking for a way to run a Unix-based ChangeLogs operating system without spending a lot of money. In addition, he wanted to learn the ins-and-outs of the 386 processor. It was Propaganda released free-of-charge to the public so that anyone could hack on it and make improvements under the GNU General Public Ports License (see the section called Open Source and Free Software and Appendix A). Other Sites Today, Linux has grown into a major player in the operating Support system market. It has been ported to run on a variety of architectures including Compaq's Alpha, Sun's SPARC and Contact UltraSPARC, and Motorola's PowerPC chips (through Apple http://www.slackware.com/book/index.php?source=c52.html (1 of 2) [3/18/2002 7:03:17 PM] The Slackware Linux Project: Slackware Linux Essentials Mailing Lists Macintosh and IBM RS/6000 computers, for example). Linux is now being developed by hundreds (if not thousands) of About programmers from all over the world. It runs programs like Sendmail, Apache, and BIND, which is some of the most popular server software on the Internet. The term “Linux” really only refers to the kernel - the core of the operating system. This part is responsible for controlling your processor, memory, hard drives, and peripherals. That's all that Linux really does. It controls the operations of your computer and makes sure that all the programs behave. All those programs that make Linux useful are developed by independant groups. The kernel and programs are bundled together by various companies and individuals to make an operating system. We call this a Linux distribution. Prev Home Next Introduction Up What is Slackware? Slackware® is a registered trademark of Slackware Linux, Inc. http://www.slackware.com/book/index.php?source=c52.html (2 of 2) [3/18/2002 7:03:17 PM] The Slackware Linux Project: Slackware Linux Essentials Slackware Linux Essentials News Slackware Linux Essentials Prev Chapter 1. An Introduction to Slackware Linux Next FAQ What is Slackware? Book Slackware was the first Linux distribution to achieve widespread use. It was started by Patrick Volkerding in late General Info 1992. He had gotten introduced to Linux when he needed an inexpensive LISP interpreter for a project. At that time, there Get Slack were very few distributions, so Patrick went with the distribution from Soft Landing Systems (SLS Linux). ZipSlack However, SLS had some problems, so Patrick started to fix Install Help little bugs as he found them. Eventually, he decided to merge all of those fixes into his own distribution for himself and Configuration friends. This private distribution quickly gained popularity, and Patrick made it available to the public under the name of Slackware. Packages ChangeLogs Along the way, Patrick added new things to the distribution like a user-friendly installation program based on a menuing system and the concept of package management.