This assumes you're running headless over SSH and want to be able to easily manage your Pi server with a GUI. Webmin is perfect for that job.
So, firstly let's get all the dependencies etc. out of the way.
We need to start by fixing user permissions then installing LAMP.
Code: Select all
sudo groupadd -f -g33 www-data
sudo apt-get update
sudo apt-get install apache2 php5 libapache2-mod-php5
sudo apt-get install mysql-server mysql-client php5-mysql
sudo apt-get install phpmyadmin
sudo apt-get install perl libnet-ssleay-perl openssl libauthen-pam-perl libpam-runtime libio-pty-perl apt-show-versions python
Now, we need to download the tar version of Webmin
All this does is make a new directory for the webmin source and then copies it and installs it to your Pi.
Code: Select all
mkdir webmin
cd webmin
wget http://prdownloads.sourceforge.net/webadmin/webmin-1.580.tar.gz
gunzip webmin-1.580.tar.gz
tar xf webmin-1.580.tar
cd webmin-1.580
sudo ./setup.sh /usr/local/webmin
Now webmin is set up, just go to http://yourPiipaddress:10000 or whichever port you set.
Note: I take no credit for this guide, I used a LAMP install guide, with some information found on a Pi forum to fix an Apache groups issue, and then the webmin tar instructions. I just thought it would be worth sticking in one place.
Hope this helps someone.