THE page you have to bookmark when you work with beanstalk and saved config
-
http://docs.aws.amazon.com/elasticbeanstalk/latest/dg/command-options-general.htmlKeepalive Notes
A keepalive packet generally has a TCP ACK configured with a sequence number set to one less than the current number used on the connection. Any machine receiving a nudge from such a packet will simply respond with the correct sequence number and, Frankenstein jokes aside, announce that it is indeed alive.
These types of packets are sometimes empty and generally have three associated parameters. The retry parameter will declare how many times to send a packet before coming to the conclusion that the other end of the connection has given up the ghost. The time setting is configured as the frequency of the checks, and finally the interval dictates the length of time between two sent packets if no response is received.
Inside the kernel, you can alter these settings by editing these values in the eye-watering pseudo-filesystem known and loved as /proc. One file, in this case, is /proc/sys/net/ipv4/tcp_keepalive_time, and you can edit it
-
https://tipstricks.itmatrix.eu/using-ss-tool-for-network-troubleshooting/à creuser..
cloudformation permet de créer des stacks complètes à partir d'un fichier description (yaml ou json)
Donc en partant d'un environnement aws completement vierge, en théorie un seul fichier et une seule commande permet de créer une stack.
On pourrait faire la meme chose avec un script et l'appels aux api pour créer les éléments un par un. L'avantage de cloudformation, c'est la gestion des priorités de création, des dépendances... On peut déclarer dans l'odre qu'on veut dans le Yaml, tout se fera "automagiquement"
Autre avantage, l'idempotence, on peut appliquer de nouveau le template et si rien n'a été changé, rien ne changera.
Au contraire si complexifie la stack, elle se mettra à jour.
Un peu comme Puppet vs Ansible
-
https://aws.amazon.com/fr/cloudformation/aws-cloudformation-articles-and-tutorials/You need ldapsearch from mozldap-tools (the classic ldapsearch does not have such options)
How I did :
docker run -it centos bash
yum install wget svrcore-devel.x86_64
wget ftp://195.220.108.108/linux/mageia/distrib/5/x86_64/media/core/release/mozldap-6.0.7-8.mga5.x86_64.rpm
wget ftp://bo.mirror.garr.it/1/mageia/distrib/5/x86_64/media/core/release/mozldap-tools-6.0.7-8.mga5.x86_64.rpm
rpm -ivh mozldap-6.0.7-8.mga5.x86_64.rpm
rpm -ivh mozldap-tools-6.0.7-8.mga5.x86_64.rpm
/usr/lib64/mozldap/ldapsearch -r -C PS:any:1:1 -D "cn=Admin Account" -w "secret" -p 9389 -h ldap.company.org -b dc=sso,dc=company,dc=org -s sub "(mail=toto*)"
Once the connection is established, you will receive notification on this one when a change is done
-
https://links.infomee.fr/?xW3mvQLe genre de truc qui repose sur une connexion qui doit restée up alors que idle..
-
https://access.redhat.com/documentation/en-US/Red_Hat_Directory_Server/8.2/html/Administration_Guide/persistent-search.htmlNote: Environment persistence can cause unexpected side effects. For example, setting ENV DEBIAN_FRONTEND noninteractive may confuse apt-get users on a Debian-based image. To set a value for a single command, use RUN <key>=<value> <command>.
The environment variables set using ENV will persist when a container is run from the resulting image. You can view the values using docker inspect, and change them using docker run --env <key>=<value>.
-
https://docs.docker.com/engine/reference/builder/#/envSo <prefix>+: and then enter respawn-pane -k and press Enter
-
http://unix.stackexchange.com/questions/88392/is-there-an-easy-way-to-restart-a-tmux-paneTIL pourquoi certains claviers ont une touche Enter différente :D
-
https://deskthority.net/wiki/ANSI_vs_ISOLa deuxieme approche me semble mieux.. Deux étapes pour build seulement :
git clone
docker build
Au lieu de :
git clone
mvn clean install
docker build
-
http://stackoverflow.com/questions/31696439/how-to-build-a-docker-container-for-a-java-appEst ce que les projets de generateur de blog static utilisent Pandoc?
J'ai besoin d'une solution kiss pour bloguer et ça pourrait peut etre faire l'affaire finalement : des fichiers markdown dans un repo
Un hook post receive qui fait la conversion en html
-
http://pandoc.org/index.html