question

ezra avatar image

How to install nginx on CCGX?

Hey!

I've tried install nginx with opkg on my CCGX but there's no package for it. Could i compile it? My CCGX only has about 80MB free space, dont know if it would work...


Thanks

Venus OS
2 |3000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

1 Answer
mvader (Victron Energy) avatar image
mvader (Victron Energy) answered ·

That probably won't work; due to diskspace indeed.

Note that with opkg you can only install packages that we have precompiled with certain options (such as, possibly, SSL disabled).

If what you need is not available, you'll have to self-compile the project. See our venus repository on github; as well as the SDK page on the wiki in that repo. Note that that might take quite some hours of trying and probing before it works: cross compiling is not an easy topic.

Success!

5 comments
2 |3000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

@mvader (Victron Energy Staff) Thanks, Cross compiling fails, also don't really have the time to figure this out. Just don't know enough about it.

Reverse proxying works (Nginx) but i do get mixed content warnings (which for me is a show stopper, i need to intergrate the remote console or better yet the new beta /app into a https iframe on Home assistant). I've looked into websockify (nginx module) and stream but none of these seem to work to properly display everything of the remote console over https.

Any particular reason for not supporting https? Seems like a good practice to secure the password input over a network (remote consoles).

Thanks for your reply.

Would it be an option to add an external HDD to the CCGX and compile it on that drive?

Edit: i cant even seem to install

opkg install packagegroup-core-buildessential

Due to no disk space...

Hi, I really don’t know how to compile this on the ccgx. Sorry, Matthijs

ezra avatar image ezra mvader (Victron Energy) ♦♦ ·

No problem, thanks!