Ubuntu: How to install a web server on Ubuntu 14.04?


:~$ 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  



sudo tasksel install lamp-server  


Perhaps you'll get the full download if you try another mirror (e.g. via desktop by changing the settings which become available in the software updater app after it has checked for updates).

I found the following commands worked for me directly after a fresh install of Ubuntu 14.04 (trusty):

username@ubuntu:~$ sudo apt-get install tasksel  username@ubuntu:~$ sudo tasksel install lamp-server   username@ubuntu:~$ webbrowser-app http://localhost  

Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Next Post »