I have a virtual machine on the amazon cloud (AWSE2).Red hat 7 runs on it.I would like to install lamp stack on it.I have a connection via putty.when i tried to execute sudo yum install -y httpd24 php56 mysql55-server php56-mysqlnd
i get something like that and i am stuck in it. Loaded plugins: amazon-id, rhui-lb, search-disabled-repos
I know that this is now somewhat out of date, but after hours of searching and having the same problem (Also, following the AWS Tutorials!), they didn't mention anything about this.
The package is there but named incorrectly, you can find it by using;
yum search httpd
For me this returned a package labeled as
yum info httpd.x86_64
I followed up using
sudo yum install -y httpd.x86_64
The package then successfully installed, next step is to set permissions and launch the service!
Hope this helps.
Ash
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.