Installing NethServer 7.9 on a Raspberry Pi 4

Hello my Nethserver friends,

Today I wanted to create a quick How To guide on quickly setting up and using a Raspberry Pi 4 (specifically this kit). This guide assumes that you have already downloaded the latest CentOS 7.9 image file and loaded it onto an SD card. We used the CentOS-Userland-7-armv7hl-RaspberryPI-Minimal-4-2009 image with default login credentials of username:root and password:centos.

Assumptions & Scope:

There is a single Raspberry Pi 4 networked on a standard class A X.X.X.X/24 network (10.0.1.0/24 for our demo) with NethServer having only 1 NIC. NOTE because this is new/untested software do not consider this a recommendation for production ready environments and you will not be able to purchase official support from Nethserver and will most likely be left to figure out any problems on your own. Use at your own risk and consider learning more about the NS Backup module.

First Time Configuration of RP4:

From either the terminal or ssh log into the Raspberry Pi 4 root account and look at the current disk space layout with:

df -h

image

Notice that the root of the drive is reporting 75% usage and we need to expand the file system to fit the remainder of the space on the SD card. To exapnd the file system, as root perform the following command:

rootfs-expand

Add Repository and Install Nethserver:

After confirming the file system has expanded the entire volume of the SD card we need to add the NethServer repository to our RP4. Add the repository by entering the following. Make sure to confirm with a y (for yes) when prompted to add the NS repository to your system.

yum install http://packages.nethserver.org/nethserver/7.9.2009/arm-base/armhfp/Packages/nethserver-release-7-19.ns7.noarch.rpm

After the NS repository has been succesffuly added, we can perform the standard Nethserver install procedure found here. To begin the install process, copy the following and press enter. NOTE the install process may take a 5 -10 minutes.

nethserver-install

When finished, a Complete! message will be displayed along with your web access your URL.

Accessing the Server Manager

To complete the configuration and gain access to the newly installed NethServer in a web browser navigate to your server IP web-admin address using the following format https://a.b.c.d:9090 where a.b.c.d is the IP address of the server. For this demo https://10.0.1.157:9090 will give us access to the Server Manager.
Note - you may get a security warning from your browser due to the self signed untrusted certificate. Bypass this warning by selecting the Advanced option and selecting the Accept the Risk and Continue button to proceed to the next step. The default login credentials of username:root and password:centos are used here.


From here you can perform any of the typical/routine first time setup arrangements such as changing the password, installing apps and setting you networking requirements. NOTE to change the hostname for the first time I had to set the valid domain at System -> Users & Groups and selected the “Modify” button after setting the full desired host name.

-TO DO List-

  • Add video
  • Explore software modules
  • Refine guide as needed
10 Likes

Thanks for your tutorial, I will try it as soon as possible.

My current list of lighly tested & working modules:
Email - DKIM, Spam Filter and Relay
Account Providers - SAMBA4/AD and joined Win10 Pro machine successfully
Networking - DNS & DHCP
Lets Encrypt! certificates
VPN - OpenVPN both tunnel and road warrior /w AD auth
File Server - Added 500 GB SSD via USB 3.0 - ~115 MB/Sec transfer speeds
SOGo /w Active Sync! - v4.3
Reverse Proxy
Fail2ban
Guacamole! /w LDAP authentication - RDP, SSH and VNC tested


5 Likes

@royceb, thanx for sharing, testing and the nice write up!

It makes me wonder if it is actual necessary to create / publish images for Nethserver arm, what do you think?

Will try to build Sogo 5.x for armv7hl coming (Christmas) holiday’s,
If it succeeds will ping you on that…

Grtz mark

1 Like

Didn’t work for me unfortunately

Starting NethServer installation process. It will take a while...

Installing base system...

Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirror.nsw.coloau.com.au
 * centos-kernel: mirror.nsw.coloau.com.au
 * extras: mirror.nsw.coloau.com.au
 * updates: mirror.nsw.coloau.com.au
https://armv7.dev.centos.org/repodir/epel-pass-1/repodata/repomd.xml: [Errno 14] HTTPS Error 403 - Forbidden
Trying other mirror.
To address this issue please refer to the below wiki article

https://wiki.centos.org/yum-errors

If above article doesn't help to resolve this issue please use https://bugs.centos.org/.



 One of the configured repositories failed (Epel rebuild for armhfp),
 and yum doesn't have enough cached data to continue. At this point the only
 safe thing yum can do is fail. There are a few ways to work "fix" this:

     1. Contact the upstream for the repository and get them to fix the problem.

     2. Reconfigure the baseurl/etc. for the repository, to point to a working
        upstream. This is most often useful if you are using a newer
        distribution release than is supported by the repository (and the
        packages for the previous distribution release still work).

     3. Run the command with the repository temporarily disabled
            yum --disablerepo=epel ...

     4. Disable the repository permanently, so yum won't use it by default. Yum
        will then just ignore the repository until you permanently enable it
        again or use --enablerepo for temporary usage:

            yum-config-manager --disable epel
        or
            subscription-manager repos --disable=epel

     5. Configure the failing repository to be skipped, if it is unavailable.
        Note that yum will try to contact the repo. when it runs most commands,
        so will have to try and fail each time (and thus. yum will be be much
        slower). If it is a very temporary problem though, this is often a nice
        compromise:

            yum-config-manager --save --setopt=epel.skip_if_unavailable=true

failure: repodata/repomd.xml from epel: [Errno 256] No more mirrors to try.
https://armv7.dev.centos.org/repodir/epel-pass-1/repodata/repomd.xml: [Errno 14] HTTPS Error 403 - Forbidden
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirror.nsw.coloau.com.au
 * centos-kernel: mirror.nsw.coloau.com.au
 * extras: mirror.nsw.coloau.com.au
 * updates: mirror.nsw.coloau.com.au
https://armv7.dev.centos.org/repodir/epel-pass-1/repodata/repomd.xml: [Errno 14] HTTPS Error 403 - Forbidden
Trying other mirror.
To address this issue please refer to the below wiki article

https://wiki.centos.org/yum-errors

If above article doesn't help to resolve this issue please use https://bugs.centos.org/.



 One of the configured repositories failed (Epel rebuild for armhfp),
 and yum doesn't have enough cached data to continue. At this point the only
 safe thing yum can do is fail. There are a few ways to work "fix" this:

     1. Contact the upstream for the repository and get them to fix the problem.

     2. Reconfigure the baseurl/etc. for the repository, to point to a working
        upstream. This is most often useful if you are using a newer
        distribution release than is supported by the repository (and the
        packages for the previous distribution release still work).

     3. Run the command with the repository temporarily disabled
            yum --disablerepo=epel ...

     4. Disable the repository permanently, so yum won't use it by default. Yum
        will then just ignore the repository until you permanently enable it
        again or use --enablerepo for temporary usage:

            yum-config-manager --disable epel
        or
            subscription-manager repos --disable=epel

     5. Configure the failing repository to be skipped, if it is unavailable.
        Note that yum will try to contact the repo. when it runs most commands,
        so will have to try and fail each time (and thus. yum will be be much
        slower). If it is a very temporary problem though, this is often a nice
        compromise:

            yum-config-manager --save --setopt=epel.skip_if_unavailable=true

failure: repodata/repomd.xml from epel: [Errno 256] No more mirrors to try.
https://armv7.dev.centos.org/repodir/epel-pass-1/repodata/repomd.xml: [Errno 14] HTTPS Error 403 - Forbidden

Configuring system, please wait...

Failed to execute operation: No such file or directory
/sbin/nethserver-install: line 45: /sbin/e-smith/signal-event: No such file or directory

You can access the Web interface at:
/sbin/nethserver-install: line 51: /sbin/e-smith/db: No such file or directory
/sbin/nethserver-install: line 52: /sbin/e-smith/db: No such file or directory

    https://.:9090/sbin/nethserver-install: line 48: /sbin/e-smith/db: No such file or directory

    Login: root
    Password: <your_root_password>


Installation log can be found here: /var/log/nethserver-install.log

Any ideas?

Can you tell us what release of CentOS?

cat /etc/centos-release

I thought exactly the same one as in the instructions

NAME="CentOS Linux"
VERSION="7 (AltArch)"
ID="centos"
ID_LIKE="rhel fedora"
VERSION_ID="7"
PRETTY_NAME="CentOS Linux 7 (AltArch)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:centos:centos:7"
HOME_URL="https://www.centos.org/"
BUG_REPORT_URL="https://bugs.centos.org/"

CENTOS_MANTISBT_PROJECT="CentOS-7"
CENTOS_MANTISBT_PROJECT_VERSION="7"
REDHAT_SUPPORT_PRODUCT="centos"
REDHAT_SUPPORT_PRODUCT_VERSION="7"

CentOS-Userland-7-armv7hl-RaspberryPI-Minimal-4-2009-sda.raw

hmmm strange… This never happened before, we rely on the communtie rebuild of de famous Epel repostitory for armv7hl. And the url to that gives this message as of today:

Let hope it is a little glitch due to maintenance of this repo…

EDIT: asked on the (CentOS) arm-dev list:

EDIT2: it is back online, but they are still working on it

1 Like

Thanks - its very late here in Perth, so I’ll try again in the morning :slight_smile:

May have been a hiccup, I just checked my homework and deployed another install without issue.

1 Like

Hi,

To get in sync with x86_64 I’v uploaded two updates to the (arm) nethserver-testing repository:

rspamd-2.5-1.1.ns7.armv7hl.rpm
olefy-1.2.3-1.ns7.armv7hl.rpm

They can be updated and tested with:

yum --enablerepo=nethserver-testing update rspamd olefy

Also build pihole for arm, although not sure where this packages belongs to :question:

grtz mark

2 Likes

Updated both without issues. I tried triggering some spam messaging but because I relay all of my traffic through another primary NS install, the other x86 rspamd is taking care of the job. Regardless thank you for all your work! Also updated & installed threat shield and tested a IP against a loaded blacklist. Pretty cool so far for a cheap-o board.



4 Likes

found no blocker myself, it threw one (1) error which during installation but runs fine.
They are uploaded to updates now :grinning:

1 .... rspamd[29638]: <dyatkr>; map; http_map_error: error readi...e

Do you know if nextcloud would be hard to get the required dependencies met?

For example has an output of:

yum install http://packages.nethserver.org/nethserver/7.9.2009/arm-testing/armhfp/Packages/nethserver-nextcloud-1.16.0-1.1.g70f59ba.ns7.noarch.rpm

 Processing Dependency: rh-php73 for package: nethserver-nextcloud-1.16.0-1.1                                                                                                                                                             .g70f59ba.ns7.noarch
--> Processing Dependency: rh-php73-php-fpm for package: nethserver-nextcloud-1.                                                                                                                                                             16.0-1.1.g70f59ba.ns7.noarch
--> Processing Dependency: rh-php73-php-gd for package: nethserver-nextcloud-1.1                                                                                                                                                             6.0-1.1.g70f59ba.ns7.noarch
--> Processing Dependency: rh-php73-php-gmp for package: nethserver-nextcloud-1.                                                                                                                                                             16.0-1.1.g70f59ba.ns7.noarch
--> Processing Dependency: rh-php73-php-imagick for package: nethserver-nextclou                                                                                                                                                             d-1.16.0-1.1.g70f59ba.ns7.noarch
--> Processing Dependency: rh-php73-php-intl for package: nethserver-nextcloud-1                                                                                                                                                             .16.0-1.1.g70f59ba.ns7.noarch
--> Processing Dependency: rh-php73-php-ldap for package: nethserver-nextcloud-1                                                                                                                                                             .16.0-1.1.g70f59ba.ns7.noarch
--> Processing Dependency: rh-php73-php-mbstring for package: nethserver-nextclo                                                                                                                                                             ud-1.16.0-1.1.g70f59ba.ns7.noarch
--> Processing Dependency: rh-php73-php-pdo for package: nethserver-nextcloud-1.                                                                                                                                                             16.0-1.1.g70f59ba.ns7.noarch
--> Processing Dependency: rh-php73-php-pdo_mysql for package: nethserver-nextcl                                                                                                                                                             oud-1.16.0-1.1.g70f59ba.ns7.noarch
--> Processing Dependency: samba-client for package: nethserver-nextcloud-1.16.0                                                                                                                                                             -1.1.g70f59ba.ns7.noarch
--> Processing Dependency: sclo-php73-php-smbclient for package: nethserver-next                                                                                                                                                             cloud-1.16.0-1.1.g70f59ba.ns7.noarch
--> Running transaction check
---> Package nethserver-nextcloud.noarch 0:1.16.0-1.1.g70f59ba.ns7 will be insta                                                                                                                                                             lled
--> Processing Dependency: rh-php73 for package: nethserver-nextcloud-1.16.0-1.1                                                                                                                                                             .g70f59ba.ns7.noarch
--> Processing Dependency: rh-php73-php-fpm for package: nethserver-nextcloud-1.                                                                                                                                                             16.0-1.1.g70f59ba.ns7.noarch
--> Processing Dependency: rh-php73-php-gd for package: nethserver-nextcloud-1.1                                                                                                                                                             6.0-1.1.g70f59ba.ns7.noarch
--> Processing Dependency: rh-php73-php-gmp for package: nethserver-nextcloud-1.                                                                                                                                                             16.0-1.1.g70f59ba.ns7.noarch
--> Processing Dependency: rh-php73-php-imagick for package: nethserver-nextclou                                                                                                                                                             d-1.16.0-1.1.g70f59ba.ns7.noarch
--> Processing Dependency: rh-php73-php-intl for package: nethserver-nextcloud-1                                                                                                                                                             .16.0-1.1.g70f59ba.ns7.noarch
--> Processing Dependency: rh-php73-php-ldap for package: nethserver-nextcloud-1                                                                                                                                                             .16.0-1.1.g70f59ba.ns7.noarch
--> Processing Dependency: rh-php73-php-mbstring for package: nethserver-nextclo                                                                                                                                                             ud-1.16.0-1.1.g70f59ba.ns7.noarch
--> Processing Dependency: rh-php73-php-pdo for package: nethserver-nextcloud-1.                                                                                                                                                             16.0-1.1.g70f59ba.ns7.noarch
--> Processing Dependency: rh-php73-php-pdo_mysql for package: nethserver-nextcl                                                                                                                                                             oud-1.16.0-1.1.g70f59ba.ns7.noarch
--> Processing Dependency: sclo-php73-php-smbclient for package: nethserver-next                                                                                                                                                             cloud-1.16.0-1.1.g70f59ba.ns7.noarch
---> Package nethserver-rh-php73-php-fpm.noarch 0:1.0.0-1.ns7 will be installed
--> Processing Dependency: sclo-php73-php-tidy for package: nethserver-rh-php73-                                                                                                                                                             php-fpm-1.0.0-1.ns7.noarch
--> Processing Dependency: sclo-php73-php-imap for package: nethserver-rh-php73-                                                                                                                                                             php-fpm-1.0.0-1.ns7.noarch
--> Processing Dependency: rh-php73-php-soap for package: nethserver-rh-php73-ph                                                                                                                                                             p-fpm-1.0.0-1.ns7.noarch
--> Processing Dependency: rh-php73-php-pgsql for package: nethserver-rh-php73-p                                                                                                                                                             hp-fpm-1.0.0-1.ns7.noarch
--> Processing Dependency: rh-php73-php-pecl-apcu for package: nethserver-rh-php                                                                                                                                                             73-php-fpm-1.0.0-1.ns7.noarch
--> Processing Dependency: rh-php73-php-pdo for package: nethserver-rh-php73-php                                                                                                                                                             -fpm-1.0.0-1.ns7.noarch
--> Processing Dependency: rh-php73-php-opcache for package: nethserver-rh-php73                                                                                                                                                             -php-fpm-1.0.0-1.ns7.noarch
--> Processing Dependency: rh-php73-php-mysqlnd for package: nethserver-rh-php73                                                                                                                                                             -php-fpm-1.0.0-1.ns7.noarch
--> Processing Dependency: rh-php73-php-mbstring for package: nethserver-rh-php7                                                                                                                                                             3-php-fpm-1.0.0-1.ns7.noarch
--> Processing Dependency: rh-php73-php-ldap for package: nethserver-rh-php73-ph                                                                                                                                                             p-fpm-1.0.0-1.ns7.noarch
--> Processing Dependency: rh-php73-php-intl for package: nethserver-rh-php73-ph                                                                                                                                                             p-fpm-1.0.0-1.ns7.noarch
--> Processing Dependency: rh-php73-php-gd for package: nethserver-rh-php73-php-                                                                                                                                                             fpm-1.0.0-1.ns7.noarch
--> Processing Dependency: rh-php73-php-fpm for package: nethserver-rh-php73-php                                                                                                                                                             -fpm-1.0.0-1.ns7.noarch
--> Processing Dependency: rh-php73-php-enchant for package: nethserver-rh-php73                                                                                                                                                             -php-fpm-1.0.0-1.ns7.noarch
--> Processing Dependency: rh-php73-php-bcmath for package: nethserver-rh-php73-                                                                                                                                                             php-fpm-1.0.0-1.ns7.noarch
--> Processing Dependency: rh-php73 for package: nethserver-rh-php73-php-fpm-1.0                                                                                                                                                             .0-1.ns7.noarch
---> Package samba-client.armv7hl 0:4.10.16-7.el7_9 will be installed
--> Processing Dependency: libarchive.so.13 for package: samba-client-4.10.16-7.                                                                                                                                                             el7_9.armv7hl
--> Running transaction check
---> Package libarchive.armv7hl 0:3.1.2-14.el7_7 will be installed
---> Package nethserver-nextcloud.noarch 0:1.16.0-1.1.g70f59ba.ns7 will be insta                                                                                                                                                             lled
--> Processing Dependency: rh-php73 for package: nethserver-nextcloud-1.16.0-1.1                                                                                                                                                             .g70f59ba.ns7.noarch
--> Processing Dependency: rh-php73-php-fpm for package: nethserver-nextcloud-1.                                                                                                                                                             16.0-1.1.g70f59ba.ns7.noarch
--> Processing Dependency: rh-php73-php-gd for package: nethserver-nextcloud-1.1                                                                                                                                                             6.0-1.1.g70f59ba.ns7.noarch
--> Processing Dependency: rh-php73-php-gmp for package: nethserver-nextcloud-1.                                                                                                                                                             16.0-1.1.g70f59ba.ns7.noarch
--> Processing Dependency: rh-php73-php-imagick for package: nethserver-nextclou                                                                                                                                                             d-1.16.0-1.1.g70f59ba.ns7.noarch
--> Processing Dependency: rh-php73-php-intl for package: nethserver-nextcloud-1                                                                                                                                                             .16.0-1.1.g70f59ba.ns7.noarch
--> Processing Dependency: rh-php73-php-ldap for package: nethserver-nextcloud-1                                                                                                                                                             .16.0-1.1.g70f59ba.ns7.noarch
--> Processing Dependency: rh-php73-php-mbstring for package: nethserver-nextclo                                                                                                                                                             ud-1.16.0-1.1.g70f59ba.ns7.noarch
--> Processing Dependency: rh-php73-php-pdo for package: nethserver-nextcloud-1.                                                                                                                                                             16.0-1.1.g70f59ba.ns7.noarch
--> Processing Dependency: rh-php73-php-pdo_mysql for package: nethserver-nextcl                                                                                                                                                             oud-1.16.0-1.1.g70f59ba.ns7.noarch
--> Processing Dependency: sclo-php73-php-smbclient for package: nethserver-next                                                                                                                                                             cloud-1.16.0-1.1.g70f59ba.ns7.noarch
---> Package nethserver-rh-php73-php-fpm.noarch 0:1.0.0-1.ns7 will be installed
--> Processing Dependency: sclo-php73-php-tidy for package: nethserver-rh-php73-                                                                                                                                                             php-fpm-1.0.0-1.ns7.noarch
--> Processing Dependency: sclo-php73-php-imap for package: nethserver-rh-php73-                                                                                                                                                             php-fpm-1.0.0-1.ns7.noarch
--> Processing Dependency: rh-php73-php-soap for package: nethserver-rh-php73-ph                                                                                                                                                             p-fpm-1.0.0-1.ns7.noarch
--> Processing Dependency: rh-php73-php-pgsql for package: nethserver-rh-php73-p                                                                                                                                                             hp-fpm-1.0.0-1.ns7.noarch
--> Processing Dependency: rh-php73-php-pecl-apcu for package: nethserver-rh-php                                                                                                                                                             73-php-fpm-1.0.0-1.ns7.noarch
--> Processing Dependency: rh-php73-php-pdo for package: nethserver-rh-php73-php                                                                                                                                                             -fpm-1.0.0-1.ns7.noarch
--> Processing Dependency: rh-php73-php-opcache for package: nethserver-rh-php73                                                                                                                                                             -php-fpm-1.0.0-1.ns7.noarch
--> Processing Dependency: rh-php73-php-mysqlnd for package: nethserver-rh-php73                                                                                                                                                             -php-fpm-1.0.0-1.ns7.noarch
--> Processing Dependency: rh-php73-php-mbstring for package: nethserver-rh-php7                                                                                                                                                             3-php-fpm-1.0.0-1.ns7.noarch
--> Processing Dependency: rh-php73-php-ldap for package: nethserver-rh-php73-ph                                                                                                                                                             p-fpm-1.0.0-1.ns7.noarch
--> Processing Dependency: rh-php73-php-intl for package: nethserver-rh-php73-ph                                                                                                                                                             p-fpm-1.0.0-1.ns7.noarch
--> Processing Dependency: rh-php73-php-gd for package: nethserver-rh-php73-php-                                                                                                                                                             fpm-1.0.0-1.ns7.noarch
--> Processing Dependency: rh-php73-php-fpm for package: nethserver-rh-php73-php                                                                                                                                                             -fpm-1.0.0-1.ns7.noarch
--> Processing Dependency: rh-php73-php-enchant for package: nethserver-rh-php73                                                                                                                                                             -php-fpm-1.0.0-1.ns7.noarch
--> Processing Dependency: rh-php73-php-bcmath for package: nethserver-rh-php73-                                                                                                                                                             php-fpm-1.0.0-1.ns7.noarch
--> Processing Dependency: rh-php73 for package: nethserver-rh-php73-php-fpm-1.0                                                                                                                                                             .0-1.ns7.noarch
--> Finished Dependency Resolution
Error: Package: nethserver-nextcloud-1.16.0-1.1.g70f59ba.ns7.noarch (/nethserver                                                                                                                                                             -nextcloud-1.16.0-1.1.g70f59ba.ns7.noarch)
           Requires: rh-php73
Error: Package: nethserver-rh-php73-php-fpm-1.0.0-1.ns7.noarch (nethserver-base)
           Requires: rh-php73-php-pgsql
Error: Package: nethserver-nextcloud-1.16.0-1.1.g70f59ba.ns7.noarch (/nethserver                                                                                                                                                             -nextcloud-1.16.0-1.1.g70f59ba.ns7.noarch)
           Requires: rh-php73-php-ldap
Error: Package: nethserver-rh-php73-php-fpm-1.0.0-1.ns7.noarch (nethserver-base)
           Requires: rh-php73-php-intl
Error: Package: nethserver-rh-php73-php-fpm-1.0.0-1.ns7.noarch (nethserver-base)
           Requires: rh-php73-php-ldap
Error: Package: nethserver-rh-php73-php-fpm-1.0.0-1.ns7.noarch (nethserver-base)
           Requires: rh-php73-php-pdo
Error: Package: nethserver-rh-php73-php-fpm-1.0.0-1.ns7.noarch (nethserver-base)
           Requires: rh-php73-php-mysqlnd
Error: Package: nethserver-nextcloud-1.16.0-1.1.g70f59ba.ns7.noarch (/nethserver                                                                                                                                                             -nextcloud-1.16.0-1.1.g70f59ba.ns7.noarch)
           Requires: rh-php73-php-imagick
Error: Package: nethserver-rh-php73-php-fpm-1.0.0-1.ns7.noarch (nethserver-base)
           Requires: rh-php73
Error: Package: nethserver-rh-php73-php-fpm-1.0.0-1.ns7.noarch (nethserver-base)
           Requires: sclo-php73-php-imap
Error: Package: nethserver-nextcloud-1.16.0-1.1.g70f59ba.ns7.noarch (/nethserver                                                                                                                                                             -nextcloud-1.16.0-1.1.g70f59ba.ns7.noarch)
           Requires: rh-php73-php-pdo_mysql
Error: Package: nethserver-nextcloud-1.16.0-1.1.g70f59ba.ns7.noarch (/nethserver                                                                                                                                                             -nextcloud-1.16.0-1.1.g70f59ba.ns7.noarch)
           Requires: rh-php73-php-fpm
Error: Package: nethserver-rh-php73-php-fpm-1.0.0-1.ns7.noarch (nethserver-base)
           Requires: rh-php73-php-mbstring
Error: Package: nethserver-rh-php73-php-fpm-1.0.0-1.ns7.noarch (nethserver-base)
           Requires: rh-php73-php-bcmath
Error: Package: nethserver-rh-php73-php-fpm-1.0.0-1.ns7.noarch (nethserver-base)
           Requires: rh-php73-php-soap
Error: Package: nethserver-nextcloud-1.16.0-1.1.g70f59ba.ns7.noarch (/nethserver                                                                                                                                                             -nextcloud-1.16.0-1.1.g70f59ba.ns7.noarch)
           Requires: rh-php73-php-pdo
Error: Package: nethserver-nextcloud-1.16.0-1.1.g70f59ba.ns7.noarch (/nethserver                                                                                                                                                             -nextcloud-1.16.0-1.1.g70f59ba.ns7.noarch)
           Requires: rh-php73-php-mbstring
Error: Package: nethserver-rh-php73-php-fpm-1.0.0-1.ns7.noarch (nethserver-base)
           Requires: rh-php73-php-gd
Error: Package: nethserver-rh-php73-php-fpm-1.0.0-1.ns7.noarch (nethserver-base)
           Requires: rh-php73-php-enchant
Error: Package: nethserver-nextcloud-1.16.0-1.1.g70f59ba.ns7.noarch (/nethserver                                                                                                                                                             -nextcloud-1.16.0-1.1.g70f59ba.ns7.noarch)
           Requires: rh-php73-php-gd
Error: Package: nethserver-rh-php73-php-fpm-1.0.0-1.ns7.noarch (nethserver-base)
           Requires: rh-php73-php-pecl-apcu
Error: Package: nethserver-rh-php73-php-fpm-1.0.0-1.ns7.noarch (nethserver-base)
           Requires: rh-php73-php-fpm
Error: Package: nethserver-rh-php73-php-fpm-1.0.0-1.ns7.noarch (nethserver-base)
           Requires: rh-php73-php-opcache
Error: Package: nethserver-rh-php73-php-fpm-1.0.0-1.ns7.noarch (nethserver-base)
           Requires: sclo-php73-php-tidy
Error: Package: nethserver-nextcloud-1.16.0-1.1.g70f59ba.ns7.noarch (/nethserver                                                                                                                                                             -nextcloud-1.16.0-1.1.g70f59ba.ns7.noarch)
           Requires: rh-php73-php-intl
Error: Package: nethserver-nextcloud-1.16.0-1.1.g70f59ba.ns7.noarch (/nethserver                                                                                                                                                             -nextcloud-1.16.0-1.1.g70f59ba.ns7.noarch)
           Requires: rh-php73-php-gmp
Error: Package: nethserver-nextcloud-1.16.0-1.1.g70f59ba.ns7.noarch (/nethserver                                                                                                                                                             -nextcloud-1.16.0-1.1.g70f59ba.ns7.noarch)
           Requires: sclo-php73-php-smbclient
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

I think there is a compatible arm equivalent or here but I honestly am not familiar at all with much of this architecture

Yes they are because we are missing software collections to provide php 7.x.

I did build nextcloud/nethserver-nextcloud in the past using this CentOS community effort providing remi-php7.2-scl.

the remi and rhel/centos software collections have different package-names meaning it is a quite of a hassle to maintain a arm-nextcloud package. moreover we like to have php 7.latest not 7.2…

I short we need to rebuild the hole rh-php7.x software collection which is quite complicated as it includes (among other things) apache scl… (which we do not use with the php-fpm on nethserver …)

Nevertheless I encourage you to ping the arm-dev list on arm scl php 7.x.
If you do a tip: send your e-mail in plane-text…

2 Likes

Hey thanks for the howto @royceb!

Is Freepbx working on a rpi4 as of today through nethserver? been a while since i last got a lil free time to play with this

Thanks

Sorry to say is is not available. :frowning_face:

IIRC most predominant reason is it includes a kernel-module not available for arm32 and - 64 bit.

The repository you found is for aarch64 (arm64 bit). ATM the RPI 4 runs armhfp (arm32 bit).

Before you ask:
Yes it is possible to run the RPI 4 in 64bit with a custom kernel. Unfortunately the EPEL for aarch64 is not maintained anymore because RHEL decided to pull the plug on aarch64 for el7.
Moreover it is not encouraged by CentOS to run aarch64 on SBC’s which does not stop us to do it anyway.

And yes it is a strange situation:

for armhfp (32bit) we have an unofficial, pretty much complete and regularly updated EPEL,
but no SCL’s

for aarch64 (arm64 bit) we a growing number of SCL’s,
but an out off date, unmaintained (official) EPEL…

Maybe it is not available on NethServer, but Freepbx can run on a rpi4, see below link:

I have this running now for about 2 months and it is running very fine. Be sure to secure well. I’m using fail2ban and a voip-blacklist on ipset:

1 Like