Listen on pings
$ tcpdump -i any icmp
Listen on any interface and port 5683
$ tcpdump -v -i any port 5683
Send package to port
$ nc -z -v -w5 -u xx.xx.xx.xx 5683
Send packge with custom source ip
$ nc -z -v -w5 -s xx.xx.xx.xx -u xx.xx.xx.xx 5683
- Install Go -> http://sourabhbajaj.com/mac-setup/Go/README.html
- Go Books -> https://github.com/dariubs/GoBooks
- Web Applications with Golang -> https://astaxie.gitbooks.io/build-web-application-with-golang/en/
- What is a Container?: https://www.youtube.com/watch?v=EnJ7qX9fkcU
- The Benefits of Containers: https://www.youtube.com/watch?v=cCTLjAdIQho
- https://sanenthusiast.com/docker-and-firewalld-mess-in-centos-7/
- https://blog.jessfraz.com/post/ips-for-all-the-things/
- https://rafpe.ninja/2016/04/28/docker-compose-v2-using-static-network-addresses/
- Overlay -> https://dcos.io/docs/1.7/administration/installing/custom/system-requirements/install-docker-centos/
- Minikube: https://kubernetes.io/docs/getting-started-guides/minikube/
- Kubernetes in 5 mins: https://www.youtube.com/watch?v=PH-2FfFD2PU&t=65s
version: '2.1'
services:
nginx:
image: nginx:latest
networks:
migrator_1:
ipv4_address: 10.177.0.12
networks:
migrator_1:
ipam:
driver: default
config:
- subnet: 10.177.0.2/24
Datei /etc/default/docker
DOCKER_OPTS="-D -H tcp://10.0.1.13:2375 -H unix:///var/run/docker.sock"
Datei /usr/lib/systemd/system/docker.service
ExecStart=/usr/bin/docker daemon -H tcp://10.0.1.13:2375 -H unix:///var/run/docker.sock
docker images -f dangling=true
docker rmi $(docker images -f dangling=true -q)
docker ps -a -f status=exited
docker rm $(docker ps -a -f status=exited -q)
docker volume ls -f dangling=true
docker volume rm $(docker volume ls -f dangling=true -q)
./docker-backup afcd5cae93b4 /usr/share/elasticsearch/data elasticsearch
cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 32 | head -n 1
scp user@homeip:/path/to/file /local/path/
scp test.txt [email protected]:tmp/test.txt
tar --exclude-vcs -czvf Packages.tar.gz Packages/
tar -czvf t4gdoc.tar.gz doc/ --exclude="doc/media/image" --exclude="doc/files" --exclude="doc/cache" --exclude="doc/_sqlAdmin"
find /home/backup -type f \( -name '*' \) -ctime +60 -exec rm {} \;
find /verzeichnis -type f | wc -l
find /verzeichnis -type d | wc -l
du -h /verzeichnis
df -h
rsync -a -v --stats --progress --delete "/mnt/hda1/Eigene Dateien/Fotos/" /mnt/sda5/Fotos/
sudo killall -HUP mDNSResponder