P
P
pitimirov_a2015-02-27 17:37:52
ubuntu
pitimirov_a, 2015-02-27 17:37:52

What is the initial setup of Ubuntu 14.04 LTS?

Remote server Ubuntu 14.04 LTS.
I plan to launch a website on it: several php pages and a database.
On the help.ubuntu.ru/wiki/lamp page, the following line was found, which, in fact, was supposed to help me.
sudo tasksel install lamp-server
However, in response, it displays 0% download of the file (the screen stays stuck in this state for a long time). When nothing downloaded for me overnight, I simply closed the putty client program.
Then I checked the command:
ping ya.ru
The screen is updated almost every second. The numbers are changing. And I conclude that the server receives data from the site (mb packets? It doesn’t matter).
In the manuals for starting the server, the command is used:

sudo apt-get install apache2 mysql-server php5 phpmyadmin

However, it doesn't help either. Writes something like: "unable to connect to the server" or "connection timed out".
How can this error be corrected? The second day already I have to mess with such nonsense, but this is not right.
Help plz.
bab070c052014f0b8595eddb98b8b64a.png

Answer the question

In order to leave comments, you need to log in

2 answer(s)
O
oia, 2015-02-27
@oia

1 sudo apt-get update & apt-get upgrade
2 reboot
3 your commands to install the packages you need

A
Andrey Yagodka, 2015-02-28
@Ambushx

Hmm, first show the output of the following commands:
ifconfig
cat /etc/apt/sources.list
cat /etc/resolv.conf
And ping ru.archive.ubuntu.com itself
ping ru.archive.ubuntu.com

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question