Other HCoop tips
To mount your HCoop home directory on your local system and work with the files easily:
| # emerge openafs mit-krb5 |
- Change /etc/openafs/ThisCell to:
- Add the AFS cell this workstation belongs to /etc/openafs/CellServDB
>hcoop.net #hcoop.net
69.90.123.67 #deleuze.hcoop.net |
- 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 |
| # rc-update add openafs-client defaults |
| # /etc/init.d/openafs-client start |
- Check that the libafs module is loaded, otherwise you'll get errors and will not connect.
-
where user is your username. Pay attention to HCOOP.NET being in caps.
-
Now your files will be mounted in:
| /afs/hcoop.net/user/u/us/user/ |
wher 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.