Recently I needed to set up LAMP (Linux-Apahe-MySQL-PHP) on a server (CentOS 5.2) really really quick. There’s of course a bunch of documents that guides you how to do it but I just got lazy and found a really fast way to have it all installed with some other goodies along too. The solution – webmin and virtualmin.
First, log in as root:
su -
Then, install webmin.
yum install webmin
After that, let’s install virtualmin. There isn’t a package out there for yum, so we’ll need to install it manually. Good thing is, virtualmin has a shell script that just does that. So, let’s just grab the shell script and install it.
wget http://software.virtualmin.com/gpl/scripts/install.sh sh install.sh
We can delete the shell script once virtualmin is installed.
rm install.sh
There, we’re done! And if you want to further configure your server and won’t want to do it via command line, you can fire up your browser and go to: https://yourserver:10000 and configure it via the webmin/Virtualmin interface.
Another note, I’ve found a cool theme for webmin if you dislike the standard theme that comes with it.