Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Flatly)
  • No Skin
Collapse
Brand Logo

NetXMS Forum

  1. Home
  2. Support
  3. Does Netxms can use browser instead need install client?

Does Netxms can use browser instead need install client?

Scheduled Pinned Locked Moved Support
9 Posts 2 Posters 77.4k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K
    K
    kronicklez
    wrote on last edited by
    #1

    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

    1 Reply Last reply
    0
    • A
      A
      Alex Kirhenshtein
      wrote on last edited by
      #2

      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)

      1 Reply Last reply
      0
      • K
        K
        kronicklez
        wrote on last edited by
        #3

        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

        1 Reply Last reply
        0
        • A
          A
          Alex Kirhenshtein
          wrote on last edited by
          #4

          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 immediately
          

          Unit 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
          
          1 Reply Last reply
          0
          • K
            K
            kronicklez
            wrote on last edited by
            #5

            Hi Alex,

            Noted. Thanks for detail steps. Let's me try and revert back if i facing the issue.

            Thanks

            1 Reply Last reply
            0
            • K
              K
              kronicklez
              wrote on last edited by
              #6

              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

              1 Reply Last reply
              0
              • K
                K
                kronicklez
                wrote on last edited by
                #7

                Hi all,

                Anyone can guide for this issue?

                Thanks

                1 Reply Last reply
                0
                • A
                  A
                  Alex Kirhenshtein
                  wrote on last edited by
                  #8

                  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.)

                  1 Reply Last reply
                  0
                  • K
                    K
                    kronicklez
                    wrote on last edited by
                    #9

                    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 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 immediately

                    1 Reply Last reply
                    0

                    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
                    Reply
                    • Reply as topic
                    Log in to reply
                    • Oldest to Newest
                    • Newest to Oldest
                    • Most Votes


                    • Login

                    • Don't have an account? Register

                    • Login or register to search.
                    Powered by NodeBB Contributors
                    • First post
                      Last post
                    0
                    • Categories
                    • Recent
                    • Tags
                    • Popular
                    • Users
                    • Groups