1 | <?xml version='1.0' encoding='UTF-8'?> |
1 | <?xml version='1.0' encoding='UTF-8'?> |
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-config.xml,v 1.32 2004/03/29 19:11:27 swift Exp $ --> |
7 | <!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-config.xml,v 1.33 2004/04/15 07:06:36 swift Exp $ --> |
8 | |
8 | |
9 | <sections> |
9 | <sections> |
10 | <section> |
10 | <section> |
11 | <title>Filesystem Information</title> |
11 | <title>Filesystem Information</title> |
12 | <subsection> |
12 | <subsection> |
13 | <title>What is fstab?</title> |
13 | <title>What is fstab?</title> |
14 | <body> |
14 | <body> |
15 | |
15 | |
16 | <p> |
16 | <p> |
17 | Under Linux, all partitions used by the system must be listed in |
17 | Under Linux, all partitions used by the system must be listed in |
18 | <path>/etc/fstab</path>. This file contains the mountpoints of those partitions |
18 | <path>/etc/fstab</path>. This file contains the mountpoints of those partitions |
19 | (where they are seen in the file system structure), how they should be mounted |
19 | (where they are seen in the file system structure), how they should be mounted |
20 | (special options) and when (automatically or not, can users mount those or not, |
20 | (special options) and when (automatically or not, can users mount those or not, |
21 | etc.). |
21 | etc.). |
22 | </p> |
22 | </p> |
… | |
… | |
154 | |
154 | |
155 | <p> |
155 | <p> |
156 | Reread your <path>/etc/fstab</path>, save and quit to continue. |
156 | Reread your <path>/etc/fstab</path>, save and quit to continue. |
157 | </p> |
157 | </p> |
158 | |
158 | |
159 | </body> |
159 | </body> |
160 | </subsection> |
160 | </subsection> |
161 | </section> |
161 | </section> |
162 | <section> |
162 | <section> |
163 | <title>Networking Information</title> |
163 | <title>Networking Information</title> |
164 | <subsection> |
164 | <subsection> |
165 | <title>Hostname, Domainname etc.</title> |
165 | <title>Hostname, Domainname etc.</title> |
166 | <body> |
166 | <body> |
167 | |
167 | |
168 | <p> |
168 | <p> |
169 | One of the choices the user has to make is name his PC. This seems to be quite |
169 | One of the choices the user has to make is name his/her PC. This seems to be |
170 | easy, but <e>lots</e> of users are having difficulties finding the appropriate |
170 | quite easy, but <e>lots</e> of users are having difficulties finding the |
171 | name for their Linux-pc. To speed things up, know that any name you choose can |
171 | appropriate name for their Linux-pc. To speed things up, know that any name you |
172 | be changed afterwards. For all we care, you can just call your system |
172 | choose can be changed afterwards. For all we care, you can just call your system |
173 | <c>tux</c> and domain <c>homenetwork</c>. |
173 | <c>tux</c> and domain <c>homenetwork</c>. |
174 | </p> |
174 | </p> |
175 | |
175 | |
176 | <p> |
176 | <p> |
177 | We use these values in the next examples. First we set the hostname: |
177 | We use these values in the next examples. First we set the hostname: |
178 | </p> |
178 | </p> |
179 | |
179 | |
180 | <pre caption="Setting the hostname"> |
180 | <pre caption="Setting the hostname"> |
181 | # <i>echo tux > /etc/hostname</i> |
181 | # <i>echo tux > /etc/hostname</i> |
182 | </pre> |
182 | </pre> |
183 | |
183 | |
184 | <p> |
184 | <p> |
185 | Second we set the domainname: |
185 | Second we set the domainname: |
186 | </p> |
186 | </p> |
187 | |
187 | |