docker as normal user under Fedora 23

See https://docs.docker.com/v1.6/installation/fedora/

“The docker command line tool contacts the docker daemon process via a socket file /var/run/docker.sock owned by root:root. Though it’s recommended to use sudo for docker commands, if users wish to avoid it, an administrator can create a docker group, have it own /var/run/docker.sock, and add users to this group.”

Don’t forget to relogin to make this change take effect.

Install nvidia GTX980 driver in Fedora 23/22/21

I found a good and working tutorial unter http://www.if-not-true-then-false.com/2015/fedora-nvidia-guide/.

Here my notes for Fedora 23 and my GTX980:

 

Install Docker in Ubuntu 12.04 Precise

First make sure you have the latest version and an actual kernel running. Execute theses commands as root:

Then install docker with the following lines as root:

After this docker should be up and running. Rry using “docker ps” as root or with sudo.

docker on Linux Mint 17.2 Rafaela

There seem to be some missing dependencies in docker.io package. Here are the steps to get docker running in Linux Mint 17.2:

If you want to use docker as simple user you have to add this user to the docker group. Don’t forget to relogin if you add your actual user to a new group.

Disable guest account in ubuntu 14.10

To disable the guest account simply change the file /usr/share/lightdm/lightdm.conf.d/50-guest-wrapper.conf and add the last line:

Don’t forget that you have to restart lightdm before changes take effect.

gpg behind proxy results in gpgkeys: HTTP fetch error 7: couldn’t connect to host

To get something like

work behind a proxy I had to add http_proxy and https_proxy into my /etc/environment file. Don’t forget to source the file or to relogin after changes in it. With theses entries I had to use

telling sudo to preserve existing env variables. Now it’s working for me.

Till now I didn’t get apt-key add or gpg alone to import a key from web behind a proxy. I downloaded the keys manually and imported them. So let me know if you know how to do it.

Status messages for dd

Copying data with dd can take a very long time and the process could seem to be frozen. To see status messages from dd you can use the following command:

This will output something like below in the original terminal where dd is running:

To see status updates repeatedly watch is very handy:

This outputs a status message like above all 10 seconds.

Install KVM on Ubuntu 14.04

First install needed packages:

And configure a network bridge in /etc/network/interfaces. Here is my complete file: