Advertisement
Guest User

Untitled

a guest
Sep 2nd, 2014
179
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.52 KB | None | 0 0
  1. ssh -t -vvv -i ~/.ssh/druid-keypair -o StrictHostKeyChecking=no ubuntu@${INSTANCE_ADDRESS} <<EOI
  2.  
  3. # Setup Oracle Java
  4. ...
  5.  
  6. # Install dependencies - mysql must be built from source, as the 12.04 apt-get hangs
  7. export DEBIAN_FRONTEND=noninteractive
  8. sudo debconf-set-selections <<< 'mysql-server-5.5 mysql-server/root_password password diurd'
  9. sudo debconf-set-selections <<< 'mysql-server-5.5 mysql-server/root_password_again password diurd'
  10. sudo apt-get -q -y -V --force-yes --reinstall install mysql-server-5.5
  11.  
  12. echo "ALL DONE with druid environment setup!"
  13. exit
  14. EOI
  15.  
  16. ...
  17. ldconfig deferred processing now taking place
  18. ALL DONE with druid environment setup!
  19. debug1: client_input_channel_req: channel 0 rtype exit-status reply 0
  20.  
  21. JOBS:
  22. [1]- Running nohup bin/zookeeper-server-start.sh config/zookeeper.properties 2>&1 > /dev/null &
  23. [2]+ Running nohup bin/kafka-server-start.sh config/server.properties 2>&1 > /dev/null &
  24.  
  25. nohup bin/zookeeper-server-start.sh config/zookeeper.properties &
  26. nohup bin/kafka-server-start.sh config/server.properties &
  27.  
  28. Supported escape sequences:
  29. ~. - terminate connection (and any multiplexed sessions)
  30. ~B - send a BREAK to the remote system
  31. ~C - open a command line
  32. ~R - Request rekey (SSH protocol 2 only)
  33. ~^Z - suspend ssh
  34. ~# - list forwarded connections
  35. ~& - background ssh (when waiting for connections to terminate)
  36. ~? - this message
  37. ~~ - send the escape character by typing it twice
  38. (Note that escapes are only recognized immediately after newline.)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement