Solid Server on Windows

I’d like to see a good set of instructions for installing a Solid Server on Windows, including the security certificates and all.

Available instructions for installing the Solid Server are given for Linux, but not for Windows. I’ve googled around and other than a couple of “I did it”'s, most posts on Windows installation are problems … rewriting lots of things in an effort to get it to work.

This looks like it might be the perfect solution for app / data sharing between machines for my students, who use lab computers, school issued portables, and sometimes their own personal computers to do their programming work. It’s all Windows. That’s what we have. They’ve had a network drive available but it’s too unreliable. Often enough somebody works hard on something for weeks and then can’t access it.

It would also be great in that they’re programming / web development students. Here’s the future!

I have a machine that I’m running with XAMP, Glassfish, node.js, my own node.js server (Achieve), and websockets technology that I built, among other things. I’m hoping to figure out how to set up security certificates this summer on all of it. This is where I’d put the Solid Server.

3 Likes

Hi
I see there hasn’t been an official howto orupdate.
his i what I had done last year

If you have certs already to go thenall you need is the cmd’s

Thank you. I have that book-marked now for work this coming week.
A quick look and I’m guessing I’ll still have questions on the certificate.
As quickly as possible, I want this running for use by students in the fall (a little over a month from now).
Setting up TLS for all the available services is my big task this summer.
I’ve never done it before - but you know that browsers are requiring https / wss for a bunch of interesting things these days. Even outside of Solid, I can no longer put it off. There seems a lot of help for Linux, but the school provided me with a Windows machine - so that’s what I have to work with.

So far, I’m managed to get certs from letsencrypt and have a simple node.js server running on https.
Hopefully, I’ll eventually figure out how to get the Solid Server to use the certs too.

I’m wondering about the best way to share a simple step by step guide with others.
If I’m not mistaken, the Solid Server Project welcomes contributors. It says so on the home page.

But what does that involve? What would be the best way to add my instructions and/or code?

from

solid start --multiuser --port 8443 --ssl-cert /path/to/cert --ssl-key /path/to/key --root ./data

now nss/bin/solid is a self startig node script which doesn’t run on windows
nss/bin/solid-test is a bash script which doesn’t run on windows

So that why I made the equivalent of these two for windows

On my windows box I run ns with

solid-test.cmd start --multiuser --port 8443 --ssl-cert /path/to/cert --ssl-key /path/to/key --root ./data

Thank you for that summary.
I tried to get through the pell-mell earlier and it wasn’t so easy.
I’ll try to work with this now … looks nice.

I’m also still serious about making a contribution at some point.
I know I’m a newbie but I wrote my first computer program in 1978.
I’ll catch up and if I have time, I’ll think of something.

BTW: I often find the answer myself after asking -… not sure why it works that way.
I think I know now how to become a contributor.

Neither solid-test nor solid init can find lib/cli

I’ve looked around and it appears not to have been installed as a dependency of the solid server.

Is it this one?

https://github.com/solid/node-solid-server/blob/master/bin/lib/cli.js
this is what runs nss

when you say “solid-test nor solid” what exact files are you meaning? The ones in https://github.com/solid/node-solid-server/tree/master/bin

Those have shebangs; they don’t work on Windows

I’m trying to use the code that you provided. You’ve given me code for both.
If I’m supposed to put them into the existing code in solid sub-directories … I need to have that info along with the code.

AH in the folder I pointed to where they reside
https://github.com/rimmartin/node-solid-server/tree/master/bin
but downnloaded and copied into your nns bin directory

keeping the cmd extension

VICTORY IS MINE! (Thanks for the help.)
I got it started by creating the config.json and then using solid start

3 Likes

Now I’d like to know how to restrict registration
(My server machine is a small laptop provided by the school.)

as well as any basic security measures.
Like - is there a way to log in as root user with everyone knowing the default password?

I couldn’t continue through the installation set-up guide.
It’s all in Unixese and I don’t seem to have the subdirectories or processes mentioned.