PDA

View Full Version : [ubuntu] Installing LAMP



hcimis
April 3rd, 2012, 04:02 PM
Hello All,

This may be an easy fix for you to identify. I have a VM of Ubuntu 11 on Vsphere. I am trying to install LAMP so I can begin developing our new website on top of WordPress, but I have run into a snag. I am unable to get the Apache, MySQL and PHP installed. I am using
sudo apt-get install to install each item.

I get the following message:

Package [package name]is not available.....

E: Package [package name] has no installation canidate

I have also done
sudo apt-get update and this runs but several of the websites come back with 404

codemaniac
April 3rd, 2012, 04:06 PM
Hello hcimis ,

Welcome to the UbuntuForums.
you are missing the package name .

sudo apt-get install package_name
have this fired in your terminal .


sudo apt-get install lamp-server^

hcimis
April 3rd, 2012, 06:02 PM
I did include the package name when running. I just omitted it in the post.

mastablasta
April 3rd, 2012, 06:39 PM
have you tried using tasksel for instaling the stack?:
https://help.ubuntu.com/community/Tasksel

note this is install only tool and is not ment for unnistall.

hcimis
April 3rd, 2012, 06:40 PM
mastablasta

I get a 404 error when accessing this page.

hcimis
April 3rd, 2012, 06:42 PM
Just checked it again and it worked.

hcimis
April 3rd, 2012, 06:44 PM
I get the same message when trying to install tasksel.

hcimis
April 3rd, 2012, 10:01 PM
I was able to figure it out. Our proxy was blocking.