picturekeron.blogg.se

Traccar chmod raspberry pi install
Traccar chmod raspberry pi install









sudo chmod 775 /var/wwwįinally we can add the “Pi” user to the “www-data” group.

traccar chmod raspberry pi install

Now we will allow the “www-data” group permission to write to this directory. The /var/sudo chown www-data:www-data /var/www Now we will adjust some permissions to ensure the “Pi” user account can write files to the location where Lighttpd expects to find web pages. It’s not very exciting but it is easy to replace with your own page. If everything has worked you should see the default Lighttpd “Placeholder” web page. Take this IP address and enter it into the address bar of a web browser on another device. The IP address in this example is 192.168.0.45. You will see a block of information similar to this : 1: lo: mtu 16436 qdisc noqueue state UNKNOWN To do this run this command : sudo ip addr show In order to test your new webserver you need to know the IP address your Pi has on your network. Once these packages are installed we can restart the Lighttpd service to pick up the changes : sudo service lighttpd force-reload Step 3 – Testing Then enable the Fastcgi module which will handle the PHP pages : sudo lighty-enable-mod fastcgi-php

Traccar chmod raspberry pi install install#

The order in which php5-common, php5-cgi and php5 are installed is important so don’t change their ordering in the line below : sudo apt-get -y install php5-common php5-cgi php5 Sudo apt-get -y install lighttpd Step 2 – Install PHP It can be installed using the following commands : sudo apt-get update Lighttpd is a lightweight web server application that works well on the Pi. Note : Before experimenting with network enabled features you should really make sure you have changed your Pi password from the “raspberry” default. This is a useful mechanism to view images and/or data on the Pi from another device, whether that is a PC, laptop, tablet or mobile phone.

traccar chmod raspberry pi install traccar chmod raspberry pi install

This will allow the Pi to server HTML and PHP pages to users on the same network. This page aims to summarise the steps required to install a webserver with PHP support onto your Raspberry Pi.









Traccar chmod raspberry pi install