question

ezra avatar image
ezra asked

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

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

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

ezra avatar image ezra commented ·

@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.

0 Likes 0 ·
ezra avatar image ezra commented ·

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...

0 Likes 0 ·
mvader (Victron Energy) avatar image mvader (Victron Energy) ♦♦ ezra commented ·

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

0 Likes 0 ·
ezra avatar image ezra mvader (Victron Energy) ♦♦ commented ·

No problem, thanks!

0 Likes 0 ·

Related Resources