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

CentOS 6 or CentOS 7?

CentOS 6 or CentOS 7?

Greetings,

I'm using Debian on all of my servers and I thought that I should give CentOS a spin. You know, get to know the environment. I already hate it. First problem encountered: is CentOS 7 stable enough to run it as a server?

I ran Debian 7 immediatly after it was released without any issues - I knew it was throughly tested prior to official release. Cannot say the same for CentOS or at least I cannot find the appropiate info.

Cheers!

A mind that is stretched by a new experience can never go back to its old dimensions.

«1

Comments

  • I prefer 6 a lot of repos are available compared to 7, 6's expiry is 2020 where 7 is 2024..

    Thanked by 2Blanoz TheKiller
  • Centos 7 is stable enough. There're a few new things you will have to take time get used to them. I've been using centos >=6.5 for a while now, so 6.5 or 7 are ok.

    Thanked by 1Blanoz
  • I haven't run anything mission critical on CentOS 7 yet, but haven't had any problems so far. CentOS in general have been very stable for me over the years.

    Thanked by 1Blanoz
  • CentOS 6 because CentOS 7 has systemd.

    -

  • @rds100 said: CentOS 6 because CentOS 7 has systemd.

    All distributions will eventually end up using systemd. It's a world conspiracy :-P

    I believe that there are aliases for systemd so you can continue using "service foo restart". I'm not advanced enough to throw with shite into this matter more than that.

    A mind that is stretched by a new experience can never go back to its old dimensions.

  • Blanoz said: All distributions will eventually end up using systemd. It's a world conspiracy :-P

    I believe that there are aliases for systemd so you can continue using "service foo restart". I'm not advanced enough to throw with shite into this matter more than that.

    It would be easy to switch between boot systems in Debian 8.

    Freelance System Administrator, available for hire. Experienced in: PHP, MySQL, WordPress, Nginx, DDoS-protection, high-performance solutions.

  • cloudcandycloudcandy Member, Provider

    I have been testing Centos7 for sometime now, Though we haven't migrated any of our Critical nodes to Centos7 yet. I would suggest you to stick to Centos 6/6.5 for a while to begin with.

    Budget Dedicated & Linux/Windows VPS @ Cloudcandyhost.com

  • Unfortunately I have got a critical system running on a Linode CentOS 7 machine and its been a royal pain in my behind.

    1. (Not CentOS fault) R1Soft haven't got their kernel module compiler working natively with it, so you have to use pre-compiled kernel modules, which can take some time to be released, which means not updating your kernel till R1Soft release the module.

    2. For some really annoying reason it randomly forgets its default route, so I have to re-add it via the 'ip' command. I have written a cron script to add it when it gets removed to avoid any major downtime, however I really need to either find the issue or move the critical system to a server running CentOS 6.

    Thanked by 1Blanoz
  • still using centos 6.x on all my directadmin boxes.

    directadmin for centos 7 is still beta...

  • use centos 6 if you use any of the control panels and such software.. cpanel/ directadmin doesnt support it yet, mainly due to systemd and the changes it brings in.. I am just running a test environment on centos7, no production servers on it yet

  • jarlandjarland Administrator
    edited November 2014

    I've been running CentOS 7 on my desktop and I quite enjoy it for that use. For servers, it's fine but there are definitely some things to get used to in the repos. For example, I noticed I can't use mod_php with Apache straight from the repos when using anything but the Prefork MPM, due to the way that PHP was compiled. Nothing I can't fix myself, it just surprised me and really changed my workflow for basic LAMP configuration. For that reason, sticking with 6 for production at the moment until I nail down my new workflows.

    Thanked by 2Blanoz vRozenSch00n
  • Oh dear, it consumes 117MB RAM from a fresh minimal start -vs- 48MB Debian with just fail2ban. Need to poach and tune some apps.

    A mind that is stretched by a new experience can never go back to its old dimensions.

  • rmlhhdrmlhhd Member, Provider

    +1 for CentOS 6

    RIPE NCC Member | DevCapsule Ltd. | 1 vCPU, 512MB RAM, 500GB Bandwidth, 10GB SSD for £2/pm exVAT LAX, MCR, AMS

  • Both not the best choice. Debian is doing better in my opinion.

  • @Jono20201 said: Unfortunately I have got a critical system running on a Linode CentOS 7 machine ... 2. For some really annoying reason it randomly forgets its default route, so I have to re-add it via the 'ip' command.

    This post may be related: http://serverfault.com/a/638655

  • @rds100 said: CentOS 6 because CentOS 7 has systemd.

    Ugh, I can't stand systemd . . . what an abomination.

  • Sadly havent had a lot of time to play with CentOS7, but it does look good. The plus to going 7 over 6 is that newer software will end up being available on 7 that might not on 6, or feature 7 has over 6 will be enabled in software. Saying that 6 does have a lot already perfectly fine with it, and its often best to stick with what you know ;)

    Ryan Wild - Superior Networks Founding Director
    Get your own custom VPS plan today here: https://www.superior-networks.com/billing/cart.php?a=add&pid=48

  • I've seen a few stability issues with CentOS 7, not to mention some packages not working correctly.

  • @Microlinux said: Ugh, I can't stand systemd . . . what an abomination.

    systemd monitors processes, so if they die it restarts them, but it won't tell you about it, and the logs aren't in text format.

    Solution: install syslog-ng. Then logcheck works again.

  • I love centos 6.5 than 7.0 because upgrade to 7.0 they changed all commands. Very hard to remember them again.

    6.5 is very easy to use. 6.6. has been released some days ago.

    VPSCheaper.com - Cheapest Premium VPS begin from $1.59 - STOP SELLING

  • socialssocials Member
    edited November 2014

    @ggsmarket said: I love centos 6.5 than 7.0 because upgrade to 7.0 they changed all commands. Very hard to remember them again.

    Changed all the commands? They just changed the init system to systemd. So, talking of commands, it's pretty much just

    systemctl start sshd

    instead of

    service sshd start

    That sure is hard to remember!

    Edit: Okay, and chkconfig is deprecated now, it's just systemctl enable/disable now. Which is much cleaner.

  • im playing w centos 7, i hate long systemctl commands

  • Anyone tested Centos 6.6 ???

    VPSCheaper.com - Cheapest Premium VPS begin from $1.59 - STOP SELLING

  • turnkeyintenetturnkeyintenet Member, Provider

    Centos 7 has some issues as noted above. Our most recent issue is mysql being installed prevents dependencies for snmp for instance. Overall i'd future proof and go with Centos 7, but with things like R1soft modules, and things we bump into it's a tough sell to suggest that for anyone going for production.

    TurnKey Internet, Inc Cloud Servers | Dedicated Servers | Colocation

  • smansman Member
    edited November 2014

    Better to wait till around v7.3ish for anything server related imho. Maybe another year. Really annoying that they left out support for some of the most common network interfaces. That's the biggest PiTA when you have to add in network support manually since you can't do it over the non-working network interface.

    The desktop GUI is pretty nice. I was ready to switch from Mint Cinnamon but hit a show stopper with Wine where they don't include the ability to run 32bit windows programs. It doesn't look like they plan to add that in either and the current work arounds I have seen look too ugly.

  • Still using 6, 7 hasn't that much repos atm and is sometimes not supported by some software.

    Centos4Life

    "LET: where you can go from hero to zero in the space of a single thread." - Nekki

  • sc754sc754 Member
    edited November 2014

    Use 6 and compile a new kernel! 7 is too new for me. What's with Centos 6 using a 2.6 kernel.

  • IshaqIshaq Member, Provider

    CentOS 6. Newer is not always better.

    [BudgetNode] DDoS Protected. 7 Locations (US/EU). Check out our latest offer!
  • CentOS 6 is stable and compatible.

    Instant Linux OpenVZ/Xen & Windows RDP VPS in 17 Locations : UK, USA (CA, TX, FL, GA, NJ states), Mexico, Canada, Bulgaria, Italy, Lithuania, France, Germany, Netherlands, Switzerland, Russia, Singapore | PayPal, Webmoney, Perfect Money, Bitcoin, Payza, Skrill, CashU, Ukash, Neteller
  • I'm still using centos6 as well. It's a shame some providers stopped providing version 6 (eg. Online.Net)

  • Centos 6, 6.x is still compatible with many software (cpanel, Vesta, etc.,). I have been following Centos development since version 4.x. At that time, I looked around and decided to pick it up due to cPanel support, and most of the biggest hosting companies were supporting it.

    Once you understand its processes, setup, etc., it becomes easy. I use Centos on VPS with at least 1gig of RAM.

    I am using Centos 6.x on big e-commerce sites running Apache, Mysql 5.5x, mod_sec, PHP 5.4.34. This is due to compatibility with e-commerce software and modules.

    Centos 7 is different, and I've been feeling like I'm re-learning a totally new Linux OS. But I am loving it.

    I have one small site on Centos 7 configured with Apache 2.x, PHP 5.4 (PHP-FCGID), and Maria DB. It works great so far.

    I just launched another small site with Centos 7 configured with NGINX, PHP 5.4 (PHP-FPM), and Maria DB. I am very impressed on the memory print on this configuration.

    When I get a chance, I will post my installations notes for both configuration. :)

    I have found that CENTOS 6/7 becomes more enjoyable when you use other repositories. When I am not using cPANEL or Vesta, I use the followings:

    Downloading my favorites repos for CENTOS 7.

    [root]# wget http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-2.noarch.rpm
    
    [root]# wget http://rpms.famillecollet.com/enterprise/remi-release-7.rpm
    

    Installing repos

    [root]# rpm -Uvh epel-release*.rpm remi-release*.rpm
    

    Disable SELinux. Restart.

    [root]# nano /etc/selinux/config
    SELINUX=disabled   # change
    
    [root]# shutdown -r now
    

    Diable built in firewall and use apf or csf or whatever you like

    Be root or sudo user

    [root]# cd /root
    [root]# systemctl disable firewalld
    [root]# systemctl stop firewalld
    

    Edit the repos and set priority

    [root]# yum install yum-plugin-priorities
    [root]# nano /etc/yum.repos.d/epel.repo
    [root]# nano /etc/yum.repos.d/remi.repo
    # After enabled, add priority
    enabled=1
    priority = 10
    

    Install maria db

    [root]# yum install mariadb-server mariadb
    

    Start mysql db

    [root]# systemctl start mariadb.service
    

    start at reboot

    [root]# systemctl enable mariadb.service
    

    Secure Mariadb

    [root]# /usr/bin/mysql_secure_installation
    

    Install, restart apache

    [root]# yum install httpd
    [root]# systemctl start httpd.service or systemctl restart httpd.service
    

    start at boot time

    [root]# systemctl enable httpd.service
    

    Example: Install php fcgid and php-cli 5.4.32

    [root]# yum install mod_fcgid php-cli
    

    Example: Install php-mcrypt and other php modules

    [root]# yum install php-mysql php-pdo php-pear php-xml  php-mcrypt php-mbstring
    
  • Centos 6 is more compatible with various software. I would stick to centos 6

    Virtualizor - VPS Control Panel for OpenVZ, XenServer, Xen, KVM
    Our other products : Softaculous Auto Installer, Webuzo and AMPPS

  • eva2000eva2000 Member
    edited November 2014

    Playing with Wordpress Blog at http://wordpress7.centminmod.com/ with the following and looks good :)

    CentOS 7.0 + PHP-FPM 7.0.0-dev + MariaDB 10.0.14 + CSF Firewall

    * Centmin Mod Project (HTTP/2 support + ngx_pagespeed + Nginx Lua + Vhost Stats)
    * Centmin Mod Nginx Letsencrypt SSL Integration (soon)
  • CentOS 7 is looking too much like Fedora, and I don't like that

  • sorry for the newbie question. Does this mean /etc/init.d/nginx start will become systemctl start nginx ?

  • edited November 2014

    aolee said: sorry for the newbie question. Does this mean /etc/init.d/nginx start will become systemctl start nginx ?

    You can use /etc/init.d/[*] if the file is there. For now if you type service nginx restart it will redirect to systemctl start nginx.

  • @hdpixel said:

    Start mysql db

    [root]# systemctl start mariadb.service

    You don't have to write ".service" at the end of everything. You can just

    systemctl [start/stop/enable/disable/status] mariadb

    @aolee said: sorry for the newbie question. Does this mean /etc/init.d/nginx start will become systemctl start nginx ?

    There's no init.d scripts in Centos 7 anymore.

  • i am using Centos 6.x , also Centos 7 is better .

  • I installed it and didn't realize it was so different. I couldn't figure out the firewall so I reinstalled CentOS 6.x Also didn't realize R1Soft and Interwork didn't work with it either.

  • Having used both recently, I have to say I prefer Centos 6. I also find it uses a lot less RAM out of the box compared to 7.

  • @FalconInternet said: I installed it and didn't realize it was so different. I couldn't figure out the firewall so I reinstalled CentOS 6.x Also didn't realize R1Soft and Interwork didn't work with it either.

    Centos 7 has firewalld by default. If you want to keep using iptables:

    systemctl stop firewalld
    systemctl disable firewalld
    yum install iptables-services
    systemctl enable iptables
    systemctl start iptables
    iptables --flush
    service iptables save (yes, iptables-services uses the old method)

    And configure iptables as usual.

  • I prefer CentOS 6 due to CentOS 7 not being fully stable IMO. Also, a lot more repositories are available with CentOS 6 and I like the way they use services more.

    openIcarus | Hosting, Linux & Windows VPS, VPN, Domain Names
    Fast, reliable, stable and secure!

  • ad0ad0 Member
    edited November 2014

    Cent Os 7 is little more heavier

  • smansman Member
    edited November 2014

    Anyone tried the CE6 to CE7 upgrade tool? http://wiki.centos.org/TipsAndTricks/CentOSUpgradeTool

  • qpsqps Member, Provider

    sman said: Anyone tried the CE6 to CE7 upgrade tool? http://wiki.centos.org/TipsAndTricks/CentOSUpgradeTool

    Yeah, it works, we've used it for a few customers.

  • socialssocials Member
    edited November 2014

    @sman said: Anyone tried the CE6 to CE7 upgrade tool? http://wiki.centos.org/TipsAndTricks/CentOSUpgradeTool

    To be honest, that sounds like trouble. Too many things could go wrong.

    Changing the init system is quite a change internally and I find it very hard to believe a simple "upgrade tool" could handle it well.

    Would it update all of sysvinit scripts to systemd services? How would it do it? Upgrade all the packages? What if there isn't a package for PackageX that has a systemd service file bundled in? Even if it has, what if the newer package with systemd service comes with many other changes, maybe the configuration file is completely redesigned?

    I'd just do a clean install and migrate everything over.

  • hdpixel said: Centos 7 is different, and I've been feeling like I'm re-learning a totally new Linux OS.

    For exactly zero benefit. This is what I hate about Linux - things are reimplemented because people are bored or stupid. In the case of systemd, stupid.

    socials said: Changed all the commands? They just changed the init system to systemd. So, talking of commands, it's pretty much just

    ...just changing all your in-house scripts that have worked for a decade. Thanks, systemd.

    Blanoz said: I believe that there are aliases for systemd so you can continue using "service foo restart". I'm not advanced enough to throw with shite into this matter more than that.

    Unfortunately, this is broken on CentOS 7. If you type 'service blah restart' it will tell you it's redirecting to systemctl, but if that call fails there's no error. At least, that's what I experienced with a typo in my sshd_config. Nice.

    To use CentOS 7:

    • I have to learn a new way of start/restarting/stopping/configuring services. For no benefit.

    • I have to learn firewall-cmd. Again, for no benefit - iptables worked fine.

    • Oh, and forget 32-bit. 64-bit only now. Which is insanely stupid because there are plenty of us still running 32-bit VPSes.

    Screw this nonsense. CentOS 7 just disillusioned me from Linux altogether, though my opinion of the OS was already pretty low. I was already a strong fan of *BSD and now I've moved most of my systems to it and will likely only buy it in the future. I'll miss cheap OpenVZ but KVM is not that much more.

    My Advice: VPS Advice

    For LET support, please click here.

  • raindog308 said: CentOS 7 just disillusioned me from Linux altogether

    It's awful . . . it's what you get when a bunch of hipsters attempt to build an OS. Worth mentioning, you can install and use iptables, thank christ.

  • edited November 2014

    Now I am getting the most annoying bug with CentOS 7 and nginx: The shared pool page will be full after a while so I had to restart nginx everyday... It never happen on the old Centos 6 with the same config even after 3 years running nonstop. Upgrade nginx to 1.7 doesn't help either...

Sign In or Register to comment.