Does Netxms can use browser instead need install client?
-
Hi all,
May i know whether we can open the Netxms using browser? I means dont need to install client. Our use cases was the credential extend to our customer. But customer dont want to install any client software.
Thanks and appreciate any freedback
-
Hello,
Yes, you can setup web interface and use browser for accessing that.
Download war file from https://netxms.com/download/releases/5.1/nxmc-5.1.4.war, and deploy it into java application server (e.g. Jetty9-12 or Tomcat9)
-
Hi Alex,
Sorry to disturb u. When u said " deploy it into java application server (e.g. Jetty9-12 or Tomcat9)" is it means we need to deploy another new server? Sorry i'm not get what u suggest. Can u share the url so i can try read to understand it?
Thanks
-
You can run jetty on the same server. Jetty (or Tomcat) is just a java application which can run .war files.
Recent jetty is not available in packages, but it's easy to install by hand:
curl -O https://repo1.maven.org/maven2/org/eclipse/jetty/jetty-home/12.0.17/jetty-home-12.0.17.tar.gz # download latest Jetty12 tar zxf jetty-home-12.0.17.tar.gz -C /opt # unpack it to /opt/ ln -s /opt/jetty-home-12.0.17 /opt/jetty-home-12 # make a symlink without a minor version, so every upgrade you don't have to modify systemd unit mkdir /opt/netxms-web/ # actual work area for the web cd /opt/netxms-web/ java -jar /opt/jetty-home-12.0.17/start.jar --add-modules=server,http,ee8-deploy,gzip,http2,https,logging-logback,plus,ssl,work # create default configuration for jetty vim start.d/ssl.ini # change keyStorePath and keyStorePassword to match your keystrore curl -o webapps/ROOT.war https://netxms.com/download/releases/5.1/nxmc-5.1.4.war # download war file to webapps/ROOT.war, so app will be available at / java -jar /opt/jetty-home-12.0.17/start.jar # test that it runs useradd -r -s /sbin/nologin jetty # create user so we don't run it as root systemctl edit --full --force netxms-web.service # create service, paste sample from bellow systemctl enable --now netxms-web.service # enable autostart and start immediatelyUnit file:
[Unit] Description=NetXMS WEB UI StartLimitIntervalSec=0 [Service] Type=simple WorkingDirectory=/opt/netxms-web User=jetty Group=jetty ExecStart=java -jar /opt/jetty-home-12/start.jar Restart=on-failure RestartSec=30 TimeoutSec=900 [Install] WantedBy=multi-user.target -
Hi Alex,
Noted. Thanks for detail steps. Let's me try and revert back if i facing the issue.
Thanks
-
Hi Alex,
May i know vim start.d/ssl.ini # change keyStorePath and keyStorePassword to match your keystrore --> this keyStorePath and keyStorePassword refer to which info?
I'm use ubuntu server 22.
Thanks and appreciate your feedback
-
Hi all,
Anyone can guide for this issue?
Thanks
-
If you want to enable ssl in jetty, you need to generate keychain and set keyStorePath, as well as keyStorePassword.
Keychain can be either self-signed or you can import existing certificates.
Or you can just omit https on the jetty side and configure ssl-offloading using any other reverse proxy (nginx, reproxy, etc.)
-
Hi Alex,
Mean this step vim start.d/ssl.ini # change keyStorePath and keyStorePassword to match your keystrore just optional right incase i just remain with http only. After i skip that step then i just continue with step below right? If yes then i has complete it but when i try open in browser http://ip-address/ it cannot show anything. Is there any step that i miss? Appreciate your guidance.
curl -o webapps/ROOT.war https://netxms.com/download/releases/5.1/nxmc-5.1.4.war # download war file to webapps/ROOT.war, so app will be available at /
java -jar /opt/jetty-home-12.0.17/start.jar # test that it runsuseradd -r -s /sbin/nologin jetty # create user so we don't run it as root
systemctl edit --full --force netxms-web.service # create service, paste sample from bellow
systemctl enable --now netxms-web.service # enable autostart and start immediately
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login