Join the community today
Register Now

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

    188
    81
    28
    Aug 24, 2014
    Texas
    Ratings:
    +130
    Local Time:
    6:35 PM
    1.11.5
    MariaDB 10.0.28
    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

    30,883
    6,907
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,400
    Local Time:
    10:35 AM
    Nginx 1.13.x
    MariaDB 5.5
    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

    30,883
    6,907
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,400
    Local Time:
    10:35 AM
    Nginx 1.13.x
    MariaDB 5.5
  4. Tracy Perry

    Tracy Perry Active Member

    188
    81
    28
    Aug 24, 2014
    Texas
    Ratings:
    +130
    Local Time:
    6:35 PM
    1.11.5
    MariaDB 10.0.28
    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).
     
    • Like Like x 1
  5. RoldanLT

    RoldanLT Well-Known Member

    3,975
    965
    113
    May 25, 2014
    Phillipines
    Ratings:
    +1,329
    Local Time:
    8:35 AM
    1.11
    10.2
    or setup another small VPS using MailinaBox :).
     
    • Like Like x 1
  6. eva2000

    eva2000 Administrator Staff Member

    30,883
    6,907
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,400
    Local Time:
    10:35 AM
    Nginx 1.13.x
    MariaDB 5.5
    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

    188
    81
    28
    Aug 24, 2014
    Texas
    Ratings:
    +130
    Local Time:
    6:35 PM
    1.11.5
    MariaDB 10.0.28
    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

    188
    81
    28
    Aug 24, 2014
    Texas
    Ratings:
    +130
    Local Time:
    6:35 PM
    1.11.5
    MariaDB 10.0.28
    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
    • Informative Informative x 1
  9. eva2000

    eva2000 Administrator Staff Member

    30,883
    6,907
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,400
    Local Time:
    10:35 AM
    Nginx 1.13.x
    MariaDB 5.5
    yeah CentOS 7 has some changes that can render what worked in CentOS 6, not workable in CentOS 7
     
  10. RoldanLT

    RoldanLT Well-Known Member

    3,975
    965
    113
    May 25, 2014
    Phillipines
    Ratings:
    +1,329
    Local Time:
    8:35 AM
    1.11
    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

    188
    81
    28
    Aug 24, 2014
    Texas
    Ratings:
    +130
    Local Time:
    6:35 PM
    1.11.5
    MariaDB 10.0.28
    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.