Re: Cannot install Apache - getting errors

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Keith Smith via PLUG-discuss
Date:  
To: Main PLUG discussion list
CC: techlists
New-Topics: Re: Cannot install Apache - getting errors - solved
Subject: Re: Cannot install Apache - getting errors
I removed the existing server and created a new one. The new one is
connected to the internet and I was able to do an update && upgrade
without any issues.

On the first install of Ubuntu 20.04lts, I configured the server with a
static IP and then once installed I set the connection to bridged in
VirtualBox. That seems to be the problem. On the new server I allowed
it to default to DHCP and I have not made any changes to VirtualBox.

I am trying to create a LAMP testing server with a static IP on my
network. The static IP is where I am hung up.

Any ideas much appreciated.

Keith



On 2022-11-11 15:47, Keith Smith via PLUG-discuss wrote:
> I can ping the virtualbox Ubuntu 20.04 from outside, however I cannot
> ping anything from the command line of the Ubuntu 20.4 VM.
>
>
> On 2022-11-11 14:27, Keith Smith via PLUG-discuss wrote:
>> Hi, I unable to install Apache on Ubuntu 20.04lts
>>
>> Desktop Computer is running Kubuntu 22.04lts
>>
>> I have installed Oracle' VirtualBox on that.
>>
>> On VirtualBox I have installed the basic Ubuntu 20.04 server.
>>
>> I can ping Google.
>>
>> I issues the command "sudo apt install apache2" and got a list of
>> errors all similar to this one:
>> - - -
>> Err:1 http://us.archive.ubuntu.com/ubuntu focal/main amd64 libapr1
>> amd64 1.6.5-1ubuntu1
>> 503 Service Unavailable [IP: 91.189.91.38 80]
>> - - -
>>
>> When I search Google I get a few different answers....
>>
>> One is to issue the command "ls /etc/apt/apt.conf.d/*proxy*" which
>> returns : ls: cannot access '/etc/apt/apt.conf.d/*proxy*': No such
>> file or directory
>>
>> I am not using a proxy....
>>
>> When I issue the command : "sudo apt update" it returns : Err:1
>> http://us.archive.ubuntu.com/ubuntu focal In Release
>> 503 Service Unavailable [IP: 91.189.91.38 80]
>>
>>
>> I assume this has something to do with VirtualBox?
>>
>> I can SSH into the box from the command line on my desktop.
>>
>> How do I troubleshoot this?
>>
>> Any help is much appreciated.
>>
>> Thanks!!
>> Keith
>>
>> ---------------------------------------------------
>> PLUG-discuss mailing list:
>> To subscribe, unsubscribe, or to change your mail settings:
>> https://lists.phxlinux.org/mailman/listinfo/plug-discuss
> ---------------------------------------------------
> PLUG-discuss mailing list:
> To subscribe, unsubscribe, or to change your mail settings:
> https://lists.phxlinux.org/mailman/listinfo/plug-discuss

---------------------------------------------------
PLUG-discuss mailing list:
To subscribe, unsubscribe, or to change your mail settings:
https://lists.phxlinux.org/mailman/listinfo/plug-discuss