xxx0f
By:
xxx0f

Promblem updating droplet and setting up LAMP

November 5, 2015 1.1k views
Linux Commands Linux Basics Apache DigitalOcean

Hi,

I have created a new droplet and gone through two tutorials for initial setup:

https://www.digitalocean.com/community/tutorials/initial-server-setup-with-ubuntu-14-04

https://www.digitalocean.com/community/tutorials/additional-recommended-steps-for-new-ubuntu-14-04-servers

My next step was to setting up a LAMP environment. My first step was to set up Apache using:

sudo apt-get update
sudo apt-get install apache2

Doing the update gives me a a few messages such as:

Err http://mirrors.digitalocean.com wily InRelease

Err http://mirrors.digitalocean.com wily-updates InRelease

Err http://mirrors.digitalocean.com wily-backports InRelease

Err http://mirrors.digitalocean.com wily-security InRelease

Err http://mirrors.digitalocean.com wily Release.gpg
Temporary failure resolving 'mirrors.digitalocean.com'
Err http://mirrors.digitalocean.com wily-updates Release.gpg
Temporary failure resolving 'mirrors.digitalocean.com'
Err http://mirrors.digitalocean.com wily-backports Release.gpg
Temporary failure resolving 'mirrors.digitalocean.com'
Err http://mirrors.digitalocean.com wily-security Release.gpg
Temporary failure resolving 'mirrors.digitalocean.com'
Reading package lists... Done
W: Failed to fetch http://mirrors.digitalocean.com/ubuntu/dists/wily/InRelease

W: Failed to fetch http://mirrors.digitalocean.com/ubuntu/dists/wily-updates/InRelease

W: Failed to fetch http://mirrors.digitalocean.com/ubuntu/dists/wily-backports/InRelease

W: Failed to fetch http://mirrors.digitalocean.com/ubuntu/dists/wily-security/InRelease

W: Failed to fetch http://mirrors.digitalocean.com/ubuntu/dists/wily/Release.gpg Temporary failure resolving 'mirrors.digitalocean.com'

W: Failed to fetch http://mirrors.digitalocean.com/ubuntu/dists/wily-updates/Release.gpg Temporary failure resolving 'mirrors.digitalocean.com'

W: Failed to fetch http://mirrors.digitalocean.com/ubuntu/dists/wily-backports/Release.gpg Temporary failure resolving 'mirrors.digitalocean.com'

W: Failed to fetch http://mirrors.digitalocean.com/ubuntu/dists/wily-security/Release.gpg Temporary failure resolving 'mirrors.digitalocean.com'

W: Some index files failed to download. They have been ignored, or old ones used instead.

Then trying to install Apache gives me similar errors.

Any help is much appreciated to resolve this and set up LAMP.

Thanks

1 comment
Be the first one to answer this question.