|
|
|
Ubuntu 7.04 on Virtual PC 2007 How ToUPDATE: I'm eliminating the "LAMP" part of this walk though since it cause some problems within VirtualPC, and I cover the installation of LAMP and Webmin in other parts of this site (links within...) I've just gone through a TONNE of how to-s and forums, etc, etc... and have come up with this instruction set that should get you a Ubuntu command line-only 7.04 LAMP server install within Virtual PC 2007. All for free :) Get and install Virtual PC 2007 from either: Get Ubuntu 7.04 Server here: Start Virtual PC 2007.... Create a new VPC, select "other" for OS, with at least 256ram (I used 512mb of 1.5gig. After successfully installing, reduced to 256mb). I gave myself 4gigs of space, non-expanding. Boot from UBUNTU 7.04 server ISO. I had the best luck mounting the ISO in Alcohol-52% as a virtual drive, then selecting that drive, F: in my case, in Virtual PC as a "physical" drive. IMPORTANT!!! hit F4 and define your desired screen resolution, you'll have trouble later if you don't. ...follow the rest of the install... ...choose LAMP when the choice arises... !!! if your install fails to boot...START !!!************************** Reboot, do not eject cd/ISO , boot from cd/ISO
Re-boot: I got an error trying to reboot, hit reset(Virtual PC), then rebooted into a corrupt(?) install, system checked and fixed itself(?), automatically rebooted into working install... !!! if your install fails to boot...END !!!************************** Upon successful login...
...and give root a password.
Look for updates to your installation (I performed this again after installing other apps, not sure how often this is necessary)
Other tutorials site vi as the text editor of choice, but I found it difficult to get the hang of, being a command line newbie. Nano was a little easier to grasp and has limited mouse capabilities (on native installs)...
Create test.php to test install
Add the text "<?php phpinfo(); ?> " and save (ctrl-x, press "y" to save changes, and hit return) View server in browser (under host OS)... (http://192.168.1.101/) ... substitute "192.168.1.101" for the IP address of your Virtual PC.
#mysql -u root
#nano /etc/apache2/apache2.conf *** add the following line...
Login to phpmyadmin @ http://192.168.1.101/phpmyadmin (no 's' in 'http' required) ... substitute "192.168.1.101" for the IP address of your Virtual PC. !!! If you cannot log into phpmyadmin... START !!!**************************
And add the following line immediately after the opening " "$i = 1;" And add the following just before the "?>" tag "
edit the /etc/apt/sources.list add the following line...
...and add the following line...
Login to webmin @ https://192.168.1.101:10000/ *** Don't forget the 's' in 'https'... substitute "192.168.1.101" for the IP address of your Virtual PC. ENJOY As I am preparing to follow this tutorial myself, I am going to cut out some steps in my next install. Webmin may be a all-in-one solution and may eliminate the need to install anything else listed in this article. And since Phpmyadmin seems to only cause me grief, wouldn't mind giving it the axe. I'll also see how the install process differs on an actual PC and post the differences. Next!!! Install Drupal 5.2 from command line!!! http://www.scothiam.com/Drupal Sources: Clean install of Ubuntu 7.04 server crashes on boot help/how-to: Ubuntu 7.04 LAMP help/how-to: Nano help/how-to: Webmin help/how-to: Phpmyadmin help/how-to (see p.68-69): Get Virtual PC 2007 for free: UBUNTU 7.04 server ISO. alcohol 52%: |
|