Andrea Leofreddi's blog
  • Home
  • About

Linux

A collection of 7 posts

Unix

How to compress a PDF file on MacOSX (& Linux)

Often (and especially when scanning documents with my printer) from MacOSX I would get unreasonable huge PDFs which are not suitable for emails. To strip them down without pain one can use ghostprint:...

  • Andrea Leofreddi
    Andrea Leofreddi
1 min read
Java

Jetty on RHEL 7/CentOS 7

If you look around on the internet you may find a lot of blogs guiding you on the installation of Jetty in RHEL 7 (or CentOS) which require you to download a new...

  • Andrea Leofreddi
    Andrea Leofreddi
2 min read
Electronics

Some applications using I²C

Parallel and serial ports are disappearing from today’s pc making life harder for the people who wants to connect their home-made devices to a pc. Some time ago I was considering USB, but...

  • Andrea Leofreddi
    Andrea Leofreddi
7 min read
Linux

Nagios nrpe and sudo: NRPE: Unable to read output

On CentOS 5 (and RedHat EL as well), you can encounter the following behaviour when configuring an nrpe plugin with sudo: [andrea@feyd ~]$ /usr/lib/nagios/plugins/checknrpe -H 1.2.3.4 -c checkmd_raid NRPE: Unable to read output...

  • Andrea Leofreddi
    Andrea Leofreddi
1 min read
Linux

Using samba with autofs on Fedora 9

Mount a samba share on the fly without having it mounted statically at boot via the file can bring you the advantage of a painless boot in case of unavailability of the samba...

  • Andrea Leofreddi
    Andrea Leofreddi
1 min read
Amarok

MusicBrainz not working with Amarok on Fedora 8

On my Fedora 8 system with Amarok I was trying to fill an mp3’s tag header using MusicBrainz, getting the following error: To make it work, just

  • Andrea Leofreddi
    Andrea Leofreddi
1 min read
Linux

SSH X11 forwarding issue

Recently I’ve been in an awkward situation with ssh and X11 forwarding, where ssh using the classic or option wasn’t working (DISPLAY was not set): [andrea@duncan ~]$ ssh -Y root@thufir root@thufir's password: Last...

  • Andrea Leofreddi
    Andrea Leofreddi
1 min read
Andrea Leofreddi's blog © 2026
Latest Posts GitHub LinkedIn Ghost Astro