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

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

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.2 Revision 1.3
2<section> 2<section>
3<title>System Logger</title> 3<title>System Logger</title>
4<body> 4<body>
5 5
6<p> 6<p>
7<c>syslog-ng</c>, <c>metalogd</c>, ... 7When we mentioned what <e>stage3</e> was, we said that it contained all
8necessary system tools of which we cannot provide a choice to our users. We also
9said that the we would install the other tools later on. Well, here we are :)
10</p>
11
12<p>
13The first tool you need to decide on has to provide logging facilities for your
14system. Unix and Linux have an excellent history of logging capabilities -- if
15you want you can log everything that happens on your system in logfiles. This
16happens through the <e>system logger</e>.
17</p>
18
19<p>
20Gentoo offers several system loggers to choose from. There are <c>sysklogd</c>,
21which is the traditional set of system logging daemons, <c>msyslog</c>, a
22flexible system logger with a modularized design, <c>syslog-ng</c>, an advanced
23system logger, and <c>metalog</c> which is a highly-configurable system logger.
24</p>
25
26<p>
27If you can't choose one, use <c>syslog-ng</c> as it is very powerfull yet comes
28with a great default configuration.
29</p>
30
31<p>
32To install the system logger of your choice, <c>emerge</c> it and have it added
33to the default runlevel using <c>rc-update</c>. The following example installs
34<c>syslog-ng</c>. Ofcourse substitute with your system logger:
35</p>
36
37<pre caption="Installing a system logger">
38# <i>emerge -k syslog-ng</i>
39# <i>rc-update add syslog-ng default</i>
40</pre>
41
42</body>
43</section>
44<section>
45<title>Optional: Cron Daemon</title>
46<body>
47
48<p>
49Next is the cron daemon. Although it is optional and not required for your
50system, it is wise to install one. But what is a cron daemon? A cron daemon
51executes scheduled commands. It is very handy if you need to execute some
52command regularly (for instance daily, weekly or monthly).
53</p>
54
55<p>
56Gentoo offers three possible cron daemons: <c>dcron</c>, <c>fcron</c> and
57<c>vcron</c>. Installing one of them is similar with installing a system logger.
58However, <c>dcron</c> and <c>frcon</c> require an extra configuration command,
59namely <c>crontab /etc/crontab</c>. If you don't know what to choose, use
60<c>vcron</c>.
61</p>
62
63<pre caption="Installing a cron daemon">
64# <i>emerge -k vcron</i>
65# <i>rc-update add vcron default</i>
66<comment>(Only if you have chosen dcron or fcron:)</comment> # <i>crontab /etc/crontab</i>
67</pre>
68
69</body>
70</section>
71<section>
72<title>File System Tools</title>
73<body>
74
75<p>
76Depending on what file systems you are using, you need to install the necessary
77file system utilities (for checking the filesystem integrity, creating
78additional file systems etc.).
79</p>
80
81<p>
82The following table lists the tools you need to install if you use a certain
83file system:
84</p>
85
86<table>
87<tr>
88 <th>File System</th>
89 <th>Tool</th>
90 <th>Install Command</th>
91</tr>
92<tr>
93 <ti>XFS</ti>
94 <ti>xfsprogs</ti>
95 <ti><c>emerge -k xfsprogs</c></ti>
96</tr>
97<tr>
98 <ti>ReiserFS</ti>
99 <ti>reiserfsprogs</ti>
100 <ti><c>emerge -k reiserfsprogs</c></ti>
101</tr>
102<tr>
103 <ti>JFS</ti>
104 <ti>jfsutils</ti>
105 <ti><c>emerge -k jfsutils</c></ti>
106</tr>
107</table>
108
109<p>
110If you are an LVM users, you also need to install <c>lvm-user</c>:
111</p>
112
113<pre caption="Installing LVM utilities">
114# <i>emerge -k lvm-user</i>
115</pre>
116
117<p>
118If you don't need <c>rp-pppoe</c> to connect to the Internet, continue with <uri
119link="?part=1&amp;chap=11">Finalising your Gentoo Installation</uri>. Otherwise
120continue with <uri link="#doc_chap4">Optional: Networking Tools</uri>.
8</p> 121</p>
9 122
10</body> 123</body>
11</section> 124</section>
12<section> 125<section>
13<title>Cron Daemon</title> 126<title>Optional: Networking Tools</title>
14<body> 127<body>
15 128
16<p> 129<p>
17<c>vcron</c>, <c>dcron</c>, ... 130If you need <c>rp-pppoe</c> to connect to the net, you need to install it.
131GRP-users (precompiled packages) need to use the following command (note the
132capital K):
18</p> 133</p>
19 134
20</body> 135<pre caption="Installing rp-pppoe with GRP">
21</section> 136<comment>(Only for GRP users:)</comment>
22<section> 137# <i>emerge -K rp-pppoe</i>
23<title>Filesystem Tools</title> 138</pre>
24<body>
25 139
26<p> 140<p>
27<c>reiserfsprogs</c>, <c>lvm-user</c>. 141Other users need to install <c>rp-pppoe</c> using the following command:
28</p> 142</p>
29 143
30</body> 144<pre caption="Installing rp-pppoe for regular users">
31</section> 145# <i>USE="-X" emerge rp-pppoe</i>
32<section> 146</pre>
33<title>Networking Tools</title>
34<body>
35 147
36<p> 148<p>
37<c>rp-pppoe</c>. <c>pcmcia-cs</c> is already installed in previous 149The <c>USE="-X"</c> will prohibit XFree to be installed as a dependency
38chapter. 150(<c>rp-pppoe</c> has graphical tools; if you want those enabled, you can
151recompile <c>rp-pppoe</c> later on or have XFree installed now -- which takes a
152long time to compile).
153</p>
154
155<p>
156Now continue with <uri link="?part=1&amp;chap=11">Finalising your Gentoo
157Installation</uri>.
39</p> 158</p>
40 159
41</body> 160</body>
42</section> 161</section>
43</sections> 162</sections>

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

  ViewVC Help
Powered by ViewVC 1.1.20