CentOS Debian Linux

Fix font path for gnuplot

In the console enter: In my gnuplot (bash) scripts I have: export GDFONTPATH=”/usr/share/fonts/truetype/ttf-dejavu/” export GNUPLOT_FONTPATH=”/usr/share/fonts/truetype/ttf-dejavu/” Other methods: export GDFONTPATH=”/your/font/directory/fonts/” before you start gnuplot. The fonts should be in the folder “/fonts”. To make this persistent across reboots, and to set the paths for fonts in postscript terminal, add lines similar to the ones below to […]

Debian Linux Samba

mount: cannot mount block device

I was trying to mount a CIFS / SAMBA share on Debian GNU/Linux 7 (wheezy). I wasn’t being prompted for a password, I would simply get: mount -t cifs -o user=admin //10.1.1.10/BLAH remote/ mount: block device //10.1.1.10/BLAH is write-protected, mounting read-only mount: cannot mount block device //10.1.1.10/BLAH read-only I needed to install “cifs-utils” apt-get install […]