FreeIT

  • Privacy
  • About
  • Projects
  • Welcome
         

You're here:  Projects  >  CampusConnect  >  ECS configuration

ECS Configuration

In order to operate the ECS in a CampusConnect network, it must first be configured accordingly. This is done with the following commands, all of which must be executed as "root" user in a command shell.

First of all, we create a new database user "ecs7":

su - postgres
createuser -d ecs7
exit

Now the CampusConnect-ECS database can be created:

ecs7 run rake db:setup
ecs7 run rake cc:ressources

Finally, we create the necessary logrotate configuration files and system initialization scripts (systemd), which integrates the CampusConnect-ECS into the Debian startup system:

ecs7 scale web=1
ecs7 scale worker=1

The configuration is now complete and the CampusConnect ECS is ready to answer forwarded requests from a CampusConnect ECS proxy on port 9777.

If you prefer another port, e.g. port 6000, then run:

ecs7 config:set PORT=6000

After restarting ECS:

systemctl restart ecs7

you can access ECS under TCP port 6000.

ECS uses journal daemon for logging:

journalctl -u ecs7-web-1

Go to ECS proxy.

FreeIT.de
Technology-Consulting  ·  Systemsoftware  ·  Training
Dipl.-Ing. Heiko Bernlöhr