Author Topic: Centos7 on a Cubieboard2 (and CubieTruck)  (Read 817 times)

Offline rgmhtt

  • Full Member
  • ***
  • Posts: 151
  • Karma: +2/-0
    • View Profile
Centos7 on a Cubieboard2 (and CubieTruck)
« on: February 05, 2017, 11:04:10 am »
Greetings.  It has been a while since I posted here.

We now have good Centos7 images for Cubieboard1, 2, and Truck.  I do not own a Cubie1.  The only difference between running on a Cubie2 or CubieTruck is the uboot.  From:

https://wiki.centos.org/SpecialInterestGroup/AltArch/Arm32

Build your CubieTruck image, then grab the C2 uboot and put that on the mSD card.

With Centos7 (and Fedora), you can put your image on your Sata drive and have ONLY the uboot on the mSD card.  Your system will load uboot from the mSD and then just switch to the Sata drive.

medon.htt-consult.com

Is a simple web server.  You can see it as the 2nd Cubie from the top in:

http://medon.htt-consult.com/~rgm/cubieboard/cubietower-3.JPG

My use of medon is to serve some personal files rather than use a dropbox service.  The main web pages are in serious need of updates (like 15 years old!).

Next I will be upgrading my DNS servers (bottom and 2nd from bottom in the tower).  Then tackling my mailserver which is a CubieTruck...

Enjoy!

Offline rgmhtt

  • Full Member
  • ***
  • Posts: 151
  • Karma: +2/-0
    • View Profile
Re: Centos7 on a Cubieboard2 (and CubieTruck)
« Reply #1 on: February 10, 2017, 08:54:18 am »
Updates:

Medon was unstable, it was hanging after about 3 hours.  I moved the drives to another C2 and it has been stable since.  Don't know what the problem with that board is, will look into it later.

Rigel is now up as an internal DNS running BIND.

Onlo is the external DNS also running BIND.

Onlo and Rigel are also internal NTP servers using Chrony (with config changes to better support NTP clients).

Next is my mailserver on a CubieTruck.  The EPEL repo for armv7 still has some rpms that did not build, and one I need for my system.  So it might be a while before I report on a full mailserver function for Cubie with Centos.  Thing is that my current mailserver is running Redsleeve6 (Centos6 arm clone), and avmavis is beating up those 2 cores.  I am seriously considering the CubieTruck plus to get 4 cores.


Offline rgmhtt

  • Full Member
  • ***
  • Posts: 151
  • Karma: +2/-0
    • View Profile
Re: Centos7 on a Cubieboard2 (and CubieTruck)
« Reply #2 on: February 13, 2017, 07:09:22 pm »
I just put together a cookbook for building a Centos7 image for a Cubieboard2 or CubieTruck.  You can see it at:

http://medon.htt-consult.com/Centos7-armv7.html

I have not edited it into my homepage, as that needs work (just updated my bio by 16 years!).

I welcome comments, but note that I am NOT skilled with html, and did this in geany.

Offline rgmhtt

  • Full Member
  • ***
  • Posts: 151
  • Karma: +2/-0
    • View Profile
New improved Howto - Re: Centos7 on a Cubieboard2 (and CubieTruck)
« Reply #3 on: March 14, 2017, 12:33:54 pm »
I have a rather easy howto for building a Centos7 server image:

http://medon.htt-consult.com/Centos7-armv7.html

Works for both CubieTruck and Cubieboard2.  Don't have a CubieTruck5 for testing.  Wish I did...

I would love to add a button after each text block to copy to the clipboard, but have not gotten it working. Yet.

The mailserver howto is 80% done.

Offline rgmhtt

  • Full Member
  • ***
  • Posts: 151
  • Karma: +2/-0
    • View Profile
Re: Centos7 on a Cubieboard2 (and CubieTruck)
« Reply #4 on: April 21, 2017, 02:32:38 pm »
More things learned and more updates to the howto:

http://medon.htt-consult.com/Centos7-armv7.html

Some clean ups after living with this for my mailserver development.  Notably:

Chronyd now can delay services that require the right time to start (e.g. Postfix and Samba and sometimes Apache) until the system time is at least up to the timestamp on the driftfile.

Also a bit on better than software randomness.