swift 05/07/02 09:40:23 Modified: xml/htdocs/doc/en openafs.xml Log: Fix pre captions
Revision Changes Path 1.18 +27 -27 xml/htdocs/doc/en/openafs.xml file : http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/openafs.xml?rev=1.18&content-type=text/x-cvsweb-markup&cvsroot=gentoo plain: http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/openafs.xml?rev=1.18&content-type=text/plain&cvsroot=gentoo diff : http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/openafs.xml.diff?r1=1.17&r2=1.18&cvsroot=gentoo Index: openafs.xml =================================================================== RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/openafs.xml,v retrieving revision 1.17 retrieving revision 1.18 diff -u -r1.17 -r1.18 --- openafs.xml 22 Sep 2004 11:42:11 -0000 1.17 +++ openafs.xml 2 Jul 2005 09:40:23 -0000 1.18 @@ -1,5 +1,5 @@ <?xml version='1.0' encoding="UTF-8"?> -<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/openafs.xml,v 1.17 2004/09/22 11:42:11 swift Exp $ --> +<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/openafs.xml,v 1.18 2005/07/02 09:40:23 swift Exp $ --> <!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> @@ -24,8 +24,8 @@ <license/> -<version>0.7</version> -<date>September 22, 2004</date> +<version>0.8</version> +<date>2005-07-02</date> <chapter> <title>Overview</title> @@ -119,7 +119,7 @@ really want read it if it is up to you to administer a AFS Server. </p> -<pre> +<pre caption="Installing afsdoc"> # <i>emerge app-doc/afsdoc</i> </pre> </body> @@ -145,7 +145,7 @@ You should adjust the two files CellServDB and ThisCell before you build the afs client. (These files are in <path>/usr/portage/net-fs/openafs/files</path>) </p> - <pre> + <pre caption="Adjusting CellServDB and ThisCell"> CellServDB: >netlabs #Cell name 10.0.0.1 #storage @@ -170,7 +170,7 @@ <section> <title>Building the Client</title> <body> -<pre> +<pre caption="Installing openafs"> # <i>emerge net-fs/openafs</i> </pre> <p> @@ -189,7 +189,7 @@ You should always have a running afs server in your domain when trying to start the afs client. You're system won't boot until it gets some timeout if your afs server is down. (and this is quite a long long time) </warn> -<pre> +<pre caption="Adding afs to the default runlevel"> # <i>rc-update add afs default</i> </pre> </body> @@ -205,7 +205,7 @@ The following command will install all necessary binaries for setting up a AFS Server <e>and</e> Client. </p> -<pre> +<pre caption="Installing openafs"> # <i>emerge net-fs/openafs</i> </pre> </body> @@ -216,7 +216,7 @@ <p> You need to remove the sample CellServDB and ThisCell file first. </p> -<pre> +<pre caption="Remove sample files"> # <i>rm /usr/vice/etc/ThisCell</i> # <i>rm /usr/vice/etc/CellServDB</i> </pre> @@ -232,14 +232,14 @@ and must not leave the machine unattended until you restart the BOS Server with authorization checking enabled. Well this is what the AFS documentation says :) </warn> -<pre> +<pre caption="Initialize the Basic OverSeer Server"> # <i>/usr/afs/bin/bosserver -noauth &</i> </pre> <p> Verify that the BOS Server created <path>/usr/vice/etc/CellServDB</path> and <path>/usr/vice/etc/ThisCell</path> </p> -<pre> +<pre caption="Check if CellServDB and ThisCell are created"> # <i>ls -al /usr/vice/etc/</i> -rw-r--r-- 1 root root 41 Jun 4 22:21 CellServDB -rw-r--r-- 1 root root 7 Jun 4 22:21 ThisCell @@ -266,7 +266,7 @@ <p> Run the <b>bos setcellname</b> command to set the cell name: </p> -<pre> +<pre caption="Set the cell name"> # <i>/usr/afs/bin/bos setcellname <server name> <cell name> -noauth</i> </pre> </body> @@ -301,7 +301,7 @@ Very important :)</ti> </tr> </table> -<pre> +<pre caption="Create entries for the database processes"> # <i>/usr/afs/bin/bos create <server name> kaserver simple /usr/afs/bin/kaserver -cell <cell name> -noauth</i> # <i>/usr/afs/bin/bos create <server name> buserver simple @@ -314,7 +314,7 @@ <p> You can verify that all servers are running with the <b>bos status</b> command: </p> -<pre> +<pre caption="Check if all the servers are running"> # <i>/usr/afs/bin/bos status <server name> -noauth</i> Instance kaserver, currently running normally. Instance buserver, currently running normally. @@ -341,7 +341,7 @@ <p> Enter <b>kas</b> interactive mode </p> -<pre> +<pre caption="Entering the interactive mode"> # <i>/usr/afs/bin/kas -cell <cell name> -noauth</i> ka> <i>create afs</i> initial_password: @@ -374,7 +374,7 @@ Run the <b>bos adduser</b> command, to add the <b>admin</b> user to the <path>/usr/afs/etc/UserList</path>. </p> -<pre> +<pre caption="Add the admin user to the UserList"> # <i>/usr/afs/bin/bos adduser <server name> admin -cell <cell name> -noauth</i> </pre> <p> @@ -385,7 +385,7 @@ If asked for the input key, give the password you entered when creating the afs entry with <b>kas</b> </note> -<pre> +<pre caption="Entering the password"> # <i>/usr/afs/bin/bos addkey <server name> -kvno 0 -cell <cell name> -noauth</i> input key: Retype input key: @@ -402,7 +402,7 @@ <b>admin</b> that assigns a different UID use the <b>-id</b> argument to create matching UID's </note> -<pre> +<pre caption="Create a Protection Database entry for the database user"> # <i>/usr/afs/bin/pts createuser -name admin -cell <cell name> [-id <AFS UID>] -noauth</i> </pre> <p> @@ -410,7 +410,7 @@ of the system:administrators group, and the <b>pts membership</b> command to verify the new membership </p> -<pre> +<pre caption="Make admin a member of the administrators group and verify"> # <i>/usr/afs/bin/pts adduser admin system:administrators -cell <cell name> -noauth</i> # <i>/usr/afs/bin/pts membership admin -cell <cell name> -noauth</i> Groups admin (id: 1) is a member of: @@ -419,7 +419,7 @@ <p> Restart all AFS Server processes </p> -<pre> +<pre caption="Restart all AFS server processes"> # <i>/usr/afs/bin/bos restart <server name> -all -cell <cell name> -noauth</i> </pre> </body> @@ -431,7 +431,7 @@ Start the <b>fs</b> process, which consists of the File Server, Volume Server and Salvager (fileserver, volserver and salvager processes). </p> -<pre> +<pre caption="Start the fs process"> # <i>/usr/afs/bin/bos create <server name> fs fs /usr/afs/bin/fileserver /usr/afs/bin/volserver /usr/afs/bin/salvager @@ -440,7 +440,7 @@ <p> Verify that all processes are running </p> -<pre> +<pre caption="Check if all processes are running"> # <i>/usr/afs/bin/bos status <server name> -long -noauth</i> Instance kaserver, (type is simple) currently running normally. Process last started at Mon Jun 4 21:07:17 2001 (2 proc starts) @@ -482,7 +482,7 @@ AFS Server partitions. By convention these partitions are named <path>/vicepx</path>, where x is in the range of a-z. -- [email protected] mailing list
