/[gentoo]/xml/htdocs/doc/en/handbook/hb-install-tools.xml
Gentoo

Contents of /xml/htdocs/doc/en/handbook/hb-install-tools.xml

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.49 - (show annotations) (download) (as text)
Sun Nov 14 15:11:01 2010 UTC (3 years, 7 months ago) by nightmorph
Branch: MAIN
Changes since 1.48: +6 -6 lines
File MIME type: application/xml
change slocate to mlocate where required; slocate upstream has been off the internet for awhile now. bug 338428.

1 <?xml version='1.0' encoding='UTF-8'?>
2 <!DOCTYPE sections SYSTEM "/dtd/book.dtd">
3
4 <!-- The content of this document is licensed under the CC-BY-SA license -->
5 <!-- See http://creativecommons.org/licenses/by-sa/2.5 -->
6
7 <!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-tools.xml,v 1.48 2008/06/15 21:28:52 jkt Exp $ -->
8
9 <sections>
10
11 <abstract>
12 In this chapter we help you choose and install some important tools.
13 </abstract>
14
15 <version>9.2</version>
16 <date>2010-11-14</date>
17
18 <section>
19 <title>System Logger</title>
20 <body>
21
22 <p>
23 Some tools are missing from the <e>stage3</e> archive because several packages
24 provide the same functionality. It is now up to you to choose which ones you
25 want to install.
26 </p>
27
28 <p>
29 The first tool you need to decide on has to provide logging facilities for your
30 system. Unix and Linux have an excellent history of logging capabilities -- if
31 you want you can log everything that happens on your system in logfiles. This
32 happens through the <e>system logger</e>.
33 </p>
34
35 <p>
36 Gentoo offers several system loggers to choose from. There are <c>sysklogd</c>,
37 which is the traditional set of system logging daemons, <c>syslog-ng</c>, an
38 advanced system logger, and <c>metalog</c> which is a highly-configurable
39 system logger. Others might be available through Portage as well - our number of
40 available packages increases on a daily basis.
41 </p>
42
43 <p>
44 If you plan on using <c>sysklogd</c> or <c>syslog-ng</c> you might want to
45 install <c>logrotate</c> afterwards as those system loggers don't provide any
46 rotation mechanism for the log files.
47 </p>
48
49 <p>
50 To install the system logger of your choice, <c>emerge</c> it and have it added
51 to the default runlevel using <c>rc-update</c>. The following example installs
52 <c>syslog-ng</c>. Of course substitute with your system logger:
53 </p>
54
55 <pre caption="Installing a system logger">
56 # <i>emerge syslog-ng</i>
57 # <i>rc-update add syslog-ng default</i>
58 </pre>
59
60 </body>
61 </section>
62 <section>
63 <title>Optional: Cron Daemon</title>
64 <body>
65
66 <p>
67 Next is the cron daemon. Although it is optional and not required for your
68 system, it is wise to install one. But what is a cron daemon? A cron daemon
69 executes scheduled commands. It is very handy if you need to execute some
70 command regularly (for instance daily, weekly or monthly).
71 </p>
72
73 <p>
74 Gentoo offers three possible cron daemons: <c>dcron</c>, <c>fcron</c> and
75 <c>vixie-cron</c>. Installing one of them is similar to installing a system
76 logger. However, <c>dcron</c> and <c>fcron</c> require an extra configuration
77 command, namely <c>crontab /etc/crontab</c>. If you don't know what to choose,
78 use <c>vixie-cron</c>.
79 </p>
80
81 <p>
82 We only provide <c>vixie-cron</c> for networkless installations. If you want
83 another cron daemon you can wait and install it later on.
84 </p>
85
86 <pre caption="Installing a cron daemon">
87 # <i>emerge vixie-cron</i>
88 # <i>rc-update add vixie-cron default</i>
89 <comment>(Only if you have chosen dcron or fcron)</comment> # <i>crontab /etc/crontab</i>
90 </pre>
91
92 </body>
93 </section>
94 <section>
95 <title>Optional: File Indexing</title>
96 <body>
97
98 <p>
99 If you want to index your system's files so you are able to quickly
100 locate them using the <c>locate</c> tool, you need to install
101 <c>sys-apps/mlocate</c>.
102 </p>
103
104 <pre caption="Installing mlocate">
105 # <i>emerge mlocate</i>
106 </pre>
107
108 </body>
109 </section>
110 <section>
111 <title>File System Tools</title>
112 <subsection>
113 <body>
114
115 <p>
116 Depending on what file systems you are using, you need to install the necessary
117 file system utilities (for checking the filesystem integrity, creating
118 additional file systems etc.). Please note that tools for managing ext2/ext3
119 filesystems (<c>e2fsprogs</c>) are already installed as a part of the system.
120 </p>
121
122 <p>
123 The following table lists the tools you need to install if you use a certain
124 file system:
125 </p>
126
127 <table>
128 <tr>
129 <th>File System</th>
130 <th>Tool</th>
131 <th>Install Command</th>
132 </tr>
133 <tr>
134 <ti>XFS</ti>
135 <ti>xfsprogs</ti>
136 <ti><c>emerge xfsprogs</c></ti>
137 </tr>
138 <tr>
139 <ti>ReiserFS</ti>
140 <ti>reiserfsprogs</ti>
141 <ti><c>emerge reiserfsprogs</c></ti>
142 </tr>
143 <tr>
144 <ti>JFS</ti>
145 <ti>jfsutils</ti>
146 <ti><c>emerge jfsutils</c></ti>
147 </tr>
148 </table>
149
150 <p>
151 If you are an EVMS user, you also need to install <c>evms</c>:
152 </p>
153
154 <pre caption="Installing EVMS utilities">
155 # <i>USE="-gtk" emerge evms</i>
156 </pre>
157
158 <p>
159 The <c>USE="-gtk"</c> will prevent the installation of dependencies. If you
160 want to enable the <c>evms</c> graphical tools, you can recompile <c>evms</c>
161 later on.
162 </p>
163
164 </body>
165 </subsection>
166 <subsection test="contains('PPC PPC64', func:keyval('arch'))">
167 <title>Optional: RAID utilities for IBM hardware</title>
168 <body>
169
170 <p>
171 If you are using SCSI RAID on a POWER5-based system, you should consider
172 installing the <c>iprutils</c> which will allow you to work with the RAID disk
173 array, get status on the disks in the arrays, and update microcode among other
174 functions.
175 </p>
176
177 <pre caption="Installing iprutils">
178 # <i>emerge iprutils</i>
179 </pre>
180
181 </body>
182 </subsection>
183 </section>
184 <section id="networking-tools">
185 <title>Networking Tools</title>
186 <subsection>
187 <body>
188
189 <p>
190 If you don't require any additional networking-related tools (such as ppp or a
191 dhcp client) continue with <uri link="?part=1&amp;chap=10">Configuring the
192 Bootloader</uri>.
193 </p>
194
195 </body>
196 </subsection>
197 <subsection>
198 <title>Optional: Installing a DHCP Client</title>
199 <body>
200
201 <p>
202 If you require Gentoo to automatically obtain an IP address for your network
203 interface(s), you need to install <c>dhcpcd</c> (or any other DHCP client --
204 see <uri link="?part=4&amp;chap=3">Modular Networking</uri> for a list of
205 available DHCP clients). If you don't do this now, you might not be able to
206 connect to the internet after the installation.
207 </p>
208
209 <pre caption="Installing dhcpcd">
210 # <i>emerge dhcpcd</i>
211 </pre>
212
213 </body>
214 </subsection>
215 <subsection>
216 <title>Optional: Installing a PPPoE Client</title>
217 <body>
218
219 <p>
220 If you need <c>ppp</c> to connect to the net, you need to install it.
221 </p>
222
223 <pre caption="Installing ppp">
224 # <i>emerge ppp</i>
225 </pre>
226
227 <p>
228 Now continue with <uri link="?part=1&amp;chap=10">Configuring the
229 Bootloader</uri>.
230 </p>
231
232 </body>
233 </subsection>
234 </section>
235 </sections>

  ViewVC Help
Powered by ViewVC 1.1.20