Saturday, June 12, 2010

How to fix 'suexec command was not found on your system.' in Virtualmin

I ran into this error message in Virtualmin when I want to disable Bind and Mail for Domain, I searched around for answers and I couldn't find it.  Finally I found out that Suexec was not installed correctly, so I reinstalled again with the command

apt-get install apache2-suexec-custom

And then it changed to another error message, where it shows.



The Suexec command on your system is configured to only run scripts under /var/www, but the Virtualmin base directory is /home. CGI and PHP scripts run as domain owners will not be executed.

 The above  link also shows the solution to that problem.

Enjoy.




Wednesday, June 09, 2010

How to install webmin for Ubuntu 10.04 LTS Server

It is actually very easy to install webmin on the new Ubuntu 10.04 LTS Server.  Here is what you will need to type

Login to your server and update your server

apt-get update
apt-get upgrade
apt-get dist-upgrade

Then you can get the and install webmin

wget http://downloads.sourceforge.net/project/webadmin/webmin/1.510/webmin_1.510-2_all.deb
sudo dpkg -i webmin_1.510-2_all.deb

Then if there are errors then type the following commands


sudo apt-get install -f

Then you are good to go.  Make sure you have noted your IP address so that you can login from your browser at 


http://yourip:10000/


Enjoy