AFS

  • If you plan to use Kerberos-protected AFS shares with “klog”, make sure you have set up your Kerberos Authentication, so you get Kerberos tickets and your UID is set properly. If you only plan to use AFS to access software programs such as Matlab, you do not need to set up Kerberos.
  • Following instructions elsewhere:
    1. install module-assistant, openafs-client, openafs-krb5
    2. When prompted, the AFS cell is “bu.edu”:
      • Q: What AFS cell does your workstation belong to?
           A: bu.edu
    3. Choose an AFS cache size to store remote files locally (I use 250000=250MB, BULinux default is 262MB), you can edit this list later using /var/cache/openafs:
      • Q: How large is your AFS cache (kB)?
        A: 250000
    4. Set the AFS DB servers corresponding to kerberos1(2,3).bu.edu, editable later at /etc/openafs/CellServDB:
      • Q: What hosts are DB servers for your home cell?
        A: 128.197.27.84 128.197.27.92 128.197.26.101
    5. Run module-assistant to build AFS kernel modules, and then install them (you may need to rebuild these after kernel updates):
      • sudo module-assistant prepare openafs-modules
        sudo module-assistant auto-build openafs-modules
        sudo dpkg -i /usr/src/openafs-modules*
        sudo depmod
    6. If all went well, start up AFS:
      • sudo /etc/init.d/openafs-client start
  • Check that AFS has mounted properly by looking in /afs/bu/
  • If you are using NetworkManager to configure your network interfaces, you must set openafs-client to start later in the boot process, or your system will hang (this may only be a bug in the 8.10 release). If you’re not using wifi, we recommend configuring the network with /etc/network/interfaces.
    • The following commands will configure the openafs-client to start later in the boot process.
      sudo update-rc.d -f openafs-client remove
      sudo update-rc.d openafs-client start 99 2 3 4 5 . stop 20 0 1 6 .

 

To run MATLAB

 

  • From a terminal:
    • /afs/bu/x86_bulnx50/IT/bin/matlab
  • As a MATLAB icon, set the command to be (the -nosplash is optional):
    • /afs/bu/x86_bulnx50/IT/bin/matlab -nosplash -desktop
  • Note: The first time you run MATLAB or access the help files, it will be slow. Your computer needs to cache files locally before it becomes fast.