3

I want to use my old netbook for a Wordpress server (2Gb ram, 1.6GHz CPU), and I want it to be as resource and energy efficient as possible. I have already tried Ubuntu Server, Lubuntu and Ubuntu MATE on it, and they all use around 200mb RAM when idle (while I expected the server to use less).

Also, I am kind of new to Linux, so I would like to have the distribution, with which I will have no problem finding help how to use. So here is what I want:

1) Which one would be best for performance, the Server version, or something with Desktop environment? I want the server to be able to handle hundreds of users to the website.

2) Does the RAM memory usage when idle determines which distro works best on my system?

EDIT: Here is a comparison of Ubuntu Server, Ubuntu MATE and Lubuntu, freshly installed and updated on a Virtual Machine. enter image description here

3 Answers3

2

first if your top priority is energy efficiency (and not speed) i would take a single-board computer (like Raspberry Pi).

the Raspberry Pi is the most popular (but not the most powerful) SBC with maximum power usage around 4 Watts and it's recommended OS is Raspbian, a derivate of Debian (like Ubuntu also is).
and if you really need it, also a lightweight DE is preinstalled and with raspi-config also noobs can easily switch between booting into it or just the terminal.


that said i'm not sure if it can handle your requirements!

  • it depends on the services you want to run on it: nginx or apache, plain text or heavy server-sided scripts, etc...
  • and also the amount of users will be an important point: are there only about 100 people having access to your server and so just a hand full using it at the same time, or if some ten hundred users accessing your server at the same time i wish you good luck! :-/
  • and also the network connection respectively upload speed must not be ignored.

to make it easy:

  • if you don't know what you are doing i won't serve a machine to everybody in the www! - it will probably get hacked...
  • i would recommend you to chose a trusted hoster and run your services there (so it is also more reliable, more performant and you hardly have to worry about anything)!
  • and beside that you can start trial and error with your own machine inside your LAN or maybe VPN.
  • for that case i would take Debian or if you like the "enterprise-way" CentOS (for compatibility with RHEL). both without a DE as servers are usually run headless...
DJCrashdummy
  • 1,911
  • I need to host it myself, because the content of my website is for adults, and I can't be bothered to be on someones mercy as to whether my website will run or not. Also please see my edited answer with picture – Sartheris Stormhammer May 31 '15 at 11:16
1

The server versions of Linux tend to take up less resources than the Desktop versions. So, the netbook should be able to handle any of those. As far as your second question, I would say only if you plan on your system typically being idle. That said, your 2 GB of RAM should be more than enough for what you're looking for (unless you end up demanding the server much more than it seems like you intend to).

  • so performance-wise, what would be the difference between those distros? what if I decide to run a server on Lubuntu? will the server version respond faster to user connections, load everything faster and stuff? or the only difference would be RAM used? – Sartheris Stormhammer May 31 '15 at 10:00
  • please see my edited answer, I added a picture – Sartheris Stormhammer May 31 '15 at 11:14
  • I honestly don't have much experience with Ubuntu Mate, but being it's the Ubuntu distro recommended for the Raspberry Pi 2, it is likely the least demanding on resources of all Ubuntu distros (the Raspberry Pi's are single board computers with limited resources, so the OS's that go on them have to be capable of running on limited resources. This means on a device with more resources, they will run more efficiently.) That said, for the ease of running a server I would prefer Ubuntu server. Everyone has different preferences though. – Colonel Trogdor Jun 01 '15 at 10:56
  • I'd also say that I'd prefer Lubuntu over Mate, as though I haven't used Mate much, Lubuntu does not demand resources too much and I've had issues with distros that are intended for Pi being stripped down a bit and not really what I'm looking for unless I'm using my Raspberry Pi. – Colonel Trogdor Jun 01 '15 at 10:57
1

If you really want to be able to compare apples to apples, I would set up Wordpress to your specifications and compare performance there. The problem with comparing those three distributions' idle RAM performance as a basic install without Wordpress is that it's just testing how much it uses sitting there.

Most of the desktop distros' overhead is probably related to the operation of the GUI environment - probably very little that Wordpress relies on is installed by default. On the other hand, Ubuntu server's RAM usage overhead (depending on what choices you made when you installed it) may very well include a lot of things that Wordpress depends upon or utilizes.

Additionally, running a GUI on a machine intended to be a server merely consumes resources and adds potential vulnerabilities. Especially since you say you're new to this, and you're self-hosting a public website, I would keep it as secure as possible. Ubuntu Server (or another server-focused distro like Debian or CentOS) would probably be easier to secure.

drkokandy
  • 1,057
  • CentOS 7 says its incompatible with my netbook, and what about Debian, isnt Ubuntu a distro of Debian? – Sartheris Stormhammer May 31 '15 at 20:40
  • The Ubuntu distribution is based on Debian, but with some significant differences - it is a separate and different thing. See http://www.ubuntu.com/about/about-ubuntu/ubuntu-and-debian for additional details. – drkokandy May 31 '15 at 20:58
  • so if I decide to go with Debian, what exactly I need, the usual distro, or is there a server one? – Sartheris Stormhammer May 31 '15 at 21:06