20.03.2020 Autor Mike 0 0

I am currently switching my projects to firebase. It is an easy to use service in order to deploy static sites or cloud funcitons (Lambda). The service is provided by Google in its own Cloud. It has a free to use plan for small sites. That makes it quite attractive...

Weiter lesen »


20.03.2020 Autor Mike 0 0

Unter (K)Ubuntu 14.04 funktioniert das MP3 playback von lokalen Dateien in Spotify nicht mehr out of the box. Um das Playback wieder zu aktivieren muss man folgendes installieren: 1. Herunterladen der libx264 von Saucy http://packages.ubuntu.com/saucy/libx264-123 2. Folgendes PPA für ffpmeg einfügen: https://launchpad.net/~jon-severinsson/+archive/ffmpeg sudo add-apt-repository ppa:jon-severinsson/ffmpeg 3. ffmpeg installieren sudo apt-get update sudo...

Weiter lesen »


20.03.2020 Autor Mike 0 0

Lots of people deploying services in the cloud use a script in order to assume roles in the different AWS accounts. Having multiple projects in different accounts or deploy a project to different accounts at once (e.g. deploy an AWS iam role to dev/test/prod account) doesn't make it easier. In...

Weiter lesen »


20.03.2020 Autor Mike 0 0

Currently i setup a new Kubernetes cluster with Rancher2. On one node i got connection problems from time to time. I could simple test it with: curl -v https://registry-1.docker.io/v2/jenkins/jenkins/manifests/lts This always shows the ip it tries to connect (so DNS is working), but the connection sometimes is not working! To...

Weiter lesen »


20.03.2020 Autor Mike 0 0

What is Juju? "With over 100 services ready to deploy, Juju enables you to build entire environments in the cloud with only a few commands on public clouds like Amazon Web Services and HP Cloud, to private clouds built on OpenStack, or raw bare metal via MAAS."   So you...

Weiter lesen »


20.03.2020 Autor Mike 0 0

I used pound as a load balancer and currently stumbled upon this article about load balancing with pound. The writer used pound for the site Justin.tv. Pound used about 20% cpu and in spikes up to 80% which is quite a lot. They now switched to nginx and the load dropped to...

Weiter lesen »


20.03.2020 Autor Mike 0 0

Mittlerweile gibt es viele Programmiersprachen und so stellt man sich anfangs die Frage welche Programmiersprache man lernen sollte. Es gibt verschiedene Wege da heran zu gehen. Wenn man weiß was genau man entwickeln möchte, schränkt dies die Auswahl der Programmiersprache natürlich ein. Wenn man Professionel Software entwickerln möchte, kann man...

Weiter lesen »


20.03.2020 Autor Mike 0 0

I would recommened that you do not use the root user to access any server. It is better to disable the root login, cause many automated scripts are trying to access the root user via ssh with some common passwords. On my server i setup another user which afterwords is...

Weiter lesen »


20.03.2020 Autor Mike 0 0

http://domscripting.com/presentations/xtech2006/

Weiter lesen »


20.03.2020 Autor Mike 0 0

There are a lot of options for creating a static page. One of it is Gatsby. It uses modern web technologies and is build on React and GraphQL.

Weiter lesen »


20.03.2020 Autor Mike 0 0

wrk wrk can be used for simple http benchmarking. It can generate a significant amount of load. You can find it under https://github.com/wg/wrk A simple call looks like this: wrk -t12 -c400 -d30s http://www.lvh.me:8080 This will call the page for 30 seconds with 12 threads and 400 open connections. Afterwords...

Weiter lesen »


14.03.2017 Autor Mike 326 0

Docker stats:



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


Weiter lesen »


05.03.2017 Autor Mike 307 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.

Weiter lesen »


05.03.2017 Autor Mike 202 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

Weiter lesen »


05.03.2017 Autor Mike 313 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.

Weiter lesen »


05.03.2017 Autor Mike 203 0

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

Weiter lesen »


11.05.2015 Autor Mike , 256 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.

Weiter lesen »

Markiert als: ,


12.03.2015 Autor Mike 445 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',...

Weiter lesen »

Markiert als:


12.03.2015 Autor Mike 401 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...

Weiter lesen »


12.03.2015 Autor Mike 360 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...

Weiter lesen »


12.03.2015 Autor Mike 93 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...

Weiter lesen »


12.03.2015 Autor Mike 409 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...

Weiter lesen »


12.03.2015 Autor Mike 189 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...

Weiter lesen »


12.03.2015 Autor Mike 392 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...

Weiter lesen »


12.03.2015 Autor Mike 305 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...

Weiter lesen »