NetXMS-WebUI configuration in UBUNTU Server
-
Dears,
Facing issues with WebUI configuration of NetXMS, on UBUNTU 24.02, with JETTY 12. and JRE 21.
I've followed all below steps, without any issues
- sudo apt install default-jre
- sudo curl -O https://repo1.maven.org/maven2/org/eclipse/jetty/jetty-home/12.0.18/jetty-home-12.0.18.tar.gz
- sudo tar -xvf jetty-home-12.0.18.tar.gz -C /opt
- sudo ln -s /opt/jetty-home-12.0.18 /opt/jetty-home-12
- sudo mkdir -p /opt/netxms-webui/{etc,logs} && cd /opt/netxms-webui
- sudo java -jar /opt/jetty-home-12/start.jar --add-modules=ee8-deploy,gzip,http,http2,https,logging-logback,plus,server,ssl,work
- sudo curl -o webapps/ROOT.war https://netxms.com/releases/5.2/nxmc-5.2.0.war
- sudo keytool -genkeypair -alias jetty -keyalg RSA -keysize 2048 -keystore /opt/netxms-webui/etc/keystore.p12 -storetype PKCS12 -storepass Test@Fatmir123 -keypass Test@Fatmir123 -validity 3650 -dname "CN=netxms-webui, OU=Fatmir, O=Fatmir, L=Fatmir, ST=Fatmir, C=Fatmir"
- sudo sed 's,# jetty.sslContext.keyStorePassword=,jetty.sslContext.keyStorePassword=Test@Fatmir123,' -i'' start.d/ssl.ini
After this I've edited conf service file, but because in my server didn't have jetty/jetty (user/group), I've added my current user. Now service is running, but page is unavailable (error 503)
systemctl edit --force --full netxms-webui.service
[Service]
Type=simple
WorkingDirectory=/opt/netxms-webui
Environment=JETTY_HOME=/opt/jetty-home-12
Environment=JETTY_BASE=/opt/netxms-webui
User=fts-fatmir
Group=fts-fatmirI'm missing something, at least how to tell WebUI to access server, perhaps with specific User/Password in some configuration, but I cannot figure it out where.
If anyone has some ideas, in advance thank your very muchBest, Fatmir
-
Try "chown -R fts-fatmir /opt/netxms-webui/", then restart jetty
-
Worked Alex, thanks millions.
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