{"id":6058,"date":"2025-08-21T14:37:32","date_gmt":"2025-08-21T21:37:32","guid":{"rendered":"https:\/\/portal.staylinked.com\/sl\/kb_sb\/?post_type=ht_kb&#038;p=6058"},"modified":"2025-12-31T15:46:02","modified_gmt":"2025-12-31T23:46:02","slug":"linux-version","status":"publish","type":"ht_kb","link":"https:\/\/portal.staylinked.com\/sl\/kb_sb\/knowledge-base\/linux-version\/","title":{"rendered":"Linux Version"},"content":{"rendered":"\n<p>In addition to Windows, a version of SmartHub is available for Linux.  <\/p>\n\n\n\n<h2>System Requirements<\/h2>\n\n\n\n<ul><li>Java 17 or higher pre-installed<\/li><li>'systemd' available on the target system<\/li><li>If automatic port opening is desired, firewall command-line tools ('firewall-cmd' or 'ufw') are required.<\/li><\/ul>\n\n\n\n<h2>Installation<\/h2>\n\n\n\n<p>Copy the archive to the Linux machine (e.g. using SCP):<\/p>\n\n\n\n<p>   <em>  <strong>scp SmartHub_installer_XXXVERSIONXXX.tar user@hostname:\/tmp<\/strong><\/em><\/p>\n\n\n\n<p>SSH into the target machine:<\/p>\n\n\n\n<p>     <em><strong>ssh user@hostname<\/strong><\/em><\/p>\n\n\n\n<p>Extract the archive:<\/p>\n\n\n\n<p><em><strong>unzip SmartHub_installer_XXXVERSIONXXX.tar.zip<\/strong><\/em><\/p>\n\n\n\n<p><em><strong>tar -xf SmartServer_installer_XXXVERSIONXXX.tar<\/strong><\/em><\/p>\n\n\n\n<p>Run the installer script:<\/p>\n\n\n\n<p><em><strong>sudo .\/SmartHub_Install.sh<\/strong><\/em><\/p>\n\n\n\n<p>The installer will:<\/p>\n\n\n\n<ul><li>Copy the JAR to \/opt\/staylinked-smartserver<\/li><li>Create and register a systemd service<\/li><li>Open port 3008 in the firewall (firewalld or ufw)<\/li><li>Start and enable the service on boot<\/li><\/ul>\n\n\n\n<h2>Uninstalling<\/h2>\n\n\n\n<p>To remove the service:<\/p>\n\n\n\n<p><em><strong>sudo systemctl stop staylinked-smarthub<\/strong><\/em><\/p>\n\n\n\n<p><em><strong>sudo systemctl disable staylinked-smarthub<\/strong><\/em><\/p>\n\n\n\n<p><em><strong>sudo rm \/etc\/systemd\/system\/staylinked-smarthub.service<\/strong><\/em><\/p>\n\n\n\n<p><em><strong>sudo rm -rf \/opt\/staylinked-smarthub<\/strong><\/em><\/p>\n\n\n\n<p><em><strong>sudo firewall-cmd &#8211;permanent &#8211;remove-port=3008\/tcp<\/strong><\/em><\/p>\n\n\n\n<p><em><strong>sudo firewall-cmd &#8211;reload<\/strong><\/em><\/p>\n\n\n\n<blockquote class=\"wp-block-quote\"><p><strong>SmartTip!<\/strong><\/p><cite>If firewalld or ufw is not in use, open port 3008 manually.  SmartHub_Install.sh can be edited to change the default port, install location, or service name.<\/cite><\/blockquote>\n\n\n\n<p><\/p>\n\n\n\n<p><\/p>\n\n\n\n<p> <\/p>\n","protected":false},"excerpt":{"rendered":"<p>In addition to Windows, a version of SmartHub 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):&#8230;<\/p>\n","protected":false},"author":8,"comment_status":"open","ping_status":"closed","template":"","format":"standard","meta":[],"ht-kb-category":[38],"ht-kb-tag":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v16.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Linux Version &ndash; StayLinked<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.staylinked.com\/knowledge-base\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Linux Version &ndash; StayLinked\" \/>\n<meta property=\"og:description\" content=\"In addition to Windows, a version of SmartHub is available for Linux. System Requirements Java 17 or higher pre-installed &#039;systemd&#039; available on the target system If automatic port opening is desired, firewall command-line tools (&#039;firewall-cmd&#039; or &#039;ufw&#039;) are required. Installation Copy the archive to the Linux machine (e.g. using SCP):...\" \/>\n<meta property=\"og:url\" content=\"https:\/\/portal.staylinked.com\/sl\/kb_sb\/knowledge-base\/linux-version\/\" \/>\n<meta property=\"og:site_name\" content=\"StayLinked\" \/>\n<meta property=\"article:modified_time\" content=\"2025-12-31T23:46:02+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebSite\",\"@id\":\"https:\/\/portal.staylinked.com\/sl\/kb_sb\/#website\",\"url\":\"https:\/\/portal.staylinked.com\/sl\/kb_sb\/\",\"name\":\"StayLinked Knowledge Base\",\"description\":\"Partner Portal Resources and Support\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":\"https:\/\/portal.staylinked.com\/sl\/kb_sb\/?s={search_term_string}\",\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/portal.staylinked.com\/sl\/kb_sb\/knowledge-base\/linux-version\/#webpage\",\"url\":\"https:\/\/portal.staylinked.com\/sl\/kb_sb\/knowledge-base\/linux-version\/\",\"name\":\"Linux Version &ndash; StayLinked\",\"isPartOf\":{\"@id\":\"https:\/\/portal.staylinked.com\/sl\/kb_sb\/#website\"},\"datePublished\":\"2025-08-21T21:37:32+00:00\",\"dateModified\":\"2025-12-31T23:46:02+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/portal.staylinked.com\/sl\/kb_sb\/knowledge-base\/linux-version\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/portal.staylinked.com\/sl\/kb_sb\/knowledge-base\/linux-version\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/portal.staylinked.com\/sl\/kb_sb\/knowledge-base\/linux-version\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/portal.staylinked.com\/sl\/kb_sb\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Articles\",\"item\":\"https:\/\/portal.staylinked.com\/sl\/kb_sb\/knowledge-base\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Linux Version\"}]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","_links":{"self":[{"href":"https:\/\/portal.staylinked.com\/sl\/kb_sb\/wp-json\/wp\/v2\/ht-kb\/6058"}],"collection":[{"href":"https:\/\/portal.staylinked.com\/sl\/kb_sb\/wp-json\/wp\/v2\/ht-kb"}],"about":[{"href":"https:\/\/portal.staylinked.com\/sl\/kb_sb\/wp-json\/wp\/v2\/types\/ht_kb"}],"author":[{"embeddable":true,"href":"https:\/\/portal.staylinked.com\/sl\/kb_sb\/wp-json\/wp\/v2\/users\/8"}],"replies":[{"embeddable":true,"href":"https:\/\/portal.staylinked.com\/sl\/kb_sb\/wp-json\/wp\/v2\/comments?post=6058"}],"version-history":[{"count":5,"href":"https:\/\/portal.staylinked.com\/sl\/kb_sb\/wp-json\/wp\/v2\/ht-kb\/6058\/revisions"}],"predecessor-version":[{"id":6192,"href":"https:\/\/portal.staylinked.com\/sl\/kb_sb\/wp-json\/wp\/v2\/ht-kb\/6058\/revisions\/6192"}],"wp:attachment":[{"href":"https:\/\/portal.staylinked.com\/sl\/kb_sb\/wp-json\/wp\/v2\/media?parent=6058"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/portal.staylinked.com\/sl\/kb_sb\/wp-json\/wp\/v2\/ht-kb-category?post=6058"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/portal.staylinked.com\/sl\/kb_sb\/wp-json\/wp\/v2\/ht-kb-tag?post=6058"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}