Who want to Convert HowTo from ClearOS to NethServer 7

For sure we need to help ClearOS users before they lost hope in CentOS


Might Be a bad Nethserver user
because I did’nt followed HowTo Add a new services
But this is how I did it :wink:

NOTE: I assume your already in a root SSH session

1.1’ Download & Extract Syncthing

The devloppment is very active so please look for the latest version

# adduser syncthing -d /opt/syncthing
su - syncthing
$ wget https://github.com/syncthing/syncthing/releases/download/v0.14.23/syncthing-linux-amd64-v0.14.23.tar.gz
tar -zxvf syncthing-linux-amd64-v0.14.23.tar.gz -C /opt/syncthing --strip-components=1
rm syncthing-linux*.tar.gz
./syncthing &
sleep 10
kill $!
sed -i ‘s/127.0.0.1:8384/0.0.0.0:8384/g’ .config/syncthing/config.xml
exit

1.2’ Create, enable than start the services

# cp /opt/syncthing/etc/linux-systemd/system/syncthing@.service /etc/systemd/system/
sed -i ‘s/ExecStart=/usr/bin/syncthing/ExecStart=/opt/syncthing/syncthing/g’ /etc/systemd/system/syncthing@.service
systemctl enable syncthing@syncthing.service
systemctl start syncthing@syncthing.service

Das ist das ende

This is the end of the SSH session, let’s back into our favorite interface.

To continue I assume you already have the Basic firewall packages
if not, it wasn't the end for you

1.3’ Install Basic Firewall package

yum -y install nethserver-firewall-base

2.1’ Create a service object

2.2’ Create the rule

recommended : to open it only on LAN (GREEN)
but personally when I need the web interface I just redirect it through ssh with -L8384:localhost:8384

2.3’ Enjoy

https://IPNethserver:8384