Hello folks,
I have a Victron Multiplus 48/5000 with CCGX.
I've ssh'd into the device as root. I'd like to install some small linux utilities such as jq(jquery) - has anyone managed to install anything on this linux derivative?
Thanks,
Bailey
This site is now in read-only archive mode. Please move all discussion, and create a new account at the new Victron Community site.
Hello folks,
I have a Victron Multiplus 48/5000 with CCGX.
I've ssh'd into the device as root. I'd like to install some small linux utilities such as jq(jquery) - has anyone managed to install anything on this linux derivative?
Thanks,
Bailey
I have done this.
Add files to \var\www\venus, In fact I add a sub directory to this directory (mine is called ui) so the full url is http://<domain or ip of CCGX>/ui/<filename> of course relative urls work as well.
Remember the directory will be overwritten on firmware update so you need to have a script on the /data partition that will automatically reinstall your files into the \var\www\venus directory.
As another hint
If you want to install interactive CGI type files on the CCGX you can add python files that will respond to http post or get requests. You need to uncomment the python line
CGIhandler = /usr/bin/python:py agian any changes will be list on reboot so you need another line in /data/rc.local to uncomment the line on reboot. (note use of % as regex separator as we need to find and replace string which include / and # characters.
sed -i 's%#CGIhandler = /usr/bin/python:py%CGIhandler = /usr/bin/python:py%' /etc/hiawatha/hiawatha.conf
python files need to have the x bit set and will be run as user nobody.
Victron Venus OS Open Source intro page
Venus OS GitHub (please do not post to this)
Additional resources still need to be added for this topic
15 People are following this question.