The “nofail” option allows the boot process to proceed if the drive is not plugged in. The “noatime” option stops the file access time being updated every time a file is read from the USB stick. This helps improve performance. Czytaj więcej
I’m always looking for this commands when I need to install latest Java 8 JDK on my RPi, so I’m adding them here just in case I’ll need to use them again.
Unfortunately default Raspbian repository contains old Java version 1.8.0_65-b17 while the latest (when I’m writing this post) is 1.8.0_151-b12.
First install dirmngr:
sudo apt-get install dirmngr
Second add deb repositories and key:
echo "deb http://ppa.launchpad.net/webupd8team/java/ubuntu trusty main" | sudo tee /etc/apt/sources.list.d/webupd8team-java.list
echo "deb-src http://ppa.launchpad.net/webupd8team/java/ubuntu trusty main" | sudo tee -a /etc/apt/sources.list.d/webupd8team-java.list
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys EEA14886
Warning! If you add xentail repositories (as many RPi forums and other pages state) you’ll end up with old 1.8.0_65 version, you must be using trusty repositories in order to install latest Java version.
sudo apt-get update
Install Java installer:
sudo apt-get install oracle-java8-jdk
Verify Java version
To be 100% sure I have proper version of Java I use basic command:
During my first plays with Raspberry Pi 3 I wanted to have a flexible ways of powering my board with different power supplies.
There are two ways to power Raspberry Pi 3:
using micro USB socket – the best way, but you have to use charger with mounted micro USB male plug at the end of power cable. The RPi is also protected by fuse and power protection circuit.
Using GPIO pin header – easy to power from a variety of different power supplies using standard 2.54 mm female connector. Unfortunately this connections (GPIO2 and GPIO4) are bypassing 5V protection circuit and fuse, so using this pins carries a certain amount of risk of breaking your RPi.
I bought an industrial power supply Mean Well MDR-20-5 with 3.0A output,
so I needed to make my own power cable to power my PRi that will use power protection circuit on board.