To mount your HCoop home directory on your local system and work with the files easily:
In Tuxedo OS:
| # aptitude install krb5-user openafs-client openafs-krb5 |
- when the installer asks for setup choices, enter the following options:
| Installer question |
Enter |
| AFS cell this workstation belongs to: |
hcoop.net |
| Size of AFS cache in kB: |
50000 (unchanged) |
| Kerberos servers for your realm: |
HCOOP.NET |
| Administrative server for your realm: |
HCOOP.NET |
- Restart the OpenAFS Client:
| $ service openafs-client restart |
- Mount HCoop AFS share:
where user in the above is your HCoop username. Pay attention - HCOOP.NET must be in caps.
Now your files will be mounted in:
| /afs/hcoop.net/user/u/us/user/ |
where u/us/user refers to your HCoop username: first the first letter, then first two letters, and finally your full username.
Now you can copy files to and fro and work with your HCoop home as if it was a local file system.
Deprecated - old approach in Debian:
| # aptitude install openafs-client openafs-krb5 krb5-user |
- When the installer asks, enter:
for AFS cell this workstation belongs to
for DB server host names for your home cell
and accept the default choices for Size of AFS cache, Dynamically generate contents of /afs, and Run Openafs client now and on startup.
- Edit /etc/krb5.conf
In [lidbefaults] section, change the default_realm line to:
| default_realm = HCOOP.NET |
in the same section, add:
- in the [realms] section add:
HCOOP.NET = {
kdc = kerberos.hcoop.net
admin_server = kerberos.hcoop.net
default_domain = hcoop.net
} |
- in the [domain_realm] section add:
hcoop.net = HCOOP.NET
.hcoop.net = HCOOP.NET |
- Restart openafs-client:
| # /etc/init.d/openafs-client restart |
- Check that the openafs module is loaded, otherwise you'll get errors and will not connect:
- Initialize Kerberos 5 library:
where user is your username. Pay attention - HCOOP.NET must be in caps.
- Now your files will be mounted in:
| $ /afs/hcoop.net/user/u/us/user/ |
where u/us/user refers to the first letter, first two letters, and finally your full username.
- Now you can copy files to and fro and work with your HCoop home as if it was a local file system.
References:
[ https://wiki.hcoop.net/MemberManual/TransferringFiles/OpenAFS/Debian ]