Skip to main content

Authors: Jan Kotanski, Eugen Wintersberger, Halil Pasic

The package contains SQL files to create the MySQL database for Configuration Server.

NeXuS Configuration Server is a Tango Server with its implementation based on a MySQL database. It allows to store XML configuration datasources and components. It also gives possibility to select mandatory components and perform the process of component merging.

Installation

Install the dependencies:

MySQLdb, PyTango, sphinx

From sources

Download the latest version of NeXuS Configuration Server from

Extract the sources and run for both packages

$ python setup.py install

To set database execute

$ mysql < conf/mysql_create.sql

with proper privileges.

Debian packages

Debian Bookworm, Bullseye, Buster as well as Plucky, Noble, Jammy packages can be found in the HDRI repository.

To install the debian packages, add the PGP repository key

$ sudo su
$ curl -s http://repos.pni-hdri.de/debian_repo.pub.gpg  | gpg --no-default-keyring --keyring gnupg-ring:/etc/apt/trusted.gpg.d/debian-hdri-repo.gpg --import
$ chmod 644 /etc/apt/trusted.gpg.d/debian-hdri-repo.gpg

and then download the corresponding source list

$ cd /etc/apt/sources.list.d
$ wget http://repos.pni-hdri.de/bookworm-pni-hdri.sources

or

$ cd /etc/apt/sources.list.d
$ wget http://repos.pni-hdri.de/noble-pni-hdri.list

Finally,

$ apt-get update
$ apt-get install python3-nxsconfigserver nxsconfigserver-db

To instal other NexDaTaS packages

$ apt-get install python3-nxswriter nxsconfigtool nxstools

and

$ apt-get install python3-nxsrecselector nxselector python3-sardana-nxsrecorder

for Component Selector and Sardana related packages.

From pip

To install it from pip you can

$ python3 -m venv myvenv
$ . myvenv/bin/activate

$ pip install nxsconfigserver-db

Moreover it is also good to install mysql to be able to execute

$ mysql < conf/mysql_create.sql

where mysql_create.sql is installed in myvenv/share/nxsconfigserver

Setting NeXus Configuration Server

To set up NeXus Configuration Server with the default configuration run

$ nxsetup -x NXSConfigServer

The nxsetup command comes from the python3-nxstools package. It starts the NeXus Configuration Server and tries to find a proper value of the JSONSettings attribute.

Release files for nxsconfigserver-db 1.11.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for nxsconfigserver-db 1.11.0
File Size Uploaded
nxsconfigserver_db-1.11.0.tar.gz 26.7 kB Details

Release files / nxsconfigserver_db-1.11.0.tar.gz

Download URL nxsconfigserver_db-1.11.0.tar.gz
Size 26.7 kB
Tags Source
SHA-256 checksum
How to use checksums
52dd489677df1e19ea15d499dc285e50d2f3e6b00b1d05bf8d0b248c3115b7b5
BLAKE2b-256 checksum
How to use checksums
84ffaa504519592ac804578010a0381ebb657f66e0a60d9026ca77c5beea9284
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.2

Release history Release notifications | RSS feed

This release

1.11.0 This release

1 release file

1.10.5

1 release file

1.10.4

1 release file

1.10.3

1 release file

1.10.2

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page