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

From dftwiki3
Jump to: navigation, search
Line 33: Line 33:
 
</source>
 
</source>
 
==Script to copy PHPRunner Output Folder on MacBook to Hadoop01==
 
==Script to copy PHPRunner Output Folder on MacBook to Hadoop01==
 +
<br />
 +
* Change '''voidfunction''' to real password
 
<br />
 
<br />
 
::<source lang="bash">
 
::<source lang="bash">
Line 48: Line 50:
  
 
#echo -n "Enter mysql root password on MacBook: "
 
#echo -n "Enter mysql root password on MacBook: "
mysqldump -u root -pvoidm%20 NohoSkies >> NohoSkies.sql
+
mysqldump -u root -pvoidfunction NohoSkies >> NohoSkies.sql
  
 
echo "rsyncing dum to hadoop01"
 
echo "rsyncing dum to hadoop01"
Line 55: Line 57:
 
echo "loading up dump on remote db"
 
echo "loading up dump on remote db"
 
ssh -tt dominique@hadoop01.dyndns.org <<EOF  
 
ssh -tt dominique@hadoop01.dyndns.org <<EOF  
mysql -u root -pvoidm%20 < ~/Downloads/NohoSkies.sql  
+
mysql -u root -pvoidfunction < ~/Downloads/NohoSkies.sql  
 
exit
 
exit
 
EOF
 
EOF

Revision as of 09:49, 25 May 2018

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



...