Home » Electronics » Rasberry Pi » 01 20 2018 Setup Your Own Raspberry Pi For Monitoring Temperatures And More(How to set up a raspberry pi for minotoring temps, humidty, and any other environmental information you might want to collect as well as control outputs.)
kd2iin Messages: 27 Registered: December 2016 Location: Tivoli, NY
Junior Member
This is part 2 in the series of How To Set Up A Raspberry Pi For Monitoring and Temperature Controls. In this issue, We go over how to download the image and install the operating system on a raspberry pi so we can set up all the other parts to monitor and/or control anything.
kd2iin Messages: 27 Registered: December 2016 Location: Tivoli, NY
Junior Member
Part 5:
In this video we go over how to set up and enable VNC for remote desktop access to the Raspberry Pi as well as set a static IP address. This is the last basic setup video before we go into setting up Apache Web Server, PHP, and MYSQL.
kd2iin Messages: 27 Registered: December 2016 Location: Tivoli, NY
Junior Member
In this video we go over how to install a LAMP Server. LAMP stands for Linux, Apache, MySQL, PHPMyAdmin. This is a critical step that installs the webserver, database and many other integral parts towards the end goal: remote monitoring and control of a greenhouse or other climate related project.
Load webpage to test(use the ip address that you used for the raspberry pi, putty, etc):
http://192.168.254.30/phpmyadmin
Link to tutorial:
https://pimylifeup.com/raspberry-pi-mysql-phpmyadmin/
install commands:
sudo apt-get install mysql-server
sudo mysql_secure_installation
sudo mysql -u root -p
sudo apt-get install python-mysqldb
sudo mysql -u root -p
GRANT ALL PRIVILEGES ON mydb.* TO 'test'@'localhost' IDENTIFIED BY 'test';
sudo apt-get install phpmyadmin
sudo nano /etc/apache2/apache2.conf
add line at bottom of file (use right click in putty):
Include /etc/phpmyadmin/apache.conf
sudo /etc/init.d/apache2 restart
https://youtu.be/C7ayFZqDzEo
The candle that burns twice as bright burns half as long