Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In with OpenID
Advertise on LowEndTalk.com

In this Discussion

Debian VS CentOS

Debian VS CentOS

LivingSouLLivingSouL Member
edited October 2011 in General

I've just noticed most of you guys here are using Debian (well at least on OVZ and Xen, I don't know on KVMs). Does that mean Debian is a more preferable choice than CentOS?

My Own Universe | ChatX IRC Network irc.chatx.net:6667
«1

Comments

  • NordicVPSNordicVPS Member
    edited October 2011

    Debian is quite popular in Europe and I find it easy to use :)

    CentOS is used to be more popular in US back in the days.

    I think today most prefer to play with Ubuntu/Debian or CentOS,

    You may find Ubuntu easy to use if you are new to Linux as it is very easy to find many tutorials online and getting started.

    Other than that, both are Linux and only noticeable differences are their package manager: yum vs apt-get / aptitude and their release cycle.

    NordicVPS.com - Unmanaged XEN and KVM VPS in US and EU - SolusVM - OpenVZ with VSwap
  • mrm2005mrm2005 Member
    edited October 2011

    Hi,

    the main thing is ram usage. in a 64/128MB LEB , you usually can't run yum, but debian package manager is fine even with 64MB Ram.. usually debian needs less ram than CentOS.

  • mrm2005 said: usually debian needs less ram than CentOS.

    Only for the package manager, rpm still functions properly in minimal installs.

    Hostigation High Resource Hosting - SolusVM OpenVZ/KVM VPS
  • I tried centos twice, with just 2 fingers honestly ... and I found it "bloated" compare to Debian.

    And the second thing, is that in the thousands or millions of tutorials/helps/guides most are/were for centos and wrong.

    Not exactly a fair judgment, but is there any? :-)

  • I find Debian easy to use too but when I first started OpenVPN, the only tut I had is for CentOS, then eventually I finally had it working with Debian. So I might use Debian from now on on OpenVPN installs...

    My Own Universe | ChatX IRC Network irc.chatx.net:6667
  • CentOS vs Debian is mostly just personal preference.

    Personally I think a sizable number of young(er) people started out with Ubuntu and just want to stick with something similar.

  • I won't use anything except CentOS unless I really have to.

  • Before YUM was around rpm was a lot of work trying to find all the dependencies. I'm talking DeadRat 6 and 7 days and deb based systems where a pleasure to work with.

    YourVZ.com

  • XeoncrossXeoncross Member
    edited October 2011

    Since Debian is the lighter, more secure parent of the most used Linux OS in the world (Ubuntu), you can count it to be the most installed server OS after Ubuntu.

    I can get Debian down to 11MB RSS a lot easier than I can ubuntu.

  • Xeoncross said: most installed server OS after Ubuntu.

    Interesting... :)

    My Own Universe | ChatX IRC Network irc.chatx.net:6667
  • CentOS is like dead. Try Scientific Linux if you do prefer the so-called "secure" yet out-dated system.

    Debian is okay.

    Arch is my favorite. On OVZ, Arch only used ~5MB RAM by default. On KVM it's only ~10MB. But using up-to-date Arch on OVZ is quite challenging - you need to know some tricks to make it work properly, since it has latest packages and sometimes you will have trouble if you upgrade. But once you know it, Arch is the best distro in my opinion.

    I have 3 OVZ, 1 KVM, and 1 DockStar, all with Arch installed. I'm happy with Arch.

  • jtodd said: I won't use anything except CentOS unless I really have to.

    CentOS? The out-dated distro that hasn't released 6.1 yet, also without (timely) security updates? Man, you should try Scientific Linux.

  • danielfeng said: Arch is my favorite.

    Arch is kinda nice too. Have you tried OpenVPN on it?

    My Own Universe | ChatX IRC Network irc.chatx.net:6667
  • LivingSouL said: Arch is kinda nice too. Have you tried OpenVPN on it?

    Not yet, but it is easy. Arch has a good wiki: https://wiki.archlinux.org/index.php/OpenVPN

    On OVZ, PPTP may have some problems (depending on host settings) but OpenVPN should be fine.

    Thanked by 1LivingSouL
  • will try Arch with OVPN soon.. :)

    My Own Universe | ChatX IRC Network irc.chatx.net:6667
  • LivingSouL said: will try Arch with OVPN soon.. :)

    OVZ or KVM? KVM is much easier for Arch. On OVZ with old kernel (.18) you need to do some work: https://wiki.archlinux.org/index.php/VPS_Repo

    And also modify /etc/rc.sysinit to fix tty (caused by udev) issue. If this is what you are going to do, let me know, and I can send you details.

    Thanked by 1LivingSouL
  • I don't know of any hosts offering Arch on OVZ, so I might go to KVM :)

    My Own Universe | ChatX IRC Network irc.chatx.net:6667
  • danielfengdanielfeng Member
    edited October 2011

    LivingSouL said: I don't know of any hosts offering Arch on OVZ, so I might go to KVM :)

    BuyVM, Uptime, eNetSouth, they all have Arch for OVZ. But KVM is recommended. Also remember to ask them to get the latest installation ISO, as the old one may fail if you do a netinstall: http://www.archlinux.org/news/20110819-installation-media/

    I asked BuyVM to update the ISO and they did it in a timely manner.

  • I second Arch, it's pretty quick. Pacman is nice as well, and you've got to love having recent versions of software. It was pretty annoying to get MySQL 5.5 on Ubuntu without issues.

  • tuxtux Member
    edited October 2011

    Kairus said: It was pretty annoying to get MySQL 5.5 on Ubuntu without issues.

    I running latest stable MySQL on Ubuntu without any issue.

  • tux said: I running latest stable MySQL on Ubuntu without any issue.

    How did you install it? Using alien to convert rpm? It's almost a year since its release, and there's still no package under Ubuntu, kind of lame.

  • tuxtux Member
    apt-get install mysql-client mysql-server

    I use this PPA.

  • danielfengdanielfeng Member
    edited October 2011

    Kairus said: How did you install it? Using alien to convert rpm? It's almost a year since its release, and there's still no package under Ubuntu, kind of lame.

    From 3rd-party PPAs or source. Not only is MySQL out-dated, but also a lot more on most distros. For example, it's a joke to have the so-called "secure" CentOS installed but need to compile tons of packages from source even with EPEL enabled - and you are supposed to install them under /opt. I know sometimes RHEL/CentOS/SL may have more driver support though.

    I am always wondering how can a person ensure the system is "safe" unless he/she RTFM in detail of EVERY package that needs to be compiled and knows EVERY single parameter passed to configure? Even if it's doable it's still like a monkey patch, and it's a shame for the distro's package management system.

  • I have heard a lot about CentOS seems like many people use it..but I couldn't get my emacs working in it. So I think I might give Debian a try or might move on to Fedora.

    Living Virtual - We explore the Tech World for you bring fascinating things you might have never known! Follow us for latest news and updates. √
  • kiloservekiloserve Member
    edited October 2011

    You basically have the 2 main distro families:

    RedHat Distros (RHEL/CentOS/Fedora/SL/CloudLinux) Debian Distros (Debian/Ubuntu/Linspire/Xandros)

    Debian dominates the desktops and probably alot of non-webhosting servers. RedHat distros dominate the webhosting servers and VPS nodes.

    Debian is probably the easier one to use and learn and has more polished desktop GUIs. Redhat is a bit more odd but has wide hosting/VPS support due to major apps like cPanel and SolusVM only running on Redhat distros.

  • @danielfeng said: I asked BuyVM to update the ISO and they did it in a timely manner.

    Maybe I should ask 123Systems to update their Arch as well. They still have 2010 version of Arch. sigh

    My Own Universe | ChatX IRC Network irc.chatx.net:6667
  • My favorite Is CentOS, mainly because it runs Kloxo and can be tweaked to run on as low as 12 MB RAM.

    I'm looking for a sponsored KVM VPS, but I'm not in a hurry. Just want to hear what you might offer to me
  • @LivingSouL said: Maybe I should ask 123Systems to update their Arch as well. They still have 2010 version of Arch. sigh

    Many of our templates are custom created, including our 2011 ARCH OVZ template.

    Francisco

    BuyVM - OpenVZ & KVM Based / TUN, PPTP, FUSE, SIT & GRE Enabled! / Stallion Control Panel
  • @LivingSouL good luck with that one, ever since I got my vps with 123Systems I asked for a Debian 6 template, and it took them almost a year to bring it. According to their support they only use SolusVM provided templates, so no custom templates for us.

  • @LivingSoul: Maybe I should ask 123Systems to update their Arch as well. They still have 2010 version of Arch. sigh

    123Systems is complete junk. I have an account there, been waiting 5+ months for Debian6. They just sent an email out about updated distros, in short I didn't even waste my time with them after being told quarter after quarter that "we will review distros end of each quarter" or some rubbish like that.

    In short, a month ago they still only had Debian5, my VPS spends more time offline or randomly ends up offline than it does online.

  • @thekreek said: @LivingSouL good luck with that one, ever since I got my vps with 123Systems I asked for a Debian 6 template, and it took them almost a year to bring it. According to their support they only use SolusVM provided templates, so no custom templates for us.

    One time I received a VPS with Debian 6. But for some reason I reinstall again when I receive my boxes. But no Debian 6. And then I asked about reinstalling it, and got KICKED because suppossedly they don't have Debian 6 available... LOL?

  • Out of the box, CentOS seems to be more recourse hungry,

    Also, Debian seems to have a neater file system structure, as well as apt-get uses less recourses.

    And Debian seems more stable

    The Original Daniel.

  • @Joel said: 123Systems is complete junk.

    I agree. My ipatables script doesn't even work on theirs and that script works well on my other VPSs.

    @yomero said: got KICKED because suppossedly they don't have Debian 6 available... LOL?

    ROFL really? I won't recommend 123Systems as well 'cause their ISOs are outdated..

    My Own Universe | ChatX IRC Network irc.chatx.net:6667
  • @kiloserve said: Debian dominates the desktops and probably alot of non-webhosting servers

    Should I be concerned since that's what I use on the VPSes and they are hosting sites?

  • @Daniel said: Out of the box, CentOS seems to be more recourse hungry,

    Also, Debian seems to have a neater file system structure, as well as apt-get uses less recourses.

    And Debian seems more stable

    I agree with all of these.. But I think CentOS is stable as any other linux OSs out there... :)

    My Own Universe | ChatX IRC Network irc.chatx.net:6667
  • Personal preference is a major factor. Not being able to 'ls -ahl --group-directories-first' killed any desire for me to use CentOS quite some time ago.

    Of course, having used Debian for 17+ years also plays a large part in that preference.

  • @livingsoul

    can u sugget a best vps provider....

    @luis123456 how can i tweak the centos to 12mb?

  • yomeroyomero Member
    edited November 2011

    @LivingSouL said: ROFL really? I won't recommend 123Systems as well 'cause their ISOs are outdated..

    Well, by kicked I mean, they rejected my requests because I am an useless client XD

    And again, debian distros FTW

  • @yomero said: Well, by kicked I mean, they rejected my requests because I am an useless client XD

    Oh, make no mistake, every client is valuable for them (in order to struggle to get their bills paid). My guess would be they rejected your requests out of either laziness or incompetence (in that Andrew likely doesn't know -how- to offer additional ISOs).

  • @Basil said: Personally I think a sizable number of young(er) people started out with Ubuntu and just want to stick with something similar.

    At the same time few years ago, rpm was crap, there was no yum and apt-get was so nice to use - so there are also people who started a few years ago using redhat/whatever, who went to debian as it was working great + had a great social contract / non commercial commitment to free software and stayed to that :D

  • LongShotLongShot Member
    edited November 2011

    @Joel: 123Systems is complete junk. I have an account there, been waiting 5+ months for Debian6.

    I've upgraded from Lenny to Squeeze successfully on more than one VPS (including 123Systems):

    1. Edit /etc/apt/sources.list
    2. Change "lenny" to "squeeze" and save.
    3. apt-get update
    4. apt-get dist-upgrade
  • @drmike said: Should I be concerned since that's what I use on the VPSes and they are hosting sites?

    No. Here's some more statistics to add to Linode link earlier in this thread.

    Though as long as you get security support and are happy with system, why would you care what others use?

  • @jtodd said: I won't use anything except CentOS unless I really have to.

    Same here.

  • WhizzWrWhizzWr Member
    edited November 2011

    Currently running both CentOS 6 and Ubuntu Server 11.10 (Debian based)

    IMO CentOS is more tailored to be a server distro thus many server mgmtn tools are working out of the box. It is also widely supported as VPS distro, having somewhat a lot of scripts, programs (i.e CPanel), and tuts mostly made to work on CentOS

    With Ubuntu, you'll need some more apt-get and a little hack. But that's all.

    Both YMMW.

    What?

  • I hear it's better to go w/ Scientific Linux rather than CentOS

  • It's just matter of personal preference. I was always more Debian guy and I use it as personal preference since woody which means almost 10 years. I don't use other distributions unless I really have to (i.e. CentOS/cPanel).

    You have your way. I have my way. As for the right way, the correct way, and the only way, it does not exist. ~ Friedrich Nietzsche

  • @LongShot said: I've upgraded from Lenny to Squeeze successfully on more than one VPS (including 123Systems):

    OpenVZ or Xen? Is it possible on OpenVZ?

    My Own Universe | ChatX IRC Network irc.chatx.net:6667
  • It's possible on any platform. Just change your repos and do a dist-upgrade.

  • @Aldryic Upgrading on CentOS to a major revision usually breaks it, and CentOS even say you shouldn't

    Debian/Ubuntu have clear upgrade paths

    The Original Daniel.

  • I wasn't aware CentOS had a dist-upgrade, to be perfectly honest. I only have maybe two hours' time on that distro.

    But as the question was concerning Debian, I didn't feel the need to clarify there :P

Sign In or Register to comment.