Linux - Install NX Desktop & Server purely via CLI?
AnsweredHi,
looking at this article https://support.networkoptix.com/hc/en-us/articles/360010535793-Ubuntu-Linux-OS-Installation-Guide
it shows some CLI, then swaps to GUI.
Is it possible to do the full install of both the linux server and the client software via CLI?
Thanks!
-
Hi Michael Carbone,
Gdebi is a very convenient tool that will help you to solve all dependency problems while installing the package.
Try the command below if you'd like to run without GUI operations:
#sudo gdebi nxwitness-server-x.x.x.xxxxx-linux64.deb
#sudo gdebi nxwitness-client-x.x.x.xxxxx-linux64.debBesides, you could use dpkg tool to install all local Debian packages if you'd like to install dependency by yourself.
#sudo dpkg -i nxwitness-server-x.x.x.xxxxx-linux64.deb
#sudo dpkg -i nxwitness-client-x.x.x.xxxxx-linux64.debLet me know if you have further questions, thank you.
0 -
Great, thank you.
0 -
Hi Michael
I've always used SSH to configure my linux server builds remotely.
The bits to make the nx install in particular work that I use are:
Note: to get the download link go to the NX download page for the version you want, right-click the link, copy link address.
sudo apt install gdebi-core
sudo wget https://updates.networkoptix.com/default/4.2.0.32658/linux/nxwitness-server-4.2.0.32658-linux64.deb
sudo wget https://updates.networkoptix.com/default/4.2.0.32658/linux/nxwitness-client-4.2.0.32658-linux64.deb
sudo gdebi nxwitness-server-4.2.0.32658-linux64.deb
sudo gedebi nxwitness-client-4.2.0.32658-linux64.deb0 -
Hi All,
This fails for version
gdebi nxwitness-server-5.0.0.35064-linux_x64.debIm installing on Ubuntu
Here is the error log
root@ip-172-26-0-156:/home/ubuntu# gdebi nxwitness-server-5.0.0.35064-linux_x64.debReading package lists... DoneBuilding dependency tree Reading state information... DoneReading state information... DoneNetwork Optix Nx Witness Media ServerDo you want to install the software package? [y/N]:y/usr/bin/gdebi:113: FutureWarning: Possible nested set at position 1 c = findall("[[(](\S+)/\S+[])]", msg)[0].lower()(Reading database ... 91004 files and directories currently installed.)Preparing to unpack nxwitness-server-5.0.0.35064-linux_x64.deb ...dpkg-query: no packages found matching systemd-coredump/var/lib/dpkg/tmp.ci/preinst: 58: cannot create /lib/systemd/systemd-coredump: Operation not permitteddpkg: error processing archive nxwitness-server-5.0.0.35064-linux_x64.deb (--install): new networkoptix-mediaserver package pre-installation script subprocess returned error exit status 2Errors were encountered while processing: nxwitness-server-5.0.0.35064-linux_x64.deb
gdebi nxwitness-server-4.2.0.32658-linux64.deb
Works fine though
0 -
The output suggests you being root, but the output indicates an permission error.
Can you tell us a bit more about your system?
- What kind of hardware do you use?
- Which version of Ubuntu
- Did you update and upgrade the operating system already?
0 -
Hi
One of the NX Witness server wont come online but you can ping the IP address. You can only get to cockpit with 9090 port but 7001 takes you no where. Any suggestions?
0
Please sign in to leave a comment.
Comments
6 comments