start new:
tmux
start new with session name:
tmux new -s myname
.include /usr/lib/systemd/system/docker.service | |
[Service] | |
ExecStart= | |
ExecStart=/usr/bin/docker -d -s=btrfs -r=false -H fd:// --dns=172.17.42.1 --dns-search=cluster.local |
This Gist shows how to use Open vSwitch to bridge Docker containers on two hosts. It is based on this blog post http://goldmann.pl/blog/2014/01/21/connecting-docker-containers-on-multiple-hosts/.
A similar Gist using Tinc instead of Open vSwitch is available: https://gist.github.com/noteed/11031504.
# 內容 | |
# repo 位置 | |
- https://github.com/facebook/react | |
- https://github.com/facebook/flux | |
# 官網 | |
- React | |
* http://facebook.github.io/react/ |
Unit files to deploy an ElasticSearch cluster on CoreOS via Fleet.
Service discovery & registration is done via etcd.
elasticsearch-discovery@.service provides a dumb discovery service by registering an elasticsearch host if it should be up. elasticsearch-intelligent-discovery@.service registers the service only if it is running.
A service & timer unit for elasticsearch curator is provided which does some housekeeping.
$ sudo docker run -i -t futurecore/parallella-devenv /bin/bash | |
dev@6940b5150ffb:~$ ls | |
buildroot examples | |
dev@6940b5150ffb:~$ cd examples/apps/hello-world/ | |
dev@6940b5150ffb:~/examples/apps/hello-world$ ls | |
Debug build.sh run.sh src | |
dev@6940b5150ffb:~/examples/apps/hello-world$ ./build.sh | |
src/hello_world.c:35:19: fatal error: e-hal.h: No such file or directory | |
#include <e-hal.h> | |
^ |
{ | |
"title": "SSH analysis", | |
"services": { | |
"query": { | |
"list": { | |
"0": { | |
"query": "message:\"Invalid user\" AND sshd", | |
"alias": "Failed login", | |
"color": "#BF1B00", | |
"id": 0, |
You might want to read this to get an introduction to armel vs armhf.
If the below is too much, you can try Ubuntu-ARMv7-Qemu but note it contains non-free blobs.
First, cross-compile user programs with GCC-ARM toolchain. Then install qemu-arm-static
so that you can run ARM executables directly on linux
This script can be used to feed collectd with cpu and memory usage statistics for running docker containers using the collectd exec
plugin.
This script will report the used and cached memory as well as the user and system cpu usage by inspecting the appropriate cgroup stat file for each running container.
This script is intented to be executed by collectd on a host with running docker containers. To use, simply configure the exec
plugin in collectd to execute the collectd-docker.sh
script. You may need to adjust the script to match your particulars, such as the mount location for cgroup.