You are here
I've successfully installed VirtualMin on a fresh install of turnkey-lamp-2009.02-hardy-x86.iso on my testbox. Please feel free to give feedback on other problems that come up for you and maybe we can get a good FAQ entry for Turnkey!
Test environment: WebServer 2008 OS, turnkey-lamp installed under VM-Workstation 6.5. The total install base, after this has been completed is just under 1.8Gigs, so it's a good idea to create a VM image file that is over this (4 Gigs, for example).
BEFORE you install Virtualmin, you need to make sure that all libs and modules are updated. Please go to my other Step-by-step to do this.
Also note that Virtualmin ONLY supports UP TO Ubuntu 8.0.4 LTS, so trying to install to 8.1.0 will not work.
Respositories for reference:
These steps should take 20-30 minutes to complete, that's it!
- Install Turnkey LAMP 8.0.4 LTS from ISO
- Manually update packages
- Shell: sudo apt-get update
- Note: also see (/etc/apt/sources.list)
- Install CURL
- Note: this enables you to pull files with install.sh script
- Shell: sudo apt-get install curl libcurl3 php5-curl php5-mcrypt
- Install VirturalMin
- Note: Virtualmin docs state that you MUST have a fully qualified domain name setup already (something.com) to install, but in this case, you don't. When it prompts you for the name, just type something in that identifies your server ("myubuntu.com" for example).
- Shutdown Webmin
- Shell: sudo /etc/init.d/webmin stop
- copy VirtualMin/install.sh to root
- Shell: sudo sh install.sh
- Restart Webmin
- Shell: sudo /etc/init.d/webmin start
- Connect to Sql-Server
- Webmin > Servers > MySQL Database Server
- Connect to db with root/pass creds.
- Run Webmin Setup Wizard
- should display in Right panel after fresh install
- Update Modules
- Webmin > System Information > Package updates
- Problems/Fixes:
- 1) Problem: Webmin > Checking Configuration:
- "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."
- (ref. http://www.virtualmin.com/forums/help-home-for-newbies/virtualmin-suexec...)
- 1) FIX: Update Apache2 with VirtualMin's version
- Shell: sudo /etc/init.d/webmin stop
- Shell: apt-get update
- Shell: apt-get install apache2
- Shell: sudo /etc/init.d/webmin start
- WebMin > Checking Configuration (should be fine now)
- 2) Problem: WebMin>Module Updates Fail to install or Virtualmin complains "... module is missing" when working with virtual hosts.
- module/security updates have dependency issues related to older versions of webmin (webmin-virtual-server 3.69 or less).
- 2) Fix: manually download/update latest webmin_1.xxx_all.deb
- Shell: apt-get install perl5 libnet-ssleay-perl
- (if errors try this) Shell: apt-get install libnet-ssleay-perl
- Shell: wget http://downloads.sourceforge.net/sourceforge/webadmin/webmin_1.500_all.deb
- Shell: dpkg --install webmin_1.500_all.deb
- Restart Webmin if needed
- WebMin > Refresh Available Packages
- WebMin > Update Selected Packages
- Note: you may need to re-run the Update process several times before all modules are updated properly.
- Shell: apt-get install perl5 libnet-ssleay-perl
- 3) Problem: WGET missing
- 3) Fix: install manually
- Shell: apt-get install wget
- or follow this guide: http://nobluescreens.com/solutions/wget_install.php
- 1) Problem: Webmin > Checking Configuration:
Thanks!
This kind of community documentation effort will make it easier for us to build a virtualmin appliance because it communicates this is something users want, confirms that there are no major issues, and provides some useful information regarding the integration details that will cut down how much time it takes to usually put together an appliance.
If it's not too much trouble it would help if could upload your virtualmin appliance prototype to a free file hosting service such as DropBox and share it with us. That way we'll have a live system to use as reference.
Thanks, I posted this for me
Have you got any other access to your appliance?
Assuming you are using TKL LAMP appliance, can you browse to the main page of your appliance? Can you ping it from the commandline/terminal?
If not then it is probably a network problem, try ensuring that networking in VMware is set to 'bridged mode" (I think thats what its called). From within the appliance run
amoungst other useful info, it should give the IP address of your appliance (generally with VMware the IP address listed in the host system networking will be different from the actual IP of the guest systems). Try using that to access your appliance through your web browser.
Virtualmin install w/ lamp-11.2-lucid-x86
Hi all:
I am trying this with a fresh current build of the LAMP stack deployed through AMS and the turnkey hub. When I run the install script from virtualmin I get the error message below. Any idea whats wrong? I have posted the entire error log here:
Thanks in advance!
Looks like dependancy issues
From a quick glance over your log it seems that the Virtualmin package depends on a few of packages that aren't installed. One called quota is an Ubuntu package, but the others don't seem to be. I had a quick search of the Ubuntu repos so perhaps it's meant to be in the Virtualmin repo? You could try:
And see what happens. Although I suspect it won't work (if it's a dependancy apt-get should take care of it if it's available). But you might get lucky.
If that doesn't work I suggest you post on the Virtualmin forums and ask. Your system is reporting as Ubuntu 10.04 which they claim is supported so it looks to me like a problem on their end. Even if it works, it's probably worth mentioning so they can look at resolving it.
Good luck.
Add new comment