Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I am using ubuntu desktop edition to run My drupal website on Intranet. I know for running web servers best thing to install is ubuntu server editions, but due to some problem i am using Desktop edition.

I installed XAMPP on my machine an my website is up and running. I want to know how can i optimize my machine?? Since I will not use very less features of desktop editions are there any things which I can remove or stop which will free memory and cpu consumption, are there any packages which i should install to increase the performance of my ubuntu??

share|improve this question
5  
I think this question belongs to superuser.com –  Eray Jan 30 '11 at 17:58
add comment

migrated from stackoverflow.com Jan 30 '11 at 18:12

This question came from our site for professional and enthusiast programmers.

3 Answers

You don't necessarily need to remove the desktop if you still need it. Server and desktop distributions use the same core packages. Desktop adds a graphical interface that you don't get with the server. There are lighter weight desktops available if you need a graphical desktop but not the full features.

There are various kernels that can be installed, but it is unlikely you need the features of the server kernel. Sufficient memory is important. Install a tool like munin or sar to monitor your system. These can be very useful in finding resource limitations (cpu, disk, swap, etc.).

share|improve this answer
add comment

Shocking fact - if you're running a home server, your network connection is the bottleneck - uninstalling stuff isn't going to make your server seem or work faster.

On the other hand don't use Xampp - install the LAMP package selection from tasksel, install phpmyadmin, and you're good - in addition, its more secure, since you have the latest version.

share|improve this answer
    
From terminal, sudo tasksel install lamp-server –  wag2639 Jan 31 '11 at 6:34
add comment

First of all, the most obvious thing to remove would be the graphical desktop -

sudo apt-get --purge remove ubuntu-desktop

see this question for details: How to remove the Ubuntu Gnome desktop after making the switch to KDE?

share|improve this answer
    
With recent apt-get (>3yrs old fix), if you want to purge a package, there is no need to use remove option. You need only use sudo apt-get purge ubuntu-desktop. –  Tshepang Feb 7 '11 at 3:51
    
By default, your command will remove only the ubuntu-desktop metapackage, not the whole desktop. Assuming that you've tested this command, do you have some custom settings for apt-get? –  Tshepang Feb 7 '11 at 3:58
add comment

Your Answer

 
discard

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