diff options
author | Alan Hicks <alan@lizella.net> | 2011-04-13 20:25:31 -0400 |
---|---|---|
committer | Alan Hicks <alan@lizella.net> | 2011-04-13 20:25:31 -0400 |
commit | 3793cae891f7b3c650137131216a7af535cd0b02 (patch) | |
tree | a48018da179d7b78d2f4dbab1c78617d0cb06e84 | |
parent | d7293e9b300149ddbb64b6e17f122cb6f39fd6ef (diff) | |
download | slackbook-3793cae891f7b3c650137131216a7af535cd0b02.tar.xz |
Chapter_02 - Finished the booting section and removed a couple of ugly
images, replacing them entirely with text. This should be the way to do
things whenever possible as it increases the quality of the printed
book.
-rw-r--r-- | TODO | 14 | ||||
-rw-r--r-- | chapter_02.xml | 133 | ||||
-rw-r--r-- | chapter_16.xml | 135 |
3 files changed, 245 insertions, 37 deletions
@@ -32,20 +32,6 @@ Chapter 4. Basic Shell Commands Perhaps split this with subsections for cat, more, and less? -Chapter 6. X Windows - -* Section 'configuring the X server' - - "The second most popular way to configure X on your system is the handy - xorgconfig(1)." << Factually, this is no longer true. The xorgconfig and - xorgcfg utilities have been removed as per Slackware 13.0. What you - *should* mention is that the X in Slackware will auto-configure itself - if a xorg.conf file is missing (or will automatically configure components - for any sections that are missing from an existing xorg.conf using the - information it receives from the HAL daemon) - * note that HAL is slated for deprecation and this might be handled by - udev directly at some point in the future... - Chapter 10. Working with Filesystems * Section 'Network Filesystems' / 'NFS' diff --git a/chapter_02.xml b/chapter_02.xml index 1a4ef26..f022358 100644 --- a/chapter_02.xml +++ b/chapter_02.xml @@ -6,49 +6,136 @@ <title>Installation</title> <para> -Slackware's installation is a bit more simplistic than that of many/most - other Linux distributions, and is very reminiscent of installing one of the +Slackware's installation is a bit more simplistic than that of most +other Linux distributions, and is very reminiscent of installing one of the varieties of BSD operating systems. If you're familiar with those, you should feel right at home. If you've never installed Slackware or used a distribution that makes use of a non-graphical installer, you may -feel a bit overwhelmed. Don't panic. The installation is very easy +feel a bit overwhelmed at first. Don't panic! The installation is very easy once you understand it, and it works on just about any x86 platform. </para> <para> The latest versions of Slackware Linux are distributed on DVD or CD -media, but Slackware can be installed in a variety of other ways. This -book will only focus on the most common way: installing via optical -media. In order to install Slackware, you'll need at least an Intel -486 (or equivalent) or x86_64 CPU, but we recommend you obtain a 586 -or better CPU if at all possible. Slackware can be pared down to run -on as little as 32 MB of RAM, but with the size of the 2.6 kernel and -userspace applications, you will find yourself having a much easier -time if you have a minimum of 64 MB of RAM. If you wish to use -anything older than these, you might want to obtain an older copy of -Slackware which will perform better with fewer CPU Megahertz and less -RAM. +media, but Slackware can be installed in a variety of other ways. We're +only going to focus on the most common method - booting from a DVD - in +this book. If you don't have a CD or DVD drive, you might wish to take +a look at the various README files inside the +<filename>usb-and-pxe-installers</filename> directory at your favorite +Slackware mirror. This directory includes the necessary files and +instructions for booting the Slackware installer from a USB flash drive +or from a network card that support PXE. The files there are the best +source of information available for such boot methods. </para> <section> <title>Booting the Installer</title> <para> -FILL THIS IN! -FILL THIS IN! -FILL THIS IN! -FILL THIS IN! -FILL THIS IN! -FILL THIS IN! -FILL THIS IN! +Booting the installer is simply a process of inserting the Slackware +install disk into your CD or DVD drive and rebooting. You may have to +enter your computer's BIOS and alter the boot order to place the +optical drive at a higher boot priority than your hard drives. Some +computers allow you to change the boot order on the fly by pressing a +specific function key during system boot-up. Since every computer is +different, we can't offer instructions on how to do this, but the +method is simple on nearly all machines. </para> <para> -<imagedata fileref="img/install_keymap.png" format="PNG" /> +Once your computer boots from the CD you'll be taken to a screen that +allows you to enter any special kernel parameters. This is here +primarily to allow you to use the installer as a sort of rescue disk. +Some systems may need special kernel parameters in order to boot, but +these are very rare exceptions to the norm. Most users can simply press +enter to let the kernel boot. </para> +<screen> +Welcome to Slackware version 13.37 (Linux kernel 2.6.37.6)! + +If you need to pass extra parameters to the kernel, enter them at the prompt +below after the name of the kernel to boot (huge.s etc). + +In a pinch, you can boot your system from here with a command like: + +boot: huge.s root=/dev/sda1 rdinit= ro + +In the example above, /dev/sda1 is the / Linux partition. + +This prompt is just for entering extra parameters. If you don't need to enter +any parameters, hit ENTER to boot the default kernel "huge.s" or press [F2] +for a listing of more kernel choices. + +</screen> + +<para> +You should see a lot of text go flying across your screen. Don't be +alarmed, this is all perfectly normal. The text you see is generated by +the kernel during boot-up as it discovers your hardware and prepares to +load the operating system (in this case, the installer). You can later +read these messages with the <application>dmesg</application>(1) +command if you're interested. Often these messages are very important +for troubleshooting any hardware problems you may have. Once the kernel +has completed its hardware discovery, the messages should stop and +you'll be given an option to load support for non-us keyboards. +</para> + +<screen> +<OPTION TO LOAD SUPPORT FOR NON-US KEYBOARD> + +If you are not using a US keyboard, you may not load a different +keyboard map. To select a different keyboard map, please enter 1 +now. To continue using the US map, just hit enter. + +Enter 1 to select a keyboard map: _ +</screen> + +<para> +Entering <keycap>1</keycap> and pressing <keycap>ENTER</keycap> will +give you a list of keyboard mappings. Simply select the mapping that +matches your keyboard type and continue on. +</para> + +<screen> +Welcome to the Slackware Linux installation disk! (version 13.37) + +###### IMPORTANT! READ THE INFORMATION BELOW CAREFULLY. ###### + +- You will need one or more partitions of type 'Linux' prepared. It is also + recommended that you create a swap partition (type 'Linux swap') prior + to installation. For more information, run 'setup' and read the help file. + +- If you're having problems that you think might be related to low memory, you + can try activating a swap partition before you run setup. After making a + swap partition (type 82) with cfdisk or fdisk, activate it like this: + mkswap /dev/<partition> ; swapon /dev/<partition> + +- Once you have prepared the disk partitions for Linux, type 'setup' to begin + the installation process. + +- If you do not have a color monitor, type: TERM=vt100 + before you start 'setup'. + +You may now login as 'root'. + +slackware login: <userinput>root</userinput> +</screen> + <para> -<imagedata fileref="img/install_login.png" format="PNG" /> +Unlike other Linux distributions which boot you directly into a +dedicated installer program, Slackware's installer gives you a limited +Linux distribution contained in your system's RAM from the word go. This +limited distribution is then used to run all the installation programs +manually, or can be used in emergencies to fix a broken system that +fails to boot. Now that you're logged in as root (there is no password +within the installer) it's time to start setting up your disks. At this +point, you may setup software RAID or LVM support if you wish, but +those topics are outside of the scope of this book. I encourage you to +refer to the excellent <filename>README_RAID.TXT</filename> and +<filename>README_LVM.TXT</filename> files on your CD if you desire to +setup your system with these advanced tools. Most users won't have any +need to do so and should proceed directly to partitioning. </para> </section> diff --git a/chapter_16.xml b/chapter_16.xml index c95e57a..9c92b31 100644 --- a/chapter_16.xml +++ b/chapter_16.xml @@ -351,6 +351,37 @@ In this case we looked for an "A" record which returned an IPv4 address. </section> +<section><title>finger</title> + +<para> +<application>finger</application>(1) isn't exactly a network diagnostic +tool as much as it is a network-user diagnostic tool. Using +<application>finger</application>, you can gather a handful of useful +information about users on servers running the +<application>fingerd</application>(8) daemon. Today very few servers +still offer <application>fingerd</application>, but for those that do +it can be a useful tool for keeping track of your friends and +co-workers. +</para> + +<screen><prompt>darkstar:~$ </prompt><userinput>finger alan@cardinal.lizella.net</userinput> +[cardinal.lizella.net] +Login: alan Name: Alan Hicks +Directory: /home/alan Shell: /bin/bash +Office: 478 808 9919, 478 935 8133 +On since Wed Apr 13 17:43 (UTC) on pts/9 from +75-150-12-113-atlanta.hfc.comcastbusiness.net + 32 minutes 24 seconds idle + (messages off) +On since Wed Apr 13 17:45 (UTC) on pts/10 from :pts/9:S.0 + 48 minutes 56 seconds idle +Mail forwarded to alan@lizella.net +No mail. +No Plan. +</screen> + +</section> + </section> <section><title>Web Browsers</title> @@ -438,6 +469,110 @@ Length: 75306 (74K) </section> <section> +<title>Mail Clients</title> + +<section><title>pine</title> + +<para> +<application>pine</application> is one of the oldest command-line +interface mail clients still in existance and remains one of the most +user-friendly. <application>pine</application> was created by the +University of Washington and carries with it both a trademark and a +copyright license that are difficult to work with. Thankfully back in +2005, the university saw fit to re-write it without the trademark and +with a more open license, so <application>alpine</application>(1) was +born. This is the pine-clone distributed with Slackware. To start using +it, simply type <application>pine</application> at the command line. +Using it is very simple due to its menu-driven system as well as the +command referance neatly located at the bottom of the screen. See for +yourself. +</para> + +<screen> + ALPINE 2.00 MAIN MENU Folder: INBOX No +Messages + + + ? HELP - Get help using Alpine + + C COMPOSE MESSAGE - Compose and send a message + + I MESSAGE INDEX - View messages in current folder + + L FOLDER LIST - Select a folder to view + + A ADDRESS BOOK - Update address book + + S SETUP - Configure Alpine Options + + Q QUIT - Leave the Alpine program + + + Copyright 2006-2008 University of Washington + [Folder "INBOX" opened with 0 messages] +? Help P PrevCmd R RelNotes +O OTHER CMDS > [ListFldrs] N NextCmd K KBLock +</screen> + +</section> + +<section><title>mutt</title> + +<para> +Some people don't like <application>pine</application>. Some people +want more control. Some people want a fully-configurable mail client +with plugin support and a no-nonsense attitude. Those people use +<application>mutt</application>(1). <application>mutt</application> +isn't as user friendly as <application>pine</application>, but makes up +for it with power. You won't find the user-friendly command referance +at the bottom of the screen, <application>mutt</application> uses every +last inch of real-estate for mail processing duty. It's feature support +is extensive: threaded displays are no problem for the mighty +mixed-breed! You can configure <application>mutt</application> with a +<filename>.muttrc</filename> file in your home directory. With all the +many different possible configuration options, there's even a man page +for that, muttrc(5). You might want to read up on it. +</para> + +<screen> +3172 N Jan 17 Thomas Morper (2.8K) │ └─>Re: [Slackbuilds-users] Exim Sbo +3173 N Jan 17 TuxaneMedia (2.5K) └─>Re: [Slackbuilds-users] Exim Sbo +3174 N Jan 06 Uli Sch?fer (4.6K) [Slackbuilds-users] mrtg-2.15.2 breaks wi +3175 N Jan 06 Willy Sudiarto (4.0K) └─> +3176 N Jan 06 Audrius Ka??uka (3.9K) └─> +3177 N Jan 06 Niels Horn (4.4K) └─> +3178 N * Jan 09 King Beowulf (6.5K) [Slackbuilds-users] libreoffice (3.3.0rc +3179 N * Jan 09 Niels Horn (4.8K) └─>Re: [Slackbuilds-users] libreoffice (3 +3180 * Jan 09 Niels Horn ( 73) └─> +3181 N * Jan 09 King Beowulf (5.9K) └─> +3182 N Jan 10 Robby Workman (7.8K) [Slackbuilds-users] Updates - 20110110 +3183 N Jan 10 B Watson (3.6K) [Slackbuilds-users] Fwd: nted slackbuild +3184 N Jan 11 SlackBuilds@cat (2.5K) [Slackbuilds-users] /usr/share/ package s +3185 N Jan 11 Robby Workman (3.4K) └─> +3186 N Jan 12 SlackBuilds@cat (3.4K) └─> +3187 N Jan 11 Robby Workman (4.5K) └─> +3188 N Jan 12 Robby Workman (2.3K) [Slackbuilds-users] Unavailability of mai +3189 N Jan 13 Mr. B-o-B (3.7K) └─> +3190 N Jan 13 Josiah Boothby (3.2K) [Slackbuilds-users] Ted's Word Processor +3191 N Jan 14 Adam Swift (7.4K) [Slackbuilds-users] Web submission failur +3192 N Jan 14 Rob McGee (3.5K) └─> +</screen> + +</section> + +<section><title>mailx</title> + +<para> +So those are great and everything, but what if you just want a mail +client that isn't menu-driven? Thankfully +<application>mailx</application> is here to save you. +</para> + +</section> + +</section> + +<section> <title>FTP Clients</title> <para> |