Changes

Sudo

67 bytes added, 22:31, 15 November 2016
This is done by using the '''sudo''' command. For example when [[Starting]] and [[Stopping]] Box Of Stops.
sudo java -jar boxofstops.jar
== Is sudo necessary? ==
For those interested, the reasons for this are:
* The web interface (e.g. '''<nowiki>http://192.168.1.128</nowiki>''') runs on normal port for HTTP requests - port 80. Only the superuser is allowed port numbers below 1024.
* To enable access to the [[Gpio button|Gpio ports]]
* To edit /etc/rc.local, to enable auto [[Auto start]]
All these values can be changed from the [[Application properties]] though. If you are interested to avoid using the sudo command, then change the '''server.port''' value to a number above 1024 (e.g. 8080), and override the '''pi.input.pins''' and '''auto.start''' properties to no value:
437
edits
Cancel

Help improve this page!

Cancel

Keep track of this page and all changes to it.