14.03.2017 Authorship by Mike 252 0

Docker stats:



docker stats $(docker ps --format={{.Names}})


Read more »


05.03.2017 Authorship by Mike 264 0

Elasticsearch, Beats, Logstash und Kibana sind in Version 5.0 veröffentlicht. Die Produkte werden jetzt jeweils in der selben Versionsnummer veröffentlicht.

Es gibt eine neue Scriptsprache "Painless", es wurden Performanceverbesserungen bei bestimmten Suchoperationen und der Indizierung vorgenommen.

Den entsprechenden Blog Eintrag findet ihr hier.

Read more »


05.03.2017 Authorship by Mike 156 0

Create the user and set it up:
useradd --home-dir /var/www -m --shell /bin/bash www
passwd www
groupadd admin
usermod -a -G admin www

Mit Hilfe von visudo wird die Datei /etc/sudoers editiert und folgendes angefügt:

# Members of the admin group may gain root privileges
%admin ALL=(ALL) NOPASSWD: ALL

Read more »


05.03.2017 Authorship by Mike 262 0

I just bought a new computer and used the same home system like before. Virtualbox was now really slow and it used also for small task 100% cpu. I searched through the web without finding a solution.

After a lot of testing i purged virtualbox and vagrant. Additionally i removed the directories .Virtualbox and .vagrant.d in my home folder.

Now i installed virtualbox and vagrant again and the performance was suddenly way better. I do not know what virtualbox stores for information but it really slowed down my system.

Read more »


05.03.2017 Authorship by Mike 198 0

I am switching more and more to Docker with all my projects. Due to that i setup a private docker registry.

Read more »


11.05.2015 Authorship by Mike , 255 0

Konsole output

If you have multiple sound cards in your pc  and want to set one as the default card you can do this like this.

Read more »

Tagged as: ,


12.03.2015 Authorship by Mike 395 24

I am switching more and more to Docker with all my projects. Due to that i setup a private docker registry. I am using puppet for the configuration of the docker registry on my ubuntu server. Basically it is looking like this: class docker::registry {     package {['build-essential', 'python-dev', 'libevent-dev',...

Read more »

Tagged as:


12.03.2015 Authorship by Mike 347 13

After some time you collect quite a huge pile of data in docker. Every image and layer is still stored on your harddrive and you might need to clean up to free some disk space.   To delete all stopped containers you can use this command docker rm $(docker ps...

Read more »


12.03.2015 Authorship by Mike 310 134

I just bought a new computer and used the same home system like before. Virtualbox was now really slow and it used also for small task 100% cpu. I searched through the web without finding a solution. After a lot of testing i purged virtualbox and vagrant. Additionally i removed the...

Read more »


12.03.2015 Authorship by Mike 92 329

Unbelievable but true, in newer versions of vagrant the provision is only executed once! Why? You may ask, but i think it is only because some people there not able to make there provisioning scripts idempotent. For me this is an absolutely unbelievable decision. I was really surprised how many perople...

Read more »


12.03.2015 Authorship by Mike 357 193

This is what we did to setup ISPConfig on a friends server. Install vim:  aptitude install vim-nox   Setup correct hostname:   echo server1.example.com > /etc/hostname /etc/init.d/hostname restarthostname hostname -f   NTP:   aptitude install ntp ntpdate   Mail: The mail server needs an own subdomain that is not needed...

Read more »


12.03.2015 Authorship by Mike 154 162

Unfortunately Mongoid does not check booleans. If you use a checkbox it simply accepts "1", "0" as Strings. The problem is you can not even query these with true/false. I have found a project on github that Forces booleans to be saved as boolean. Simply add this include to your...

Read more »


12.03.2015 Authorship by Mike 346 215

I am using kvm on my server to put the applications into different virtual machines. For this i currently try to setup my own tool Mission Control that can be found on github. This Tool is currently under development and is tailored for my special needs. On all machines i...

Read more »


12.03.2015 Authorship by Mike 254 191

Do you want to learn Ruby basics or advanced technics? Then Ruby - Code School might be interesting for you. In these training courses you can learn Ruby Basics, testing, Rspec, patterns and best practices. Currently there are these available courses: - Learn the basic building blocks of Ruby, all in the...

Read more »


12.03.2015 Authorship by Mike 189 153

If you want to use the official Oracle Java Version you need to either install it manually or use an unofficial ppa. This is because Ubuntu removed the Oracle/Sun Java from the official repositories. In order to use the ppa you need to issue the following commands: sudo add-apt-repository ppa:webupd8team/java...

Read more »


12.03.2015 Authorship by Mike 366 244

If you want to allow vagrant to change the nfs export without entering an password you can add this to your sudoers file (to edit it just type visudo as root): # Allow passwordless startup of Vagrant when using NFS. Cmnd_Alias VAGRANT_EXPORTS_ADD = /usr/bin/su root -c echo '*' >> /etc/exports...

Read more »


12.03.2015 Authorship by Mike 420 183

If you wonder why your bundler based application boots so slowly, use bumbler. Bumbler can be added as a gem to your Gemfile:  gem 'bumbler' Afterwords you need to add the following to your profile, .bash_profile, .zshrc, .wtfrc or whatever shell config you use, export RUBYOPT=-rbumbler/go If you boot rails now...

Read more »


12.03.2015 Authorship by Mike 335 197

Rails 4 is released! A major feature was to make it really easy to develop modern Webapplications. And this without the use of client side javascript in combination with JSON. For this the template caching was improved. Turbolinks was added that improves the load time of pages. If available it...

Read more »


12.03.2015 Authorship by Mike 226 290

Today i attended on a Coding Dojo at Elite Partner. It was quite interesting to see how other programers look at a problem. For me it was quite hard to realy think in baby steps like it should be in aCoding Dojo. Some of these just seemed so simple. So what...

Read more »


12.03.2015 Authorship by Mike 405 333

Vagrant packages for your system (Linux, Mac, Windows) can be found under: http://downloads.vagrantup.com/ First install some dependencies: sudo apt-get install qemu-kvm libvirt-bin libvirt-dev qemu-system virt-manager Install the vagrant kvm plugin: vagrant plugin install vagrant-kvm You can start it with vagrant up --provider=kvm Information about the provider can be found here: https://github.com/adrahon/vagrant-kvm For that to work you...

Read more »


12.03.2015 Authorship by Mike 421 219

I had audio stutter in all games i started from steam. Running them without steam works without any problems also playing music, watching videos wasnot a problem. After some testing i found out that if i restart pulseaudio with "pulseaudio --kill" the sound works for one time. So i found...

Read more »


12.03.2015 Authorship by Mike 127 124

In order to create a KVM vagrant image i used to virt-manager to help me set it up.

Read more »


12.03.2015 Authorship by Mike 92 194

If you are using the latest vagrant version from http://www.vagrantup.com/ you do not need virtualbox additionally. If you install it besides the vagrant one it can interfer with vagrant. I needed to uninstall my local vagrant version to get around some errors.

Read more »


12.03.2015 Authorship by Mike 340 314

The first release candidate of rails 4 is out! Rails 4 prefers ruby 2 and ruby 1.9.3 is the minimal requirement. The focus for this release was making it faster. So that you do not need to rely on client side javascript with json to have good performance. It now...

Read more »


12.03.2015 Authorship by Mike 355 316

I have tried to convert my first Rails 3 app to Rails 4. I followed roughly the instructions on edge guides. The most work i had on reworking the attr_accessible that are now removed in rails 4. It is quite easy to migrate, if oyu have e.g. this line in your Model:...

Read more »