Category Archives: linux

Raspberry pi: installing lighttpd + php


root@raspberrypi-2:/home/pi# apt-get install lighttpd php5-cgi
[...]
root@raspberrypi-2:/home/pi# lighty-enable-mod fastcgi-php
Met dependency: fastcgi
Enabling fastcgi-php: ok
Enabling fastcgi: ok
Run /etc/init.d/lighttpd force-reload to enable changes
root@raspberrypi-2:/home/pi# invoke-rc.d lighttpd force-reload
[ ok ] Reloading web server configuration: lighttpd.

screenshots from the command line (debian)

you need to install ImageMagick tools

(as root)
apt-get update
apt-get install imagemagick

then, as a regular user, depending on your desktop: Alt+F2 or Mod+d

region of the screen:

import myscreenshot.jpg

full screen:

import -window root myscrennshot.jpg