Andrew Hudson - Fedora™ Unleashed, 2008 edition

Здесь есть возможность читать онлайн «Andrew Hudson - Fedora™ Unleashed, 2008 edition» весь текст электронной книги совершенно бесплатно (целиком полную версию без сокращений). В некоторых случаях можно слушать аудио, скачать через торрент в формате fb2 и присутствует краткое содержание. Город: Indianapolis, Год выпуска: 2008, ISBN: 2008, Издательство: Sams Publishing, Жанр: ОС и Сети, на английском языке. Описание произведения, (предисловие) а так же отзывы посетителей доступны на портале библиотеки ЛибКат.

Fedora™ Unleashed, 2008 edition: краткое содержание, описание и аннотация

Предлагаем к чтению аннотацию, описание, краткое содержание или предисловие (зависит от того, что написал сам автор книги «Fedora™ Unleashed, 2008 edition»). Если вы не нашли необходимую информацию о книге — напишите в комментариях, мы постараемся отыскать её.

Quick Glance Guide
Finding information you need is not always easy. This short index provides a list of common tasks discussed inside this book. Browse the table of contents or index for detailed listings and consult the specified chapter for in-depth discussions about each subject.
left How Do I…?
See…
How Do I…?
See…
left Back up my system?
Chapter 13
Partition a hard drive?
Appendix B, Chapters 1, 35
left Build a new Linux kernel?
Chapter 36
Play MP3s and other music?
Chapter 7
left Burn a CD?
Chapter 7
Print a file?
Chapter 8
left Change a password?
Chapter 4
Read a text file?
Chapter 4
left Change the date and time?
Chapter 32
Read or send email?
Chapter 21
left Compress a file?
Chapter 13
Read or post to newsgroups?
Chapter 5
left Configure a modem?
Chapter 2
Reboot Fedora?
Chapter 1
left Configure a printer?
Chapter 8
Rescue my system?
Chapter 13
left Configure a scanner?
Chapter 7
Set up a DNS server?
Chapter 23
left Configure a sound card?
Chapter 7
Set up a firewall?
Chapter 14
left Configure my desktop settings?
Chapter 3
Set up a web server?
Chapter 15
left Connect to the Internet?
Chapter 5
Set up an FTP server?
Chapter 20
left Control a network interface?
Chapter 14
Set up Samba with SWAT?
Chapter 19
left Copy files or directories?
Chapters 13, 32
Set up wireless networking?
Chapter 14
left Create a boot disk to boot Fedora?
Chapter 1
Shut down Fedora?
Chapter 1
left Create a database?
Chapter 16
Use a spreadsheet?
Chapter 6
left Create a user?
Chapter 4
Use Instant Messaging?
Chapter 5
left Delete a file or directory?
Chapter 32
Watch television on my computer?
Chapter 7
left Get images from a digital camera?
Chapter 7
Edit a text file?
Chapter 4
left Install Fedora?
Chapter 1
Make Fedora more secure?
Chapter 14
left Log in to Fedora?
Chapter 1
Mount a CD-ROM or hard drive?
Chapter 35

Fedora™ Unleashed, 2008 edition — читать онлайн бесплатно полную книгу (весь текст) целиком

Ниже представлен текст книги, разбитый по страницам. Система сохранения места последней прочитанной страницы, позволяет с удобством читать онлайн бесплатно книгу «Fedora™ Unleashed, 2008 edition», без необходимости каждый раз заново искать на чём Вы остановились. Поставьте закладку, и сможете в любой момент перейти на страницу, на которой закончили чтение.

Тёмная тема
Сбросить

Интервал:

Закладка:

Сделать

tar — Creates, expands, or lists the contents of compressed or uncompressed file or directory archives known as tape archives or tarballs

Most of these commands are easy to use. The tar command, however, has a somewhat complex (although capable) set of command-line options and syntax. Even so, you can quickly learn to use tar by remembering a few simple invocations on the command line. For example, to create a compressed archive of a directory, use tar's czfoptions like this:

$ tar czf dirname.tgz dirname

The result is a compressed archive (a file ending in .tgz) of the specified directory (and all files and directories under it). Add the letter vto the preceding options to view the list of files added during compression and archiving. To list the contents of the compressed archive, substitute the coption with the letter t, as follows:

$ tar tzf archive

Of course, if many files are in the archive, a better invocation (to easily read or scroll through the output) is the following:

$ tar tzf archive | less

To expand the contents of a compressed archive, use tar's zxfoptions, like so:

$ tar zxf archive

The tarutility decompresses the specified archive and extracts the contents in the current directory.

Use Essential Commands from the /binand /sbinDirectories

The /bindirectory (about 5MB if you do a full install) contains essential commands used by the system for running and booting Linux. In general, only the root operator uses the commands in the /sbindirectory. Many (though not all) of these commands are statically linked; which means that these commands do not depend on software libraries residing under the /libor /usr/libdirectories. Nearly all the other applications on your system are dynamically linked — meaning that they require external software libraries (also known as shared libraries) to run.

Use and Edit Files in the /etcDirectory

More than 90MB of system configuration files and directories reside under the /etcdirectory if you install all the software included with this book. Some major software packages, such as Apache, OpenSSH, and xinetd,have directories of configuration files under /etc.Other important system-related configuration files in /etcinclude the following:

fstab — The file system table is a text file listing each hard drive, CD-ROM, floppy, or other storage device attached to your PC. The table indexes each device's partition information with a place in your Linux file system (directory layout) and lists other options for each device when used with Linux (see Chapter 35, "Managing the File System"). Nearly all entries in fstab can be manipulated by root using the mountcommand.)

inittab — The system initialization table defines the default runlevel, also known as run-control level or system state . Changes to this file can determine whether your system boots to a graphical or text login, as well as whether dialup remote access is enabled. (You learn about default runlevels in the section "System Services and Runlevels" located in Chapter 11. See the section "Starting X" located in Chapter 3, "Working with GNOME," to learn more about changing inittab to boot to a graphical interface.)

modprobe.conf — This configuration file contains directions and options used when loading kernel modules to enable various types of hardware, such as sound, USB, networking, and so on (discussed in the section "Managing Modules" in Chapter 36, "Kernel and Module Management"). The contents of this file are used during boot

time, and the file can be manually edited or automatically updated by Fedora's kudzuhardware management tool.

passwd — The list of users for the system, along with user account information. The contents of this file can be changed by various programs, such as useraddor chsh.

printcap — The system's printer capabilities database (discussed in the section "Overview of Fedora Printing" in Chapter 8, "Printing with Fedora").

shells — A list of approved shells (command-line interfaces).

The /etc/sysconfigdirectory contains many different hardware and software settings critical to the operation of your Fedora system. Knowing the location and contents of these files can prove helpful if you need to troubleshoot new hardware configurations. The best way to list the contents of /etc/sysconfigis to use the treecommand, like so:

$ tree -afx /etc/sysconfig

The settings in various files under /etc/sysconfig(such as firstboot, keyboard, clock,and so on) are usually created automatically by a related Fedora graphical or console- based configuration utility.

These contents might change dynamically if you use the kudzuhardware configuration service. The kudzuservice also prompts you at boot time to remove, configure, or ignore a related setting if kudzudetects new or different hardware (such as a new USB keyboard, network card, or monitor). The kudzuservice creates a file called hwconfthat contains a hardware profile of your PC's current state. Note that if kudzuis not enabled or running, you can use device-specific configuration utilities such as system-config-keyboard, or you can manually edit configuration files.

Information about the type of keyboard attached to the PC, for example, is contained in the file /etc/sysconfig/keyboard:

KEYBOARDTYPE="pc"

KEYTABLE="uk"

Here the keyboard in use is the U.K. layout, but if you are in the United States, you will likely see this:

KEYBOARDTYPE="pc"

KEYTABLE="us"

CAUTION

If you are new to Linux, the system-config-keyboardclient is the best tool to use to configure a keyboard. You should manually edit system hardware configuration files used by graphical management clients only as a last resort.

Protect the Contents of User Directories — /home

The most important data on a Linux system resides in the user's directories, found under the /homedirectory. Segregating the system and user data can be helpful in preventing data loss and making the process of backing up easier. For example, having user data reside on a separate file system or mounted from a remote computer on the network might help shield users from data loss in the event of a system hardware failure.

Use the Contents of the /procDirectory to Interact with the Kernel

The content of the /procdirectory is created from memory and exists only while Linux is running. This directory contains special "files" that either extract information from or send information to the kernel. Many Linux utilities extract information from dynamically created directories and files under this directory, also known as a virtual file system . For example, the free command obtains its information from a file named meminfo:

Читать дальше
Тёмная тема
Сбросить

Интервал:

Закладка:

Сделать

Похожие книги на «Fedora™ Unleashed, 2008 edition»

Представляем Вашему вниманию похожие книги на «Fedora™ Unleashed, 2008 edition» списком для выбора. Мы отобрали схожую по названию и смыслу литературу в надежде предоставить читателям больше вариантов отыскать новые, интересные, ещё непрочитанные произведения.


Отзывы о книге «Fedora™ Unleashed, 2008 edition»

Обсуждение, отзывы о книге «Fedora™ Unleashed, 2008 edition» и просто собственные мнения читателей. Оставьте ваши комментарии, напишите, что Вы думаете о произведении, его смысле или главных героях. Укажите что конкретно понравилось, а что нет, и почему Вы так считаете.

x