1 |
swift 11/09/21 19:47:55 |
2 |
|
3 |
Modified: gentoo-x86-quickinstall-system.xml |
4 |
Log: |
5 |
Write hostname too during installation, variable is important for certain services to start (like mysql). reported by Eric Lajoie through e-mail |
6 |
|
7 |
Revision Changes Path |
8 |
1.5 xml/htdocs/doc/en/gentoo-x86-quickinstall-system.xml |
9 |
|
10 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/gentoo-x86-quickinstall-system.xml?rev=1.5&view=markup |
11 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/gentoo-x86-quickinstall-system.xml?rev=1.5&content-type=text/plain |
12 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/gentoo-x86-quickinstall-system.xml?r1=1.4&r2=1.5 |
13 |
|
14 |
Index: gentoo-x86-quickinstall-system.xml |
15 |
=================================================================== |
16 |
RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/gentoo-x86-quickinstall-system.xml,v |
17 |
retrieving revision 1.4 |
18 |
retrieving revision 1.5 |
19 |
diff -u -r1.4 -r1.5 |
20 |
--- gentoo-x86-quickinstall-system.xml 23 Aug 2011 15:12:17 -0000 1.4 |
21 |
+++ gentoo-x86-quickinstall-system.xml 21 Sep 2011 19:47:55 -0000 1.5 |
22 |
@@ -1,11 +1,11 @@ |
23 |
<?xml version='1.0' encoding="UTF-8"?> |
24 |
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/gentoo-x86-quickinstall-system.xml,v 1.4 2011/08/23 15:12:17 swift Exp $ --> |
25 |
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/gentoo-x86-quickinstall-system.xml,v 1.5 2011/09/21 19:47:55 swift Exp $ --> |
26 |
<!DOCTYPE included SYSTEM "/dtd/guide.dtd"> |
27 |
|
28 |
<included> |
29 |
|
30 |
-<version>4</version> |
31 |
-<date>2011-08-23</date> |
32 |
+<version>5</version> |
33 |
+<date>2011-09-21</date> |
34 |
|
35 |
<section> |
36 |
<title>Configure the system</title> |
37 |
@@ -59,8 +59,9 @@ |
38 |
Configure your network in <path>/etc/conf.d/net</path>. Add the <c>net.eth0</c> |
39 |
init script to the default run level. If you have multiple NICs, symlink them |
40 |
to the <c>net.eth0</c> init script and add them to the default run level as |
41 |
-well. Either edit <path>/etc/conf.d/net</path> with <c>nano</c> or use the |
42 |
-following commands: |
43 |
+well. Don't forget to set your hostname too. Either edit |
44 |
+<path>/etc/conf.d/net</path> and <path>/etc/conf.d/hostname</path> with |
45 |
+<c>nano</c> or use the following commands: |
46 |
</p> |
47 |
|
48 |
<pre caption="Configure networking"> |
49 |
@@ -69,6 +70,7 @@ |
50 |
livecd init.d # <i>cd ../conf.d</i> |
51 |
livecd conf.d # <i>echo 'config_eth0="192.168.1.10 netmask 255.255.255.0 brd 192.168.1.255"' >> net</i> |
52 |
livecd conf.d # <i>echo 'routes_eth0="default via 192.168.1.1"' >> net</i> |
53 |
+livecd conf.d # <i>echo 'hostname="myhostname"' > hostname</i> |
54 |
livecd conf.d # <i>rc-update add net.eth0 default</i> |
55 |
<comment>(If you compiled your network card driver as a module, add it to /etc/conf.d/modules</comment> |
56 |
livecd conf.d # <i>echo 'modules="r8169"' >> /etc/conf.d/modules</i> |