JakeMakes

Git Good @ Tech

Author: BigJay (page 2 of 3)

Raspberry Pi LAMP server v2 with Nginx and MariaDB

So why Nginx and MariaDB ?

Nginx will replace our Apache server. But why ? Short answer is performance. Bit longer answer is that Nginx is Asynchronous server which means it can perform several actions at the same time, without waiting previous to end. Nginx responds faster and consumes less RAM then Apache and this is my main reason for switching to Nginx. There are of course differences. Nginx doesn’t support .htaccess files and sometimes the are differences how Nginx handles PHP.
And MariaDB is drop in replacement to MySQL. MySQL was brought by oracle some time ago and since then the MySQL has problems with including community in development process and distrust from community for having competing products, open source MySQL and proprietary OracleDB. So the original developer of MySQL created a new projects MariaDB and it is fully open source, has strong community and is being actively developed.

Continue reading

Syncthing on Raspberry Pi 2 make your own cloud storage

Syncthing is amazing alternative to things like Dropbox or Google Drive plus you control your data. Now it works little differently than usual cloud storage solutions. Instead of one central server Syncthing uses peer to peer sharing. Also Syncthing is quite flexible for sharing files between your different devices or between people. I will not go into details of Syncthing  features and options because probably if you are already here you want to know how to install it so here goes …
Continue reading

Sending email with arduino and php.

Most of the currently available solutions for sending a simple email with arduino are bit complicated for my taste. Like knowing your SMTP server ip and the converting your password and username to bas64 like whaaat no way, ain’t nobody got time for that.

So here is a solution, BUT there are couple of small BUT-s you have to have access to some kind of web hosting solution. (There are plenty of free hosting solutions out there, like googling + registration = 3 min. I tested 😉 ). And the hosting solution has to have smtp enabled on php or supported (I didn’t find any that didn’t work). And I will show you how to check that.
We will use: Arduino Uno and WizNet W5100 ethernet shield.

Continue reading

Node Red Dashboard server and temperature monitor.

Here are some screenshots of the upgraded dashboard. And at the bottom is the full Node Red code.

Continue reading

Wifi temperature logger aka “NodeMcu Arduino IDE MQTT DHT11 Node”. Part 3 (Node Red and dashboard)

In previous two tutorials we learned how to set up ESP8266 with arduino IDE as temperature sensing node. Now we gonna look Node Red side of things and will create dashboard for displaying the data.

Continue reading

Wifi temperature logger aka “NodeMcu Arduino IDE MQTT DHT11 Node”. Part 2 (ESP8266 sketch)

In this part of the tutorial we will look closer the esp8266 sketch that will send the temperature info to our server.

 

Continue reading

Wifi temperature logger aka “NodeMcu Arduino IDE MQTT DHT11 Node”. Part 1 (ESP8266 and Arduino IDE)

In this small series I will show you how to use Arduino IDE with ESP8266 and log your temperature data to the MySql server trough Node Red. And for data transmission we will use MQTT.

Continue reading

Recovering broken Raspberry Pi filesystem

Well F.. Nothing works. Hmm lets reboot. Nothing. Maybe its issue with external hard drive. Lets take the RPi Sd card and change the fstab file manually from different computer. While trying to open the /etc/ folder I’m greeted with following error:

Boom. Congrats you won broken filesystem. “Structure needs cleaning”.

So here is how you can maybe fix it.

Continue reading

Raspberri Pi Torrent box


Finally we can set up our torrent box. For you know.. downloading and sharing Linux distros and open sourced software.

Continue reading

Setting up SSHFS on Raspberry Pi

This will be tutorial about how to set up RPi torrent box… oh wait i need to mount external drive ….okey then…. This WILL be tutorial about how to mount usb drive on RPi …. Wait I need to transfer large files between RPi and my PC …….fuuuuuuuu…  Fine  it will be tutorial about how to set up SSHFS on Raspberry Pi.
I prefer SSHFS over samba because its pain to set up samba on RPi(not really but i’m lazy) and yes if you want connect many windows or android devices its better solution but for a linux to linux file transfer it super easy and quick to set up, another downside is speed. But because I don’t transfer 100 gig files my 10MB/s is adequate.But hey the SSHFS is encrypted which is nice.
Anyway…

Continue reading

« Older posts Newer posts »

© 2019 JakeMakes

Theme by Anders NorenUp ↑