Difference between revisions of "Tutorial: PhpRunner 9.8 and Photo Display"

From dftwiki3
Jump to: navigation, search
 
Line 44: Line 44:
 
echo "rsyncing php dir to hadoop01"
 
echo "rsyncing php dir to hadoop01"
 
rsync -azv ~/Documents/PHPRunnerOutput/* dominique@hadoop01.dyndns.org:/var/www/html/photos/
 
rsync -azv ~/Documents/PHPRunnerOutput/* dominique@hadoop01.dyndns.org:/var/www/html/photos/
 +
ssh -tt dominique@hadoop01.dyndns.org <<EOF
 +
chmod g+w /var/www/html/photos/files
 +
exit
 +
EOF
  
 
# dump photo database to sql file
 
# dump photo database to sql file
Line 58: Line 62:
 
ssh -tt dominique@hadoop01.dyndns.org <<EOF  
 
ssh -tt dominique@hadoop01.dyndns.org <<EOF  
 
mysql -u root -pvoidfunction < ~/Downloads/NohoSkies.sql  
 
mysql -u root -pvoidfunction < ~/Downloads/NohoSkies.sql  
chmod g+w /var/www/html/photos/files
 
 
exit
 
exit
 
EOF
 
EOF

Latest revision as of 14:59, 8 June 2018

D. Thiebaut (talk) 10:38, 25 May 2018 (EDT)



...