Como instalar um servidor web no Ubuntu 14.04?

-1
:~$ sudo apt-get install tasksel

Reading package lists... Done
Building dependency tree 
Reading state information... Done
Package tasksel is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'tasksel' has no installation candidate
    
por user272620 22.04.2014 / 19:56

2 respostas

0

tente:

sudo tasksel install lamp-server
    
por AlexJerez 22.04.2014 / 20:29
0

Talvez você receba o download completo se tentar outro espelho (por exemplo, por meio da área de trabalho, alterando as configurações que ficam disponíveis no aplicativo atualizador de software depois de verificar se há atualizações).

Eu encontrei os seguintes comandos trabalhando para mim diretamente após uma nova instalação do Ubuntu 14.04 ( trusty ):

username@ubuntu:~$ sudo apt-get install tasksel
username@ubuntu:~$ sudo tasksel install lamp-server 
username@ubuntu:~$ webbrowser-app http://localhost
    
por owenmck 01.05.2014 / 14:33