This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
aws s3api create-bucket --bucket e1-dev-local-dddd-bucket1 --region us-east-1 --endpoint-url http://localhost:7373 | |
aws s3api create-bucket --bucket e1-dev-local-dddd-bucket2 --region us-east-1 --endpoint-url http://localhost:7373 | |
aws s3api list-buckets --region us-east-1 --endpoint-url http://localhost:7373 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo netstat -tulpn | grep 9092 | |
tcp 0 0 0.0.0.0:9092 0.0.0.0:* LISTEN 4484/java | |
sudo cat /proc/4484/cmdline | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
kf_dir=~/sw/kafka_2.11-1.0.0 | |
echo "...starting zookeeper..." | |
gnome-terminal --title="zookeeper" --geometry 80x30+1+1 \ | |
-e "$kf_dir/bin/zookeeper-server-start.sh $kf_dir/config/zookeeper.properties" | |
echo "...waiting for 5 sec..." | |
sleep 5 | |
echo "...starting kafka broker 0..." |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
VAGRANTFILE_API_VERSION = '2' | |
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| | |
config.vm.box = 'centos6' | |
config.vm.box_url = 'http://developer.nrel.gov/downloads/vagrant-boxes/CentOS-6.4-x86_64-v20130731.box' | |
config.vm.boot_timeout = 60 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# https://www.binarytides.com/linux-ss-command/ | |
# https://www.computerhope.com/unix/nc.htm | |
# show only the listening sockets (To get the output faster, use the "n" option to prevent ss from resolving ip addresses to hostnames) | |
ss -ltpn | |
ss -ltn | |
# test the connetion (netcat) | |
# "r" means report not connect |
OlderNewer