Docker and (Console) Logs Problem

Anyone who used docker before and care about quality will have to deal with the logs problem. As we all know, docker runs in a container, and if we don’t handle the logs in a special way, the logs will be lost when the container is restarted. In order to deal with this, usually we will map the logs folder of our application to the parent host of the container, so that the logs don’t get lost when the container is restarted or changed.
Read more →

AWS Eb CLI (v3): How to fix ssl_wrap_socket error in Debian Jessie

This is the first time I’m deploying stuff to elasticbeanstalk, and when I’m trying to deploy my private project, I realized the eb cli I download is the version 2 and has different syntax. I installed the version 3, and it seems like it can only be installed using python package manager pip. After installing it, this is what I get: rowanto@Rowanto-Deb ~ $ eb Traceback (most recent call last): File "/usr/local/bin/eb", line 9, in <module> load_entry_point('awsebcli==3.
Read more →

How to fix libgdbm3 update problem in Debian

In case you recently tried to update your debian system, and got an error related to libgdbm3 like this: Preparing to unpack .../libgdbm3_1.8.3-13+b1_i386.deb ... Unpacking libgdbm3:i386 (1.8.3-13+b1) over (1.8.3-13) ... dpkg: error processing archive /var/cache/apt/archives/libgdbm3_1.8.3-13+b1_i386.deb (--unpack): trying to overwrite shared '/usr/share/doc/libgdbm3/changelog.Debian.gz', which is different from other instances of package libgdbm3:i386 Errors were encountered while processing: /var/cache/apt/archives/libgdbm3_1.8.3-13+b1_i386.deb E: Sub-process /usr/bin/dpkg returned an error code (1) You can fix this easily by deleting the libdgbm3 changelog file.
Read more →

Monitor resolution not properly detected in Linux (Debian 7 or Wheezy)

So I have an ATI HD5xxx graphic card in my desktop personal computer. It’s a nice and quite fast card. It also has three display adapters: HDMI, DVI, DisplayPort. On my desk, there are two monitors. One of them have a DVI and a VGA adapter. The other however, only have VGA adapter. Do you see the problem here? My graphic card has no VGA adapter, because of this, I need to use some adapter, and because I used an adapter, the resolution of the monitor is not detected properly.
Read more →