Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ssh -t -vvv -i ~/.ssh/druid-keypair -o StrictHostKeyChecking=no ubuntu@${INSTANCE_ADDRESS} <<EOI
- # Setup Oracle Java
- ...
- # Install dependencies - mysql must be built from source, as the 12.04 apt-get hangs
- export DEBIAN_FRONTEND=noninteractive
- sudo debconf-set-selections <<< 'mysql-server-5.5 mysql-server/root_password password diurd'
- sudo debconf-set-selections <<< 'mysql-server-5.5 mysql-server/root_password_again password diurd'
- sudo apt-get -q -y -V --force-yes --reinstall install mysql-server-5.5
- echo "ALL DONE with druid environment setup!"
- exit
- EOI
- ...
- ldconfig deferred processing now taking place
- ALL DONE with druid environment setup!
- debug1: client_input_channel_req: channel 0 rtype exit-status reply 0
- JOBS:
- [1]- Running nohup bin/zookeeper-server-start.sh config/zookeeper.properties 2>&1 > /dev/null &
- [2]+ Running nohup bin/kafka-server-start.sh config/server.properties 2>&1 > /dev/null &
- nohup bin/zookeeper-server-start.sh config/zookeeper.properties &
- nohup bin/kafka-server-start.sh config/server.properties &
- Supported escape sequences:
- ~. - terminate connection (and any multiplexed sessions)
- ~B - send a BREAK to the remote system
- ~C - open a command line
- ~R - Request rekey (SSH protocol 2 only)
- ~^Z - suspend ssh
- ~# - list forwarded connections
- ~& - background ssh (when waiting for connections to terminate)
- ~? - this message
- ~~ - send the escape character by typing it twice
- (Note that escapes are only recognized immediately after newline.)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement