HOW TO: Install web interface to Linux PC

Post Reply
arber333
Posts: 3563
Joined: Mon Dec 24, 2018 1:37 pm
Location: Slovenia
Has thanked: 134 times
Been thanked: 335 times
Contact:

HOW TO: Install web interface to Linux PC

Post by arber333 »

1. Have Linux installed on your PC
2. Put inverter.zip in your desktop
3. Open xterm or applicable console
4. enter command "sudo apt-get install php5-cli"
5. then "sudo usermod -G dialout www-data"
6. and restart service by typing "sudo service apache2 restart"
7. unzip inverter.zip to desktop, all folders on desktop
8. connect USB to Serial adapter
9. in c type: "cd tools/web\ interface"
10. then type "sudo php -Slocalhost:8000"
11. Open your browser and type localhost:8000

Now enter your parameters and play with inverter. After every changed parameter you have to press enter for change to take effect.
User avatar
johu
Site Admin
Posts: 6713
Joined: Thu Nov 08, 2018 10:52 pm
Location: Kassel/Germany
Has thanked: 369 times
Been thanked: 1542 times
Contact:

Re: HOW TO: Install web interface to Linux PC

Post by johu »

Yery good!
You don't even need apache (step 6) as the php executable serves the site directly
Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9
arber333
Posts: 3563
Joined: Mon Dec 24, 2018 1:37 pm
Location: Slovenia
Has thanked: 134 times
Been thanked: 335 times
Contact:

Re: HOW TO: Install web interface to Linux PC

Post by arber333 »

Yes but I was using Lubuntu and I think there apache service is not started by default. I just added it so no one would be for worse by this procedure.
User avatar
johu
Site Admin
Posts: 6713
Joined: Thu Nov 08, 2018 10:52 pm
Location: Kassel/Germany
Has thanked: 369 times
Been thanked: 1542 times
Contact:

Re: HOW TO: Install web interface to Linux PC

Post by johu »

What I meant is that you don't need apache (or any web server) at all. "php -S" IS the web server
Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9
arber333
Posts: 3563
Joined: Mon Dec 24, 2018 1:37 pm
Location: Slovenia
Has thanked: 134 times
Been thanked: 335 times
Contact:

Re: HOW TO: Install web interface to Linux PC

Post by arber333 »

johu wrote: Wed Jan 01, 2020 4:21 pm What I meant is that you don't need apache (or any web server) at all. "php -S" IS the web server
Oh... OK then! :D
Post Reply