02 Oct 2012 SUDS Configuration Centaurus ##################################### ### ### Ships Underway Data System (SUDS) ### # Note: data will be placed in directory # /var/www/data # which will be owned by user das 02 Oct 2012 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 ### 02 Oct 2012 su - das # switch to user das ssh-keygen -t rsa Generating public/private rsa key pair. Enter file in which to save the key (/home/das/.ssh/id_rsa): Created directory '/home/das/.ssh'. Enter passphrase (empty for no passphrase): Enter same passphrase again: Your identification has been saved in /home/das/.ssh/id_rsa. Your public key has been saved in /home/das/.ssh/id_rsa.pub. ls -al drwx------ 2 das das 4096 Oct 2 19:58 .ssh cd .ssh mv id_rsa.pub id_rsa.centaurus.pub ### ### I believe the aggregator (Mizuki) is now rsyncing to Ark01 ### therefore setting keys on marmacmini, now Pearl, is unnecessary. ### This step skiiped for now. - Toby 30 Aug 2012 scp id_rsa.mizuki.pub das@marmacmini:~/.ssh on marmacmini cd .ssh cat id_rsa.mizuki.pub >> authorized_keys on Naruto ssh marmacmini # straight in, no problems ### ### Necessary for the aggregator to rsync to the shore-datastore. ### scp id_rsa.centaurus.pub das@tangle.coas.oregonstate.edu:~/.ssh on Tangle cd .ssh cat id_rsa.centaurus.pub >> authorized_keys on Centaurus 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 # rsyncs to Tangle # Need to ssh once to initialize the known_hosts sudo su - das ssh das@shore_web ### ### das@centaurus:~/.ssh$ crontab -l no crontab for das