Daily Archives: 06.11.2014


Installing LXC on Debian Wheezy

First install the needed packages: apt-get install bridge-utils libvirt-bin debootstrap lxc   Then you have to mount cgroup: echo "cgroup  /sys/fs/cgroup  cgroup  defaults  0   0" >> /etc/fstab mount /sys/fs/cgroup   When executing lxc-checkconfig, you should get something like this: Found kernel config file /boot/config-3.2.0-4-amd64 — Namespaces — Namespaces: enabled Utsname namespace: enabled Ipc namespace: enabled […]


Installing an Elasticsearch Cluster with 2 Nodes

Download the latest version of Elasticsearch from here and unpack it to /opt: cd /opt wget https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-1.3.4.tar.gz tar -xvpf elasticsearch-1.3.4.tar.gz ln -s elasticsearch-1.3.4 elasticsearch Given you want to create a cluster named my-ecs-cluster, having 2 nodes with IP address 192.168.45.21 and 192.168.45.21 (change it according to your setup, you might also want to use hostnames instead of IPs)   Then […]