Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Alright, so due to problems connecting to a wifi network on the ubuntu server distribution, i want to install the neccesary packages for a lamp, mail and ssh server on an ubuntu desktop 14.04 lte distribution(i am able to connect to the internet with the desktop version). what should i install from the command line?

Thanks in advance!

share|improve this question

1 Answer 1

up vote 4 down vote accepted

You can install such server packages on a desktop system using the apt-get tasksel mode (don't forget the final ^):

  • LAMP server (Linux, Apache2, MySQL, PHP)

    sudo apt-get install lamp-server^

  • Mail server

    sudo apt-get install mail-server^

  • OpenSSH server

    sudo apt-get install openssh-server^

Note that you can check which packages are going to be installed using apt-get install --dry-run <name of the task>^ before calling the above commands.

share|improve this answer
    
From the link you have there: "Note: The caret (^) was generally required at the end of the command in older versions of tasksel. It is not required in newer versions of tasksel." I assume it won't be neccesary now? –  user3504154 Jul 27 at 19:48
2  
There's a tool called tasksel and as stated in the doc you don't need it with it. BUT apt-get does require the final ^ otherwise the tasks won't be interpreted as such. –  Sylvain Pineau Jul 27 at 19:51
    
At least in the case of openssh-server, the task isn't needed, is it? –  muru Jul 27 at 21:21
1  
@muru you're right, openssh-server and openssh-server^ will install the same packages (tested using --dry-run) –  Sylvain Pineau Jul 27 at 21:49

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.