In addition to Windows, a version of SmartServer is available for Linux.
System Requirements
- Java 17 or higher pre-installed
- 'systemd' available on the target system
- If automatic port opening is desired, firewall command-line tools ('firewall-cmd' or 'ufw') are required.
Installation
Copy the archive to the Linux machine (e.g. using SCP):
scp SmartServer_installer_XXXVERSIONXXX.tar user@hostname:/tmp
SSH into the target machine:
ssh user@hostname
Extract the archive:
unzip SmartServer_installer_XXXVERSIONXXX.tar.zip
tar -xf SmartServer_installer_XXXVERSIONXXX.tar
Run the installer script:
sudo ./SmartServer_Install.sh
The installer will:
- Copy the JAR to /opt/staylinked-smartserver
- Create and register a systemd service
- Open port 3008 in the firewall (firewalld or ufw)
- Start and enable the service on boot
Uninstalling
To remove the service:
sudo systemctl stop staylinked-smartserver
sudo systemctl disable staylinked-smartserver
sudo rm /etc/systemd/system/staylinked-smartserver.service
sudo rm -rf /opt/staylinked-smartserver
sudo firewall-cmd –permanent –remove-port=3008/tcp
sudo firewall-cmd –reload
SmartTip!
If firewalld or ufw is not in use, open port 3008 manually. SmartServer_Install.sh can be edited to change the default port, install location, or service name.
Share the post "Linux Version"