Log In

Installing UgCS server components on Linux

  1. Transfer file ugcs-server-xenial-Linux.deb to server.

  2. The apt-get utility requires an internet connection.

  3. Install.
    Connect to the server and install package ugcs-server-xenial-Linux.deb

apt-get install openjdk-8-jdk
dpkg -i ugcs-server-xenial-Linux.deb
dpkg -i ugcs-geoserver-xenial-Linux.deb
apt-get install -f
  1. Check UgCS server/geoserver status
    Use the command: «service ugcs-server status» or «service ugcs-geoserver status»
    If the service is running, a message will show: «Active: active (running)»
root@ucs-1:~# service ugcs-server status
ugcs-server.service - LSB: UgCS server
Loaded: loaded (/etc/init.d/ugcs-server; bad; vendor preset: enabled)

  Active: active (running) since Wed 2018-06-06 13:54:22 +04; 7min ago

	Docs: man:systemd-sysv-generator(8)
 Process: 3940 ExecStop=/etc/init.d/ugcs-server stop (code=exited, status=0/SUCCESS)
 Process: 3951 ExecStart=/etc/init.d/ugcs-server start (code=exited, status=0/SUCCESS)

Tasks: 82

Memory: 275.1M
 	CPU: 11.068s
  CGroup: /system.slice/ugcs-server.service
      	└─3954 java -Xms64m -Xmx4g -cp .:*:../lib/* com.ugcs.ucs.Bootstrap
  1. Starting and stopping UgCS server/geoserver
    Commands: “service ugcs-server stop” and “service ugcs-server start” are shutting down and starting up ugcs service. Same commands for “ugcs-geoserver”
root@ucs-1:~# service ugcs-server stop
root@ucs-1:~# service ugcs-server start