Join the community today
Become a Member

CentOS 6.6 upgrade to CentOS 7

Discussion in 'System Administration' started by Tracy Perry, Sep 7, 2015.

  1. Tracy Perry

    Tracy Perry Active Member

    280
    118
    43
    Aug 24, 2014
    Texas
    Ratings:
    +210
    Local Time:
    1:35 AM
    1.21.6
    MariaDB 10.3.36
    Anybody do an upgrade of their existing CentOS 6.6 system to 7?
    Main thing I'm concerned with is that I have virtual (opendkim, postfix, spamassasin, amavisd, etc) mail set up for my domains on the 6.6 system and that 7 series will snarf it up.

    Anyone running similar and perform a yum -upgrade?

     
  2. eva2000

    eva2000 Administrator Staff Member

    55,163
    12,249
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,825
    Local Time:
    4:35 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    Needs a few extra steps with upgradetool repo I believe see In Place Upgrade CentOS 6.5 to 7.0 using preupg - abi.io and TipsAndTricks/CentOSUpgradeTool - CentOS Wiki Haven't done it myself as too many changes to risk such and upgrade.

    Probably best to do fresh CentOS 7.1 install and then move files over. Hence, why I prefer having email @mydomain separate from servers via 3rd parties outlined at @yourdomain.com email hosting - CentminMod.com LEMP Nginx web stack for CentOS as it makes your setup much more portable for important data like email.
     
  3. eva2000

    eva2000 Administrator Staff Member

    55,163
    12,249
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,825
    Local Time:
    4:35 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
  4. Tracy Perry

    Tracy Perry Active Member

    280
    118
    43
    Aug 24, 2014
    Texas
    Ratings:
    +210
    Local Time:
    1:35 AM
    1.21.6
    MariaDB 10.3.36
    Well, just one more reason to like Debian I guess. Upgrades between versions are flawless every time I did them. ;)
    Since the 6 series is supported until 2020, I'm not going to worry about it. I'll have another server before then and will work on 7 from scratch then import the DB's on it.

    I just prefer personally to have my own mail server, that way I can offer my users (what few I have) a personal email account on the domain (a perk).
     
  5. rdan

    rdan Well-Known Member

    5,449
    1,410
    113
    May 25, 2014
    Ratings:
    +2,204
    Local Time:
    2:35 PM
    Mainline
    10.2
    or setup another small VPS using MailinaBox :).
     
  6. eva2000

    eva2000 Administrator Staff Member

    55,163
    12,249
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,825
    Local Time:
    4:35 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    In that case probably better to just document + automate the email setup via scripts as much as possible :)
     
  7. Tracy Perry

    Tracy Perry Active Member

    280
    118
    43
    Aug 24, 2014
    Texas
    Ratings:
    +210
    Local Time:
    1:35 AM
    1.21.6
    MariaDB 10.3.36
    Well, that actually would be more hassle than it's worth... I have 13 domains I serve mail for - and it's much easier to do the actual vhosting on the main server and not have to worry about OpenDKIM on the main server, then on a VPS. It wouldn't be that hard to do - but this big server is WAY under-utilized now.
     
    Last edited: Sep 8, 2015
  8. Tracy Perry

    Tracy Perry Active Member

    280
    118
    43
    Aug 24, 2014
    Texas
    Ratings:
    +210
    Local Time:
    1:35 AM
    1.21.6
    MariaDB 10.3.36
    No scripts, but it is documented for me.. but the issue is that the setup for 6.5 series did not work the same as on 7... there were just enough changes (systemd a big part of it) that it never did play well for me.
    Weird thing is, the Debian system that I moved from was SystemD also - but did not have the same issues with it as with the CentOS 7 one I worked on. :hungover:

    This was hassle enough to get set up
    Screen-Shot-2015-09-07-at-11.58.14-PM.jpg
    Screen-Shot-2015-09-07-at-11.58.28-PM.jpg
    Screen-Shot-2015-09-07-at-11.58.44-PM.jpg
     
    Last edited: Sep 8, 2015
  9. eva2000

    eva2000 Administrator Staff Member

    55,163
    12,249
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,825
    Local Time:
    4:35 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    yeah CentOS 7 has some changes that can render what worked in CentOS 6, not workable in CentOS 7
     
  10. rdan

    rdan Well-Known Member

    5,449
    1,410
    113
    May 25, 2014
    Ratings:
    +2,204
    Local Time:
    2:35 PM
    Mainline
    10.2
    I guess you still didn't tried it yet.
    MiaB is very easy to use.
    You can host unlimited domains.
    Unlimited Email accounts.
     
  11. Tracy Perry

    Tracy Perry Active Member

    280
    118
    43
    Aug 24, 2014
    Texas
    Ratings:
    +210
    Local Time:
    1:35 AM
    1.21.6
    MariaDB 10.3.36
    My main concern is how it will impact the other features/factors on my server. I don't want to go out and grab another VPS/server just for mail if it is similar to another package I looked at. That one was a little "grabby" on what it took control over.