How-to Install Webmin on a Raspberry Pi

To install Webmin on a Raspberry Pi running Raspbian, enter the following commenads in the terminal:
apt-get install -y perl libnet-ssleay-perl openssl libauthen-pam-perl libpam-runtime libio-pty-perl apt-show-versions python
dpkg --install webmin_1.660_all.deb

How-To Raspberry Pi print server (with AirPrint)

This guide demonstrates how to turn your Raspberry Pi into a print server, with AirPrint support

First step is to install CUPS and related plugins

sudo apt-get install cups cups-pdf gutenprint pycups avahi python2 python-cups
sudo usermod -aG lpadmin pi
sudo /etc/init.d/cups start

Second step is to fully integrate AirPrint

sudo apt-get install avahi-daemon avahi-discover libnss-mdns
sudo mkdir /opt/airprint
cd /opt/airprint
sudo wget -O --no-check-certificate
sudo chmod 755
sudo ./ -d /etc/avahi/services
sudo /etc/init.d/avahi-daemon start
echo “image/urf urf (0,UNIRAST)” > /usr/share/cups/mime/apple.types
echo “image/urf application/vnd.cups-postscript 66 pdftops” > /usr/share/cups/mime/local.convs

Step is is to install  Samba (for compatibility with Windows PCs)

sudo apt-get install samba
sudo /etc/init.d/samba start

If you have a special printer, like I do you might want to install the following extras:

sudo apt-get install foo2hp
sudo apt-get install HPLIP

Raspberry Pi LAMP installation guide

This short guide teaches you how to turn Raspberry Pi into a LAMP server.
LAMP stands for Linux Apache MySQL PHP

Step 1: update the Raspberry Pi OS to the latest version:

sudo apt-get install -y rpi-update
sudo apt-get update -y && sudo apt-get upgrade -y

Step 2: install Apache Webserver and create permissions:
sudo apt-get install -y apache2 apache2-utils
sudo groupadd -f -g33 www-data
sudo chown pi:www-data /var/www
sudo chmod 775 /var/www

Step 3: install PHP and mod_php
sudo apt-get install -y php5 libapache2-mod-php5 php5-common mysql-client
sudo apt-get install -y php-pear php5-mysql php5-curl php5-gd php5-idn php5-imagick php5-imap php5-mcrypt php5-memcache php5-mhash php5-ming php5-ps php5-pspell php5-
recode php5-snmp php5-sqlite php5-tidy php5-xmlrpc php5-xsl php5-json

Step 4: Install MySQL and phpMyAdmin

sudo apt-get install -y mysql-server
sudo apt-get install -y