[ale] Issue installing httpd on amazon linux ec2 instance

Leam Hall leamhall at gmail.com
Mon Jun 24 22:20:02 EDT 2024


Hmm...that might be it. I was thinking of it as a server install, but a lot of container commands assume you're just doing an application.

Leam

On 6/24/24 15:30, Chuck Payne wrote:
> Leam
> 
> Did you run suddenly before those? You still need su rights to install apps
> 
> On Mon, Jun 24, 2024, 3:58 PM Leam Hall via Ale <ale at ale.org> wrote:
> 
>> Okay, I've tried this a few ways, and it keeps failing to install httpd
>> when I build an EC2 instance.
>>
>> Here's the "user data" to build the instance:
>>
>>          dnf update -y
>>          dnf install -y httpd
>>          echo "Nice!" > /var/www/html/index.html
>>          systemctl restart httpd
>>
>> When I log in, the updates seem to be current, but there's no httpd. If I
>> become root on the machine and copy the dnf install command, it works just
>> fine. Any suggestions?
>>
>> Leam
>>
>> --
>> Site Reliability Engineer  (reuel.net/resume)
>> Scribe: The Domici War     (domiciwar.net)
>> General Ne'er-do-well      (github.com/LeamHall)
>> _______________________________________________
>> Ale mailing list
>> Ale at ale.org
>> https://mail.ale.org/mailman/listinfo/ale
>> See JOBS, ANNOUNCE and SCHOOLS lists at
>> http://mail.ale.org/mailman/listinfo
>>
> 

-- 
Site Reliability Engineer  (reuel.net/resume)
Scribe: The Domici War     (domiciwar.net)
General Ne'er-do-well      (github.com/LeamHall)


More information about the Ale mailing list