Nethserver on Raspberry Pi

,

netherserver-colelctd is not creating a rrd folder in /var/lib/collectd/. This is what im having: Error: No Collectd hosts found in /var/lib/collectd/rrd. Besides, it’s a piece of work to install the Statistics plugin, lots of unmet dependencies (libpango libcairo and so on). Got it to install though, any idea why i’m not getting the graphics?

Hallo,

last weeks I installed prosody (xmpp server) on Nethserver for testing with an domain from nsupdate.info for testing.

At first without ldap integration…

It’s working well for my phones with omemo encryption, group chat and omemo encrypted http_upload :slight_smile:

Now I have a little problem:

I want to create a redirect rule from my raspi to the web frontend of my mythtvserver .

Sitiuation is:

I-net —>router—>portforwarding 80,443 to nethserver —> https mod_rewrite rule —> https://192.168.1.4/mythweb (green lan of nethserver)

How can I create a rewrite rule for httpd which is rewrite the ^/mythweb to https://192.168.1.4/mythweb ?

The goal is to access the mythtv webfrontend via:

https://server.nsupdate.info/mythweb

for http://server.nsupdate.info/mythweb I have a working rule with reverse proxy.

But for creating the same rules for https I don’t have a plan yet. Any help would be appreciated.

With warm regards from Leipzig

Denis

1 Like

Hallo @denis.robel,

Did you see this?

http://docs.nethserver.org/en/v7/proxy_pass.html#manual-configuration

For me this rule works:

4 Likes

Hallo,

okay it woks. I had a knode in my brain… I tested it from a wrong W-Lan subnet.

Oh man :slight_smile:

But many thanks for replay

3 Likes

BUMP :slight_smile:

Anybody using a pi to run nethserver? Id be interested in using it as a mail server/LDAP. From what I can tell, email is not supported on ARM, but I have not tested it. Maybe tonight.

Hi Joel,

The arm package-repositories need some work… they are lagging behind the x86-64 repo and the centos repo’s.

However openLdap and mail is supported but there is one cave-cat:
Scanning for Viruses with clam-av (nethserver-filter) demands a lot of memory and if you are planing to use full mail filter support on a Rasberry pi you will find out it is a bit to demanding…
and therefor it is optional for arm.

EDIT: see for a quick view

grtz Mark

3 Likes

I installed the latest centos arm build minimal, and then added the nethserver repo from the other post. Works fast, only thing missing is SOGO. I screwed up ldap but thats my fault.

2 Likes

We never “released” SOGo although it does compile for arm: it is not very responsive.
Still looking for other solution for {Cal, Card}-Dav / active sync…

1 Like

Its pretty cool though…runs much faster than expected on pi

1 Like

What about horde?

https://wiki.horde.org/CalDAV
https://wiki.horde.org/CardDAV
https://wiki.horde.org/activesync

2 Likes

Very interesting option to pursuit;
do I understand correctly it is plain php-5.4?

it is in the unofficial-armhfp-epel repository…

3 Likes

Yes, it’s working with PHP5.4.

Horde 5 requires the use of PHP 5.3 or above.

Great! I’ll test it the next days…it’s installabe via pear too, don’t know if it works on arm: https://pear.horde.org/

3 Likes

Hi Mark,
the active-sync part too? I searched for it for a “normal” x86/x64 system and on tachtler they say: active-sync only can be installed with pear because of it’s license.

Tachtler - Horde ActiveSync

ACHTUNG - Aus lizenzrechtlichen Gründen existiert aktuell KEIN rpm-Paket für ActiveSync!

ATTENTION - For licensing reasons there is currently NO rpm package for ActiveSync!

1 Like

IMHO having a low resource {cal card}-DAV solution enhances the mail server to something usefull,
I have to admit i use active sync for all my mobile devices and would not like to miss it on my “main” server.

We could try to find out which part of the license is holds feodora / Rhel back.
I do not see strange restrictions in the debian package;
If there are no further restrictions as there are with other implementation os active-sync, nothing would hold us back to make a package in time…

Just checked the SOGo documentarian, they used to have an disclaimer about the usage of active-sync which is removed… EDIT: still there

In order to use the SOGo ActiveSync support code in production environments, you need to get a proper usage license from Microsoft. Please contact them directly to negotiate the fees associated to your user base.

To contact Microsoft, please visit:

Intellectual Property & Open Innovation | Microsoft Legal and send an email to iplicreq@microsoft.com

Inverse inc. provides this software for free, but is not responsible for anything related to its usage.

1 Like

Horde and activesync works on a raspberry in a first test with Outlook as client!

Enable unofficial epel repo and install horde:

mv /etc/yum.repos.d/epel.repo ~
cat > /etc/yum.repos.d/epel.repo << EOF
[epel]
name=Epel rebuild for armhfp
baseurl=https://armv7.dev.centos.org/repodir/epel-pass-1/
enabled=1
gpgcheck=0
EOF
yum clean all
yum install https://nethserver.globalcortex.net/mirror/devtest/nethserver-horde-0.0.1-1.16.gd07f9c5.ns7.noarch.rpm

Enable activesync (which installs the activesync module via pear as it’s not in the unofficial epel repo - thanks @m.traeumner):

config setprop horde activesync enabled
signal-event nethserver-horde-update

You have to enable Activesync in the Horde web UI too. Don’t test on a production system!

4 Likes

kudo’s to @mrmarkuz & @m.traeumner :clap::clap:

4 Likes

I don’t know if I have follow a correct procedure… but I have installed Nethserver 7.6 full on Raspberry PI 3 B+… and it’s fantastic!

5 Likes

Kudos to our arm team @mark_nl @mrmarkuz @dz00te

1 Like

Do u think that can we ever have cockpit on Raspberry? :star_struck:

It should work because cockpit is a noarch package.

1 Like