10 Jan 2013 SUDS Configuration Ziva ##################################### ### ### Ships Underway Data System (SUDS) ### # Create das user and group vi /etc/group add das:x:1100:toby,dave,dswensen,earnesen /usr/sbin/useradd -m -s /bin/bash -g das -u 1100 -c "Data Acquisition System" das passwd das zeena: ssh das@192.168.12.102 das@ziva: # works # Note: data will be placed in directory # /var/www/data # which will be owned by user das cd /tmp wget http://ktima.coas.oregonstate.edu/suds/tarball/install_suds.2012-08-31 # most_recent -> 2012-09-05_1557 chmod +x install_suds.2012-08-31 sudo /tmp/install_suds.2012-08-31 ##################################### ### ### ssh keys for das ### su - das # switch to user das ssh-keygen -t rsa ls -al drwx------ 2 das das 4096 Oct 2 19:58 .ssh cd .ssh mv id_rsa.pub id_rsa.ziva.pub ### ### Necessary for the aggregator to rsync to the shore-datastore. ### scp id_rsa.ziva.pub das@tangle.coas.oregonstate.edu:~/.ssh on Tangle cd .ssh cat id_rsa.ziva.pub >> authorized_keys on Ziva as das ssh tangle.coas.oregonstate.edu # straight in, no problems ### ### The following may be specific to the PRIMARY aggregator only. ### For instance only one machine should should be rsyncing the data ### to Ark01 and shore. ### # Initialize the user das crontab sudo su - das crontab /home/das/cron/crontab.2011-04-10 crontab -l # listing of crontab # rsyncs to Tangle # Need to ssh once to initialize the known_hosts sudo su - das ssh das@shore_web