Gentoo Archives: gentoo-doc-cvs

From: "Sven Vermeulen (swift)" <swift@g.o>
To: gentoo-doc-cvs@l.g.o
Subject: [gentoo-doc-cvs] gentoo commit in xml/htdocs/doc/en: gentoo-x86-quickinstall-system.xml
Date: Wed, 21 Sep 2011 19:48:06
Message-Id: 20110921194755.77C3A20035@flycatcher.gentoo.org
swift       11/09/21 19:47:55

  Modified:             gentoo-x86-quickinstall-system.xml
  Log:
  Write hostname too during installation, variable is important for certain services to start (like mysql). reported by Eric Lajoie through e-mail

Revision  Changes    Path
1.5                  xml/htdocs/doc/en/gentoo-x86-quickinstall-system.xml

file : http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/gentoo-x86-quickinstall-system.xml?rev=1.5&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/gentoo-x86-quickinstall-system.xml?rev=1.5&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/gentoo-x86-quickinstall-system.xml?r1=1.4&r2=1.5

Index: gentoo-x86-quickinstall-system.xml
===================================================================
RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/gentoo-x86-quickinstall-system.xml,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- gentoo-x86-quickinstall-system.xml	23 Aug 2011 15:12:17 -0000	1.4
+++ gentoo-x86-quickinstall-system.xml	21 Sep 2011 19:47:55 -0000	1.5
@@ -1,11 +1,11 @@
 <?xml version='1.0' encoding="UTF-8"?>
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/gentoo-x86-quickinstall-system.xml,v 1.4 2011/08/23 15:12:17 swift Exp $ -->
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/gentoo-x86-quickinstall-system.xml,v 1.5 2011/09/21 19:47:55 swift Exp $ -->
 <!DOCTYPE included SYSTEM "/dtd/guide.dtd">
 
 <included>
 
-<version>4</version>
-<date>2011-08-23</date>
+<version>5</version>
+<date>2011-09-21</date>
 
 <section>
 <title>Configure the system</title>
@@ -59,8 +59,9 @@
 Configure your network in <path>/etc/conf.d/net</path>. Add the <c>net.eth0</c>
 init script to the default run level. If you have multiple NICs, symlink them
 to the <c>net.eth0</c> init script and add them to the default run level as
-well. Either edit <path>/etc/conf.d/net</path> with <c>nano</c> or use the
-following commands:
+well. Don't forget to set your hostname too. Either edit
+<path>/etc/conf.d/net</path> and <path>/etc/conf.d/hostname</path> with
+<c>nano</c> or use the following commands:
 </p>
 
 <pre caption="Configure networking">
@@ -69,6 +70,7 @@
 livecd init.d # <i>cd ../conf.d</i>
 livecd conf.d # <i>echo 'config_eth0="192.168.1.10 netmask 255.255.255.0 brd 192.168.1.255"' >> net</i>
 livecd conf.d # <i>echo 'routes_eth0="default via 192.168.1.1"' >> net</i>
+livecd conf.d # <i>echo 'hostname="myhostname"' > hostname</i>
 livecd conf.d # <i>rc-update add net.eth0 default</i>
 <comment>(If you compiled your network card driver as a module, add it to /etc/conf.d/modules</comment>
 livecd conf.d # <i>echo 'modules="r8169"' >> /etc/conf.d/modules</i>