johnperry/CTP

Installation without gui

Opened this issue · 2 comments

I'm not sure if this is already possible but I didn't found anything in the documentation.

Is it possible to run the installation (java -jar CTP-installer.jar) without any kind of GUI. I'm not really a fan of using X Window when installing over SSH.

The only installer has a GUI.

In principle, you can do the installation on some platform that has a GUI and then copy the whole CTP directory to the target machine.

Once CTP is installed, I recommend having a GUI on the target platform anyway so you can run the Launcher program to configure the pipelines as you bring the system up. My experience is that people make configuration mistakes that cost them a lot of time, and the Launcher's configuration editor saves a lot of heartache. (You can, of course, run the Launcher on some other platform with a GUI, do the configuration editing there, and then just copy the config.xml file to the target.)

If you are determined to go it on your own, the CTP-installer.jar program is just a self-extracting installer. You can open it with a zip tool and copy all the files in it whose path names start with CTP/. You will then, however, have to create the config.xml file by hand, and if you want to install it as a service, you'll have to do that yourself as well.

If you don't install CTP as a service, and if you don't have a GUI (so you can't run the Launcher), then you must start CTP using the Runner.jar program.

JP

vsoch commented

hey @rvalkenaers ! I ran into this issue too when I wanted to give a go at Dockerizing it, and my solution was to extract the files and then compress for my application. I didn't wind up going that route because I went with python instead, but if it's helpful here is the start to the work.