Apache 2.4 mod ldap authnz_ldap debian squeeze closed (connection lost)

It does not work out of the box.

You need to open and edit

/etc/ldap/ldap.conf

and add:

# TLS certificates (needed for GnuTLS)
TLS_CACERT /etc/ssl/certs/ca-certificates.crt

Let me know if this helped.

Docker cheat-sheet

Docker is great for development, but also, it gives you the superpower of extremely small images to easily move around docker containers.

I need this for personal stuff, but I think it can be useful to others, so let’s share it.
Continue reading “Docker cheat-sheet”

Letsencrypt is broken on Debian Jessie

You need backports,

so first add the jessie-backports to your favourite apt source.list

# Backport
deb http://http.debian.net/debian jessie-backports main

Then apt-get update, and then install back letsencrypt forcing the use of the backports:

apt-get install -t jessie-backports letsencrypt

That’s it,

Giuseppe

hostname: Name or service not known

This error is caused by the file /etc/hostname being empty,  unreadable, corrupted

Did this help?

 

 

Extend Xen guest partition on a live system without restart

No restart of the guest VM is required

on Dom0:

lvextend /dev/lvm/domU.lan-var -L +5G
Extending logical volumedomU.lan-var  to 7.00 GiB
Logical volume domU.com-var successfully resized

Continue reading “Extend Xen guest partition on a live system without restart”

Installing and configuring Bareos (Bacula fork) with web front-end on Debian Wheezy.

And taking nice backups easy to be restored.

The story is quiet simple: some times ago I would have liked to have a kind of 8 months old backup for a friend of mine, but it was too late. So now, I want backups with a decent retention. So I can go “back in time” and recover files. Another choice could have been Subversion, but I’m going to backup images as well so, for this reason I’ll not take Subversion into consideration.
Continue reading “Installing and configuring Bareos (Bacula fork) with web front-end on Debian Wheezy.”

Incoming search terms:

  • bareos (19)
  • bareos bsmtp username password (1)
  • bareos single configuration file (1)
  • bareos test (1)
  • bareos tuto (1)
  • create bareos config (1)
  • No Messages resource defined in /etc/bareos/bareos-fd d/client/myself conf (1)

Debian, managing LVM on a live system.

Playing with LVM on Debian Weehzy.

Resizing or deleting  partitions, gaining space and then redistribute it across the partition you need to resize.

Basically the logical operations are pretty simple and straightforward if taken into a ‘logical’ vie. Of course you have to shrink the partition first and then the volume, while, at the opposite if you want to grow a partition you have to resize the volume in order to be able to contain the bigger partition.
Continue reading “Debian, managing LVM on a live system.”

Hippo Open Source CMS get together Amsterdam 2013

Yes, it’s Hippo, the open source java cms event of this year. And it’s still running, so you can take your private jet and join us!

image

Hippo, the open source java CMS

How to install VBox Guest Additions to a Debian Vm

Screenshot-VirtualBox - AboutHere is how i installed Virtual Box guest additions to my Debian Virtual Machine. This is in a bigger project so i can produce my own Vagrant boxes with any operating system i want. Also this is a good practice when a new Virtual Machine is installed.

First of all start you Vm from the Virtualbox GUI.

Once the Vm has sarted, click on the menu “devices” present on the running Vm window, and select “Install Guest Additions…”. Continue reading “How to install VBox Guest Additions to a Debian Vm”

Incoming search terms:

  • debian install virtualbox tools (1)
  • установка гостевого дополнения debian (1)