SysAdmin‎ > ‎

451A

positano-vpn, amalfi-vpn and scanzano-vpn are here:

Hosts Configuration

For example (grab from positano-vpn):

10.24.0.11   positano-vpn.brooklyn.cuny.edu positano-vpn

10.24.0.1    policoro-vpn.brooklyn.cuny.edu policoro-vpn
10.24.0.2    scilla-vpn.brooklyn.cuny.edu scilla-vpn
10.24.0.3    cetraro-vpn.brooklyn.cuny.edu cetraro-vpn
10.24.0.4    agropoli-vpn.brooklyn.cuny.edu agropoli-vpn
10.24.0.5    diamante-vpn.brooklyn.cuny.edu diamante-vpn
10.24.0.6    otranto-vpn.brooklyn.cuny.edu otranto-vpn
10.24.0.7    lecce-vpn.brooklyn.cuny.edu lecce-vpn
10.24.0.8    forio-vpn.brooklyn.cuny.edu forio-vpn
10.24.0.9    scanzano-vpn.brooklyn.cuny.edu scanzano-vpn
10.24.0.10   amalfi-vpn.brooklyn.cuny.edu amalfi-vpn
10.24.0.11   positano-vpn.brooklyn.cuny.edu positano-vpn
10.24.0.12   maratea-vpn.brooklyn.cuny.edu maratea-vpn
10.24.0.13   sibari-vpn.brooklyn.cuny.edu sibari-vpn

127.0.0.1   localhost localhost.localdomain localhost4 localhost4.localdomain4
::1         localhost localhost.localdomain localhost6 localhost6.localdomain6



DHCP configuration

the machines by default get hostname and domainname from the College's DHCP server. This needs to be overridden otherwise the nfsidmap utility gets confused. To do so place something like this in  /etc/dhcp/dhclient-eth1.conf :

interface "eth1"  
   {    
     supersede host-name "positano-vpn";
     supersede domain-name "brooklyn.cuny.edu";  
   }

OpenVPN Configuration

Make sure /etc/openvpn/client.conf looks like this (remote is specified by IP):

client
dev tun
proto udp
remote 146.245.250.157 1194

;resolv-retry infinite

nobind

# add l8r
;user nobody
;group nogroup

persist-key
persist-tun

ca /etc/openvpn/ca.crt
cert /etc/openvpn/positano.crt
key /etc/openvpn/positano.key

verb 3

OpenLDAP Configuration

Make sure the IP of policoro-vpn (10.24.0.1) is listed in both: /etc/openvpn/ldap.conf:

URI ldap://10.24.0.1
BASE dc=brooklyn,dc=cuny,dc=edu

and /etc/nslcd.conf:

uri ldap://10.24.0.1
base dc=brooklyn,dc=cuny,dc=edu
ssl no


AutoFS Configuration

The /etc/auto.nfs file needs to list the servers by their *-vpn name (grab from positano-vpn):

software    policoro-vpn:/software
egallicchio scilla-vpn:/egallicchio
george      cetraro-vpn:/george
shiozhu     cetraro-vpn:/shiozhu
mderasmo    agropoli-vpn:/mderasmo
samlalsingh chelsea-vpn:/samlalsingh
laurenw     cetraro-vpn:/laurenw
tetianat    diamante-vpn:/tetianat
bfzhang     cetraro-vpn:/bfzhang
htancredi   diamante-vpn:/htancredi
tzhao       policoro-vpn:/tzhao
mlapelosa   otranto-vpn:/mlapelosa
dimarino    otranto-vpn:/dimarino
dkilburg    agropoli-vpn:/dkilburg
rajat       lecce-vpn:/rajat
yao         lecce-vpn:/yao
sajeevsaluja otranto-vpn:/sajeevsaluja
dmatta      forio-vpn:/home/users/dmatta
mike        policoro-vpn:/mike


CUDA

sh /usr/local/CUDA_Install_Files/NVIDIA-Linux-x86_64-346.72.run
sh /usr/local/CUDA_Install_Files/cuda_6.5.14_linux_64.run

and might need:

export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/intel/opencl-1.2-5.2.0.10002/lib64





Comments