What about a new ARM repository hosted inside the forge?
@davidep can create the infrastructure and all repos will be automatically mirrored.
Also, uploading rpms will be only a matter of sharing SSH key.
Keep in mind there are some unsolved issues,
- one of the first (severe) hurdles still exists: adamd & libreport. I
opted for a dummy package for adadm: want to stay close to āupstreamā
NS X86_64, quick but dirty work around⦠- Initial install throws up some errors, not severe it just works.
nevertheless the install script (workarounds) should
get more rigged.
repo is upā¦
my installation steps from a raspberry pi2 (after the centos install):
$ yum install http://mirror.framassa.org/nethpi/nethserver-release-7arm-0.1.19.g449c95b.ns7.noarch.rpm
then adjust the repo:
$ rm -f /etc/yum.repos.d/NethServer.repo
cat << 'EOF' > /etc/yum.repos.d/NethServer.repo
[nethserver-base]
name=NethServer $distroversion-arm base
#mirrorlist=http://mirrorlist.nethserver.org/
baseurl=http://mirror.framassa.org/nethpi/$releasever/base/$basearch
#gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-NethServer-$releasever
gpgcheck=0
enabled=1
enablegroups=1
[nethserver-updates]
name=NethServer $distroversion-arm updates
#mirrorlist=http://mirrorlist.nethserver.org/
baseurl=http://mirror.framassa.org/nethpi/$releasever/updates/$basearch
#gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-NethServer-$releasever
gpgcheck=0
enabled=1
enablegroups=1
[nethserver-testing]
name=NethServer $distroversion-arm testing
#mirrorlist=http://mirrorlist.nethserver.org/
baseurl=http://mirror.framassa.org/nethpi/$releasever/testing/$basearch
#gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-NethServer-$releasever
gpgcheck=0
enabled=0
enablegroups=0
[epel]
#Temporary placeholder for missing epel repositories
name=NethServer $distroversion-arm placeholder for epel
#mirrorlist=http://mirrorlist.nethserver.org/
baseurl=http://mirror.framassa.org/nethpi/$releasever/ns-epel/$basearch
#gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-NethServer-$releasever
gpgcheck=0
enabled=1
enablegroups=0
EOF
and install
$ yum clean all
$ yum update
$ nethserver-install
iāve had some problem with eth (probably becauseit was in dhcp) and with httpd-admin not installed so:
$ yum install nethserver-httpd-admin nethserver-openssh nethserver-ntp
no more time for other tests but again @mark_nl
edit:
iāve added nethserver-openvpn in testing⦠installation went fineā¦
$ yum --enablerepo=nethserver-testing install nethserver-openvpn
Yeah, thatās the reson to split the install in base / base-packages, (httpd-admin starts delayd by default, probaly not enough)
and
stopped network-manager (thougt it workedā¦),
EDIT:
@dz00te (install (and software manger) needs the grouplist file
thanx for providing this!
No luck, I am inventiagting,
Yum Groups are fine Now, network template ifcfg-eth0 did not expand.
Had that before, but not after disabling the networkmanager just behore nethserver-intit.
Maybay we shoud set an fixed IP till this is sorted out.
Second run is successful!
To hasty (itās my Nature) had to configure the PI with more care,
As I should know, my DHCP sever does not like not matching FQDN, had to set a porper hostname.
Although it showās we must do some work and help is needed.
If you want a sniff how NS on a PI2 could look like and want to contribute take a preview:
EDIT:
follow the instructions form the wiki
http://wiki.nethserver.org/doku.php?id=ns_raspi2
As said before this project started up as a prove of concept, and should still be seen as such.
Even in this raw sate it is amazing how good NS behaves on such light hardware the discussion where this could lead can begin. For my personal use there are a feasible cases :
-
backup gateway/dhcp server if the home server/gate is in maintenances.
-
monitor network and it clientās
-
And not to forget, most important: the fun factor:
Sure itās possible to run a (openvpn)gateway/file-/mail?-server/⦠on my pi.
(besides this, iām convinced light, low-power consuming, professional
server/gateway arm based products are going to come)
does this work on rpi3? when i have some time i will try
Looks very interesting! Any other scenarios are coming up?
Firewall and VPN? @filippo_carletti what do you think?
No that would surprise me, as far as I know multy-bit arch has never been supported on Centos .
You could try localinstall of small package
yum loccalinstall https:// mirror.centos.org/altarch/7/os/armhfp/Packages/nano-2.3.1-10.el7.armv7hl.rpm
Iāll guess we found a volunteer to port this to aachr64, after the groundwork is done.
the centos for rpi3 is 32 bit only (for now)ā¦
As the rpi fundation say, it is 50% faster (on 32 bit os not 64)
my centos rpi3 is in production state (samba, owncloud, transmission, ecc
)
When i have some time i will backup my SD card and try to install NS on rpi3 =)
[root@centos-rpi3 ~]# yum list installed | grep nano
nano.armv7hl 2.3.1-10.el7 @base
[root@centos-rpi3 ~]# rpm -qa | grep nano
nano-2.3.1-10.el7.armv7hl
PS On my Rpi2 NS works great!
added a little howto on wiki:
http://wiki.nethserver.org/doku.php?id=ns_raspi2
just reinstalled with hostname configured and all works
yesss i agree
Thanx! (not one of my talents)
@dz00te @jackyes
Could you look for issues in the nethserver-install.log and nethserver-install-journalctl.log?
In relation to the RasPi2 vs 3 and 32bit vs 64bit I saw the following on
the Pi site which may be of interest:
-
The Foundation is still shipping a single unified Raspbian code base that
runs on all of the existing Raspberry Pi platforms, and that means that
they view the new 64-bit processor as ājust a faster 32-bit core.ā While
there would be benefits to creating a 64-bit version of Raspbian right now,
Upton sees the downside of breaking backwards compatibility. However that
doesnāt mean that itās going to go to waste.* -
āAlthough this is a 64-bit core, on day one, weāre only going to be
running 32-bit code. Weāre still running Raspbian, which is our ARMv6
operating system. There are some benefits from going 64-bit, primarily
it brings a broader range of operating systems [onto the Raspberry Pi].ā ā
Eben Upton* -
I think a lot of people forget the Foundationās educational mission, and
the importance it places on backwards compatibility with the 8 million
Raspberry Piās already out there. When youāre dealing with computers in a
classroom, not making all your teaching materials out of date overnight is
vital.* -
āā¦weāre a not for profit, we exist to try and get kids programming.ā ā
Eben Upton* -
While that doesnāt mean those of us outside the classroom canāt make use
of the new 64-bit capabilities of the Raspberry Pi 3, it does means we
shouldnāt expect the Foundation to provide it. There are already Android
ports http://androidpi.wikia.com/wiki/Android_Pi_Wiki to the Raspberry
Pi; Iām rather hopeful that weāll see a fully featured port of an
up-to-date Android distribution. Personally it sounds like a perfect Google
Summer of Code https://summerofcode.withgoogle.com/ project. Anyone�*
The link is
http://makezine.com/2016/02/28/eben-upton-talks-about-the-new-raspberry-pi-3/
reported in PM
@giacomo @filippo_carletti @davidep @alefattorini
The isseu with adadm & libreport is realy bugging me.
I have another go on libreport over easter; a appreciate your thoughts
- leave it as is (bugs me)
- (investigate possabilty to) drop dep; soft RAID is not usefull on
arm/pi. (there for a request to CentOS arm-dev group does not likely
stand) - do whatever possible to satisfy dep
I would like to go with this.
Before giving an answer, we should test a CentOS minimal install with and without raid configured from Anaconda. At the end of the installation, we must check if mdadm is installed or not.
Iām confident we can safely remove the dependency with a little work.
Just give me a little time to work on it
Thanx, I can sleep in peace again.
Followed your example and setup an issue tracker, iāll put in there.
Only if RPi3 came with two 1Gb ethernet ports, this would have made an awesome gateway/router replacement with very low power consumption.
Thereās USB-Ethernet adapter on the market
We sill need to update the ārequirementā in the doc
http://docs.nethserver.org/en/latest/installation.html#minimum-requirements