Thanx, will test it on aarch64 this affternoon
I would like to test a couple of issues inside an aarch64 machine, so I’ve created a new scaleway account.
But when creating a new machine, there is no CentOS image available for ARM.
What are the steps to have a running CentOS/NethServer aarch64 machine on Scaleway? Do I need to create my image?
Tested on virtual machine using qemu. Everything good.
Thank you @mark_nl!
i’m just playing a little with some ns76 altarch to see where we are, because i was a litle absent during last two months… anyway, i think that Ultimate ns7 software updates origin policy break yum on altarch
error on software center:
failure: repodata/repomd.xml from ce-base: [Errno 256] No more mirrors to try. http://mirror.centos.org/centos/7.6.1810/os/aarch64/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
it seems that mirrorlist.nethserver.org did not handle correctly with altarch, ie if the ce-base seems to redirect to
but there is no such url
to make it work i have disabled from ce-* mirrorlist and changed baseurl, ie:
and i think we should also disable some repo for altarch:
ce-sclo* for armhfp
ce-sclo-sclo for aarch64
someone else had the same problem?
Thanks for reporting, we will look into it!
Seems like @Mr.Olie had the same problem:
Just pushed a fix to
mirrorlist.nethserver.org, would you mind checking it out?
Just did a quick test using curl, seems good:
curl 'http://mirrorlist.nethserver.org/?release=7&repo=ce-updates&arch=aarch64&nsrelease=7.6.1810' curl 'http://mirrorlist.nethserver.org/?release=7&repo=ce-updates&arch=armhfp&nsrelease=7.6.1810'
it seems ok to me, for aarch64 and armhfp. tnx!
ops… i talked too early… i’ve done a full update, but now i got error on sclo which didn’t exist for aarch64
more tests, later…
Please give me the official URLs [or open a PR for them]!
This is from nethserver repo file:
``` [ce-sclo-sclo] name=CE-SCLo-sclo-$nsrelease mirrorlist=http://mirrorlist.nethserver.org/?release=$releasever&repo=ce-sclo-s$ #baseurl=http://mirror.centos.org/centos/$nsrelease/sclo/$basearch/sclo/ gpgcheck=1 repo_gpgcheck=0 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-SCLo enabled=0 [ce-sclo-rh] name=CE-SCLo-rh-$nsrelease mirrorlist=http://mirrorlist.nethserver.org/?release=$releasever&repo=ce-sclo-r$ #baseurl=http://mirror.centos.org/centos/$nsrelease/sclo/$basearch/rh/ gpgcheck=1 repo_gpgcheck=0 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-SCLo enabled=0
Disabled it manually, like @dz00te said.
sorry I do not think I understood
the problem is that ther is no official url… i mean if you check a mirrror:
only sclo-rh exixst for aarch64, while for armhfp there is no sclo* at all
i don’t know if it’s possible to manage this from mirrorlist (that will be probably the best solution), otherwise the only solution i see is to change
check the arch and and enable/disable [ce-sclo-sclo]
and [ce-sclo-rh] depending on the arch… but probably i miss something…
Yes, I forgot that …it’s the kind of input I need
IIRC packages that we recompile from EPEL and SCLo as dependencies for our modules will go to nethserver-updates/armhfp. Wherever an upstream mirror exists, mirrorlist will point to it.
Otherwise it could point to an empty/dummy repo and its packages are expected to be in nethserver-updates (or nethserver-base).
Yesterday I was able to install CentOS on a new Raspberry Pi4 2GB via this link:
After expanding the root partition I inserted the uSD into the Pi and was able to install NethServer:
yum install -y http://mirror.nethserver.org/nethserver/nethserver-release-7.rpm nethserver-install
I had still some problems:
- repo’s ce-sclo-sclo and ce-sclo-rh still had to be disabled manually; I don’t know the implication of this;
- openVPN could not be installed;
- rspamd as part of nethserver-mail-filter could not be installed.
What are the options to solve these problems?
You shouldn’t have any major drawbacks.
I have no idea on this.
I don’t know The ARM project is community driven but it’s a little bit stuck.
Maybe @dz00te or other ARM users can help to solve your problems
The rspamd rpm has been done manually by @mark_nl AFAIK, maybe he can upgrade the version or share his note to do it ourself ?
the last src.rpm I know is : http://packages.nethserver.org/nethserver/7/arm-base/Source/SPackages/rspamd-1.8.2-1.ns7.src.rpm
Installation of nethserver-mail-filter requires rspamd ≥ 1.9.1. I really have no idea how to upgrade this. @mark_nl can you point me in the right direction?
I hope the ARM project stays alive. Older Pi’s were not so powerfull; other boards were more powerfull, but I wasn’t able to install a recent version of Centos on it. I believe the new Pi4 will change this and might be a energy-saving server for soho-use.
I think it’s the same problem as with evebox, it’s not compiled for arm in the new version.
Perhaps @smutje1179 can help with compiling
well I can build locally rspamd for x86_64, probably more to know for ARM, wait and see
Thank @mark_nl for the spec file
Yes it could be, main restraint was the 1G ram with 2G or more it should perform much better!
@ftimmers give me a couple of days to update/(re)compile nethserver dependencies like rspamd for armhfp.
(Sorry for being a lousy community member…)