LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 08-02-2009, 02:33 PM   #1
centosfan
Member
 
Registered: Jun 2003
Location: Golem city
Distribution: Server - Debian Desktop - Linux Mint
Posts: 219

Rep: Reputation: 32
Which linux is best when its come to memory usage?


I need to install linux into one vps so i wonder which distribution would be best when it comes to memory utilization ?
 
Old 08-02-2009, 02:43 PM   #2
MS3FGX
LQ Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 361Reputation: 361Reputation: 361Reputation: 361
Do you mean which distribution would use the least amount of memory? Go for something lean like Slackware, Vector, or Arch; and couple that with a lightweight window manager like XFCE or even Fluxbox.
 
Old 08-02-2009, 05:20 PM   #3
centosfan
Member
 
Registered: Jun 2003
Location: Golem city
Distribution: Server - Debian Desktop - Linux Mint
Posts: 219

Original Poster
Rep: Reputation: 32
Yes least amount of memory.I will use apache,php,mysql and webmin on it without any gui since it's for server purposes only.
 
Old 08-03-2009, 04:59 AM   #4
sleddog
Member
 
Registered: Jan 2002
Location: Labrador, Canada
Distribution: CentOS, Debian
Posts: 182

Rep: Reputation: 35
I doubt if there is any big difference in memory usage between distributions. What makes a difference in memory usage is:

- Running services: disable all services you do not need.
- Tuning services for memory usage: Apache and MySQL can use large amounts of memory, or very little, depending on how they are configured.
 
Old 08-03-2009, 09:54 AM   #5
centosfan
Member
 
Registered: Jun 2003
Location: Golem city
Distribution: Server - Debian Desktop - Linux Mint
Posts: 219

Original Poster
Rep: Reputation: 32
OK i will go with ubuntu then.
 
Old 08-03-2009, 01:35 PM   #6
paulsm4
LQ Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
And don't forget to set your default runlevel to "3" instead of "5":

http://www.linfo.org/runlevel_def.html
 
Old 08-03-2009, 02:05 PM   #7
karamarisan
Member
 
Registered: Jul 2009
Location: Illinois, US
Distribution: Fedora 11
Posts: 374

Rep: Reputation: 55
OP, make sure you get Ubuntu Server Edition. Disabling the GUI on the regular one may be more trouble than it's worth.

Quote:
Originally Posted by paulsm4 View Post
And don't forget to set your default runlevel to "3" instead of "5"
Tragically, Ubuntu has rather done away with that concept. I remember when they even still had init/telinit, 3-5 were all X. I'm all for using the distro you want, but if you liked Windows so bad, why not run that? :/
 
Old 08-03-2009, 03:39 PM   #8
paulsm4
LQ Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
Jakobkell -

Karamarisan is correct: Ubuntu has "altered" the way runlevels work.

Even if you go with Ubuntu, you still want to configure the "moral equivalent of runlevel 3" - which is *not* available with an OOTB Ubuntu Workstation install.

You can easily get the same functionality, however:
http://ubuntuforums.org/archive/index.php/t-8430.html
Quote:
sudo apt-get install rcconf
sudo rcconf

Gives you a nice ncurses interface to enable or disable services from your current runlevel. Now your computer will boot, enabling only the services you want it to. If you want to start X and any other services you disabled you can just do:

sudo telinit 3
'Hope that helps .. PSM

Last edited by paulsm4; 08-03-2009 at 06:10 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
X hangs after prolonged usage ... memory usage goes upto 195MB duryodhan Slackware 18 05-10-2007 06:16 PM
Memory Usage on Linux lchand_p Linux - Software 2 06-19-2006 06:17 AM
getting realtime info on memory usage-cpu and harddrive usage steering Linux - Newbie 5 03-03-2005 08:43 PM
how to determine cpu usage, memory usage, I/O usage by a particular user logged on li rags2k Programming 4 08-21-2004 04:45 AM
Linux Memory usage Boomba Linux - General 8 03-25-2004 04:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 08:43 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration