-
Notifications
You must be signed in to change notification settings - Fork 0
Home
davide edited this page Feb 5, 2015
·
23 revisions
Welcome to the Thermo wiki!
sudo raspi-config sudo aptitude update sudo aptitude dist-upgrade
mkdir git cd git git clone https://github.com/raspibo/ThermoRed.git git clone https://github.com/raspibo/ThermoRed.wiki.git git clone https://github.com/raspibo/CentRed.git git clone https://github.com/raspibo/CentRed.wiki.git git clone https://github.com/andymccurdy/redis-py.git
sudo aptitude install checkinstall cd redis-py/ sudo checkinstall python3 setup.py install
sudo aptitude install nginx fcgiwrap
Riferimenti:
sudo cp /usr/share/doc/fcgiwrap/examples/nginx.conf /etc/nginx/fcgiwrap.conf
Prima di modificare il file copiato in precedenza (fcgiwrap.conf), meglio reiniziare a riconfigurare il server.
sudo rm /etc/nginx/sites-enabled/default sudo cp /etc/nginx/sites-available/default /etc/nginx/sites-available/thermo
Modifico /etc/nginx/sites-available/thermo, per ora mi sono limitato a modificare:
- root /var/www;
- # fast cgi support
include /etc/nginx/fcgiwrap.conf;
- root /var/www;
sudo mkdir -p /var/www/cgi-bin sudo ln -s /etc/nginx/sites-available/thermo /etc/nginx/sites-enabled/ sudo invoke-rc.d nginx restart