Browse Source

Merge branch 'trac3022'

Mukund Sivaraman 11 years ago
parent
commit
2459cd14ae
1 changed files with 15 additions and 7 deletions
  1. 15 7
      doc/guide/bind10-guide.xml

+ 15 - 7
doc/guide/bind10-guide.xml

@@ -427,7 +427,7 @@ var/
         <listitem>
         <listitem>
           <para>Go into the source and run configure:
           <para>Go into the source and run configure:
             <screen>$ <userinput>cd bind10-<replaceable>VERSION</replaceable></userinput>
             <screen>$ <userinput>cd bind10-<replaceable>VERSION</replaceable></userinput>
-  $ <userinput>./configure</userinput></screen>
+$ <userinput>./configure</userinput></screen>
           </para>
           </para>
         </listitem>
         </listitem>
 
 
@@ -438,21 +438,29 @@ var/
         </listitem>
         </listitem>
 
 
         <listitem>
         <listitem>
-          <para>Install it as root (to default /usr/local):
+          <para>Install it as root (by default to prefix
+          <filename>/usr/local/</filename>):
             <screen>$ <userinput>make install</userinput></screen>
             <screen>$ <userinput>make install</userinput></screen>
           </para>
           </para>
         </listitem>
         </listitem>
 
 
         <listitem>
         <listitem>
+          <para>Change directory to the install prefix (by default
+          <filename>/usr/local/</filename>):
+            <screen>$ <userinput>cd /usr/local/</userinput></screen>
+          </para>
+        </listitem>
+
+        <listitem>
           <para>Create a user for yourself:
           <para>Create a user for yourself:
-            <screen>$ <userinput>cd /usr/local/etc/bind10/</userinput></screen>
-            <screen>$ <userinput>/usr/local/sbin/b10-cmdctl-usermgr</userinput></screen>
+            <screen>$ <userinput>sbin/b10-cmdctl-usermgr add root</userinput></screen>
+	  and enter a newly chosen password when prompted.
           </para>
           </para>
         </listitem>
         </listitem>
 
 
         <listitem>
         <listitem>
           <para>Start the server (as root):
           <para>Start the server (as root):
-            <screen>$ <userinput>/usr/local/sbin/bind10</userinput></screen>
+            <screen>$ <userinput>sbin/bind10</userinput></screen>
           </para>
           </para>
         </listitem>
         </listitem>
 
 
@@ -461,7 +469,7 @@ var/
 	    configuration.  In another console, enable the authoritative
 	    configuration.  In another console, enable the authoritative
 	    DNS service (by using the <command>bindctl</command> utility
 	    DNS service (by using the <command>bindctl</command> utility
 	    to configure the <command>b10-auth</command> component to
 	    to configure the <command>b10-auth</command> component to
-	    run): <screen>$ <userinput>bindctl</userinput></screen>
+	    run): <screen>$ <userinput>bin/bindctl</userinput></screen>
 	    (Login with the username and password you used above to create a user.)
 	    (Login with the username and password you used above to create a user.)
             <screen>
             <screen>
 &gt; <userinput>config add Init/components b10-auth</userinput>
 &gt; <userinput>config add Init/components b10-auth</userinput>
@@ -481,7 +489,7 @@ var/
 
 
         <listitem>
         <listitem>
           <para>Load desired zone file(s), for example:
           <para>Load desired zone file(s), for example:
-            <screen>$ <userinput>b10-loadzone <replaceable>-c '{"database_file": "/usr/local/var/bind10/zone.sqlite3"}'</replaceable> <replaceable>your.zone.example.org</replaceable> <replaceable>your.zone.file</replaceable></userinput></screen>
+            <screen>$ <userinput>bin/b10-loadzone <replaceable>-c '{"database_file": "/usr/local/var/bind10/zone.sqlite3"}'</replaceable> <replaceable>your.zone.example.org</replaceable> <replaceable>your.zone.file</replaceable></userinput></screen>
           </para>
           </para>
 	  (If you use the sqlite3 data source with the default DB
 	  (If you use the sqlite3 data source with the default DB
 	  file, you can omit the -c option).
 	  file, you can omit the -c option).