Copying Client Files to the Local Disk
| Chapter 2. Installing the First AFS Machine |

## Copying Client Files to the Local Disk

You need only undertake the steps in this section, if you are using a tar file distribution, or one built from scratch. Packaged distributions, such as RPMs or DEBs will already have installed the necessary files in the correct locations.

Before installing and configuring the AFS client, copy the necessary files from the tarball to the local /usr/vice/etc directory.

1. If you have not already done so, unpack the distribution tarball for this machine's system type into a suitable location on the filesystem, such as /tmp/afsdist. If you use a different location, substitue that in the examples that follow.

2. Copy files to the local /usr/vice/etc directory.

   This step places a copy of the AFS initialization script (and related files, if applicable) into the /usr/vice/etc directory. In the preceding instructions for incorporating AFS into the kernel, you copied the script directly to the operating system's conventional location for initialization files. When you incorporate AFS into the machine's startup sequence in a later step, you can choose to link the two files.

   On some system types that use a dynamic kernel loader program, you previously copied AFS library files into a subdirectory of the /usr/vice/etc directory. On other system types, you copied the appropriate AFS library file directly to the directory where the operating system accesses it. The following commands do not copy or recopy the AFS library files into the /usr/vice/etc directory, because on some system types the library files consume a large amount of space. If you want to copy them, add the -r flag to the first cp command and skip the second cp command.

          # cd /tmp/afsdist/sysname/root.client/usr/vice/etc
          # cp -p  *  /usr/vice/etc
          # cp -rp  C  /usr/vice/etc

Overview: Installing Client Functionality |  | Defining Cell Membership for Client Processes