4.4.4 Configuration

If PostgreSQL is installed you need to setup an user and a database for the sat-nms MNC system. These setups will be automatically performed if you install the satnms4-satdbpackage . Installation instructions for system where you are not able to install our Debian package, manual instructions are included in the following chapters.

The sat-nms MNC system will use the user satnms to connect to the database. This user will also be the owner of the SatDB. This prevents the application from requiring administrative rights for the entire database and the MNC system can use the same PostgreSQL database engine together with other software.

The sat-nms MNC system will use a database with the name satnms. If you are using you own PostgreSQL installation, make sure that this database name is not already used by any other application.

example output

root@satnms7-dev:~# apt install /home/public/satnms4-satdb_0.2.0-1_all.deb
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Note, selecting 'satnms4-satdb' instead of '/home/public/satnms4-satdb_0.2.0-1_all.deb'
The following packages were automatically installed and are no longer required:
  libwpe-1.0-1 libwpebackend-fdo-1.0-1
Use 'apt autoremove' to remove them.
The following NEW packages will be installed:
  satnms4-satdb
0 upgraded, 1 newly installed, 0 to remove and 2 not upgraded.
Need to get 0 B/5,304 B of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 /home/public/satnms4-satdb_0.2.0-1_all.deb satnms4-satdb all 0.2.0-1 [5,304 B]
Selecting previously unselected package satnms4-satdb.
(Reading database ... 159218 files and directories currently installed.)
Preparing to unpack .../satnms4-satdb_0.2.0-1_all.deb ...
checking user 'satnms' ...
checking postgresql ...
/var/run/postgresql:5432 - accepting connections
checking migrate ...
check database user 'satnms' ...
create PostgreSQL user 'satnms' ...
Enter password for new role:
Enter it again:
check database 'satnms' ...
Unpacking satnms4-satdb (0.2.0-1) ...
Setting up satnms4-satdb (0.2.0-1) ...
installing SatDB database schema ...
1/u init_satdb (26.36938ms)
2/u init_satdb (29.867137ms)

Remark: the default password in preinstalled systems delivered by SatService is satnms. Please change it to secure your system.