Ok here is a complete install instruction for Webmin and Virtualmin from the ground up on a clean Ubuntu 10.04 LTS I am using Amazon EC2 so if you have not done so register at aws.amazon.com/console You will also need Putty and puttygen http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html
I have selected an AMI instance from http://alestic.com/ in the eu-west-1 region for Ubuntu 10.04 LTS with an Elastic block storage (ie it is not lost when the server terminates) and using 32 bit server here is the ami: ami-311f2b45
Launch this in the EC2 management tab in http://aws.amazon.com/console I have used a t1.micro instance which is free with this ami (at the time of writing) When it is running note the Public DNS name like: ec2-46-123-123-123.eu-west-1.compute.amazonaws.com - I will assume this example name
You will need to save you private key locally and generate a suitable version of this private key for use with putty using puttygen
Open the Standard Security Group to your IP address for all ports or at least TCP 22 EC2 | Security Groups | Inbound add your IP address with TCP port 22
Now configure putty to login into your new EC2 instance:
Connection | SSH | Auth: browse to the location of the private key file you generate
Connection | SSH | Tunnels: Source port: '9000' and Destination: 'localhost:22' if you want to use ftp
Session | hostname: ubuntu@ec2-46-123-123-123.eu-west-1.compute.amazonaws.com
Session | Saved Sessions: My EC2 Server
Save Open Accept the security certificate warning
Webmin Install [See http://www.webmin.com/tgz.html for more details]
at the command prompt in putty:
wget http://prdownloads.sourceforge.net/webadmin/webmin-1.530.tar.gz
gunzip webmin-1.530.tar.gz
tar -xf webmin-1.530.tar
cd webmin-1.530
sudo ./setup.sh /usr/local/webmin
[use the default values and record your password]
cd ..
sudo service webmin status [is webmin running?]
sudo apt-get install php5
sudo apt-get install apache2-suexec-custom
sudo vi /etc/apache2/suexec/www-data
[use 'i' to enter edit mode and change the first line to /home then hit 'esc' and type ':x' to save and exit]
Login in to webmin your browser http://ec2-46-123-123-123.eu-west-1.compute.amazonaws.com:10000 admin and your password
Update all packages and modules click the following in Un-used Modules and follow the instructions to install them: Sendmail Dovecot IMAP Apache PHP5 Configuration BIND DNS Usermin MySQL
Update all packages again in the System Information
Virtualmin Install
Servers | modules for Apache, BIND, Postfix and MySQL to ensure that all those servers are installed and running. If you prefer postfix, it may be used instead of Sendmail. Go to the Webmin Configuration module and click on Webmin Modules
using the urls in http://www.webmin.com/vdownload.html
install virtualmin and virtualmin theme:
Select from ftp or url
http://download.webmin.com/download/virtualmin/virtual-server-3.84.gpl.w...
http://download.webmin.com/download/virtualmin/virtual-server-theme-7.9....
Leave other options at default an install modules
Webmin Configuration module, click on Webmin Themes and install the downloaded theme above
Usermin Configuration module, click on Usermin Themes and install the downloaded theme above
You will now have a Virtualmin and Webmin menu item in the top of the browser
Webmin | Servers | Sendmail | Sendmail M4 Configuration: Add FEATURE(`virtusertable') and rebuild the module
Webmin | Servers | Apache | Global Settings: Enable modules: suexec, actions
Webmin | Servers | Sendmail | Network Ports: remove hyphens from default port names and add an external port number and check authentication and disallow ETRN if you want one
Virtualmin | System Settings | Features and Plugins: Disable module webalizer reporting
System Information | System Info Re-Check and refresh configuration
This should now provide you with a working virtualmin and webmin platform ready to configure.
Hope this works for you.