| … | |
… | |
| 2 | <!DOCTYPE sections SYSTEM "/dtd/book.dtd"> |
2 | <!DOCTYPE sections SYSTEM "/dtd/book.dtd"> |
| 3 | |
3 | |
| 4 | <!-- The content of this document is licensed under the CC-BY-SA license --> |
4 | <!-- The content of this document is licensed under the CC-BY-SA license --> |
| 5 | <!-- See http://creativecommons.org/licenses/by-sa/1.0 --> |
5 | <!-- See http://creativecommons.org/licenses/by-sa/1.0 --> |
| 6 | |
6 | |
| 7 | <!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-tools.xml,v 1.27 2004/11/09 13:01:52 swift Exp $ --> |
7 | <!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-tools.xml,v 1.28 2004/11/15 12:47:47 swift Exp $ --> |
| 8 | |
8 | |
| 9 | <sections> |
9 | <sections> |
| 10 | |
10 | |
| 11 | <version>1.26</version> |
11 | <version>1.26</version> |
| 12 | <date>October 9, 2004</date> |
12 | <date>October 9, 2004</date> |
| … | |
… | |
| 35 | system logger. Others might be available through Portage as well - our number of |
35 | system logger. Others might be available through Portage as well - our number of |
| 36 | available packages increases on a daily basis. |
36 | available packages increases on a daily basis. |
| 37 | </p> |
37 | </p> |
| 38 | |
38 | |
| 39 | <p> |
39 | <p> |
|
|
40 | If you plan on using <c>sysklogd</c> or <c>syslog-ng</c> you might want to |
|
|
41 | install <c>logrotate</c> afterwards as those system loggers don't provide any |
|
|
42 | rotation mechanism for the log files. |
|
|
43 | </p> |
|
|
44 | |
|
|
45 | <p> |
| 40 | If you can't choose one, use <c>metalog</c> as it is very powerful yet comes |
46 | If you can't choose one, use <c>metalog</c> as it is very powerful yet comes |
| 41 | with a great default configuration. |
47 | with a great default configuration. |
| 42 | </p> |
48 | </p> |
| 43 | |
49 | |
| 44 | <p> |
50 | <p> |
| 45 | To install the system logger of your choice, <c>emerge</c> it and have it added |
51 | To install the system logger of your choice, <c>emerge</c> it and have it added |
| 46 | to the default runlevel using <c>rc-update</c>. The following example installs |
52 | to the default runlevel using <c>rc-update</c>. The following example installs |
| 47 | <c>metalog</c>. Of course substitute with your system logger: |
53 | <c>metalog</c>. Of course substitute with your system logger: |
| 48 | </p> |
54 | </p> |
| 49 | |
55 | |
| 50 | <warn> |
|
|
| 51 | The stage3 tarballs of the 2004.2 release erroneously contain the sysklogd |
|
|
| 52 | logger. You will need to unmerge this logger before emerging a new one. |
|
|
| 53 | </warn> |
|
|
| 54 | |
|
|
| 55 | <pre caption="Installing a system logger"> |
56 | <pre caption="Installing a system logger"> |
| 56 | <comment>(First unmerge the sysklogd logger if you use a stage3 tarball)</comment> |
|
|
| 57 | # <i>emerge unmerge sysklogd</i> |
|
|
| 58 | <comment>(You will also need to remove the sysklogd init script)</comment> |
|
|
| 59 | # <i>rm /etc/init.d/sysklogd</i> |
|
|
| 60 | |
|
|
| 61 | <comment>(Now install the system logger of your choice)</comment> |
|
|
| 62 | # <i>emerge metalog</i> |
57 | # <i>emerge metalog</i> |
| 63 | # <i>rc-update add metalog default</i> |
58 | # <i>rc-update add metalog default</i> |
| 64 | </pre> |
59 | </pre> |
| 65 | |
60 | |
| 66 | </body> |
61 | </body> |
| … | |
… | |
| 105 | If you want to index your system's files so you are able to quickly |
100 | If you want to index your system's files so you are able to quickly |
| 106 | locate them using the <c>locate</c> tool, you need to install |
101 | locate them using the <c>locate</c> tool, you need to install |
| 107 | <c>sys-apps/slocate</c>. |
102 | <c>sys-apps/slocate</c>. |
| 108 | </p> |
103 | </p> |
| 109 | |
104 | |
| 110 | <note> |
|
|
| 111 | If you are not installing Gentoo using cascading profiles slocate will |
|
|
| 112 | already be part of your system. Cascading profiles are not used by default yet |
|
|
| 113 | so if you don't understand it you can assume that you're not using cascading |
|
|
| 114 | profiles. |
|
|
| 115 | </note> |
|
|
| 116 | |
|
|
| 117 | <pre caption="Installing slocate"> |
105 | <pre caption="Installing slocate"> |
| 118 | # <i>emerge slocate</i> |
106 | # <i>emerge slocate</i> |
| 119 | </pre> |
107 | </pre> |
| 120 | |
108 | |
| 121 | </body> |
109 | </body> |
| … | |
… | |
| 187 | interface(s), you need to install <c>dhcpcd</c> (or any other DHCP Client) |
175 | interface(s), you need to install <c>dhcpcd</c> (or any other DHCP Client) |
| 188 | on your system. If you don't do this now, you might not be able to connect |
176 | on your system. If you don't do this now, you might not be able to connect |
| 189 | to the internet after the installation! |
177 | to the internet after the installation! |
| 190 | </p> |
178 | </p> |
| 191 | |
179 | |
| 192 | <note> |
|
|
| 193 | If you are not installing Gentoo using cascading profiles dhcpcd will |
|
|
| 194 | already be part of your system. Cascading profiles are not used by default yet |
|
|
| 195 | so if you don't understand it you can assume that you're not using cascading |
|
|
| 196 | profiles. |
|
|
| 197 | </note> |
|
|
| 198 | |
|
|
| 199 | <pre caption="Installing dhcpcd"> |
180 | <pre caption="Installing dhcpcd"> |
| 200 | # <i>emerge dhcpcd</i> |
181 | # <i>emerge dhcpcd</i> |
| 201 | </pre> |
182 | </pre> |
| 202 | |
183 | |
| 203 | </body> |
184 | </body> |