Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I am aware that the server and desktop editions only differ by the packages installed, and I can install server packages (LAMP etc.) into a desktop edition and get the same thing.

However, I want to be able to completely change my desktop installation into a server edition. e.g: when I type uname -a or lsb_release -a it is supposed to say Ubuntu server or something. I currently have an 11.10 desktop installation with LAMP stack installed and the info displayed by apache is "Apache blah blah, on (Ubuntu) server.

Where does apache get this information that I am using an Ubuntu desktop installation and not a server one? Is there a config file(s) to edit?

share|improve this question
    
Seems to me like Apache says "server" already. Even though that has nothing to do with the variant of your Ubuntu release. –  Oliver Salzburg Mar 17 '12 at 20:09
    
Are you looking to do this just to change the banner that Apache is presenting? –  Shane Madden Mar 17 '12 at 20:12
    
No, not the banner. i think it just means it says it's an apache server. I want to find out the internal settings or config files that distinguishes a desktop installation from a server one. –  Rey Leonard Amorato Mar 17 '12 at 20:14
1  
The installed package set (including the kernel) is different. Can you clarify why you're trying to achieve this? If you want your installation to be the server version, why not just install the server version? –  Shane Madden Mar 17 '12 at 20:23
    
I just want it to seem as if I installed the server edition without actually doing a clean install. I'm looking to avoid all the fuss involved with re-installing a system. If upgrading/updating to a server edition is a possible option then I'd love to try that. –  Rey Leonard Amorato Mar 17 '12 at 20:33

1 Answer 1

up vote 2 down vote accepted

The most clean solution would not be to replace some packages and install a new (LTS) kernel, but to reinstall your box with an Ubuntu server version. As far as I know, there is no other clean way.

Is there a specific reason why do you want to switch?

share|improve this answer
    
No real reason, just for the formality. I mean it's cooler to think I have an Ubuntu server running instead of a desktop posing as a server. This is a headless server btw. –  Rey Leonard Amorato Mar 17 '12 at 20:37
    
I have also experienced problems when re-installing a server edition to my system, something about some packages being corrupt. I have tried various server versions 10.04, 10.10, etc. all with the same errors so I doubt they are really corrupt. The desktop edition installs just fine. –  Rey Leonard Amorato Mar 17 '12 at 20:43
    
This is really strange. How did you try to install the server edition? –  Valentin Mar 17 '12 at 20:44
    
Via USB. I have a 500gb HD and partitioned my / with 5gb and /home with the rest. Can the 5gb root partition be the culprit? –  Rey Leonard Amorato Mar 17 '12 at 20:47
    
Sorry. Based on what I know, I can only contribute speculations, such as that the 5 GB space were not enough and therefore you received those errors. It would be a good approach to use a 10 GB / (at least). –  Valentin Mar 17 '12 at 20:53

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.