Changes between Version 37 and Version 38 of PiBotOsInstallation
- Timestamp:
- Oct 1, 2016, 11:17:43 AM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
PiBotOsInstallation
v37 v38 16 16 }}} 17 17 * Install Oracle Java JDK. Do not use stock OpenJDK, its slower. 18 *{{{ sudo apt-get install oracle-java8-jdk }}}.18 {{{ sudo apt-get install oracle-java8-jdk }}}. 19 19 * Then test, by running {{{java -version}}}. It should say java 8 not openjdk. 20 * Install git: {{{ sudo apt-get install git }}} 21 * Install [http://wiringpi.com/ wiringPi]: 20 * Install [http://pi4j.com/ Pi4J] 22 21 {{{ 23 mkdir ~/dev;cd ~/dev24 git clone git://git.drogon.net/wiringPi25 cd wiringPi26 ./build27 }}}28 Then, test by running "gpio -v" and "man gpio"29 * Install [http://pi4j.com/ Pi4J]30 * See: http://www.savagehomeautomation.com/projects/pi4j-connecting-java-to-the-raspberry-pi.html31 * [https://www.youtube.com/watch?v=grItDpy3TRM video tutorial]32 * Easy way, type:33 {{{34 22 cd ~/dev 35 23 curl -s get.pi4j.com | sudo bash 36 24 }}} 37 25 * Install [https://en.wikipedia.org/wiki/Avahi_(software) Avahi] (mDNS/zeroconf) {{{ sudo apt-get install avahi-server }}} 38 26 * Update Raspian Configuration {{{ sudo raspi-config }}} … … 49 37 * Select 'expand to use entire sd card'. This will reboot the pi. 50 38 51 === Other SundryThings39 === Other Miscellaneous Things 52 40 * [wiki:HowToRunProgramAtStartupPiZero How to run a program at startup on the Pi Zero] 41 * http://www.savagehomeautomation.com/projects/pi4j-connecting-java-to-the-raspberry-pi.html 42 * [https://www.youtube.com/watch?v=grItDpy3TRM video tutorial] 43 = Doesn't wiringpi get installed as part of Pi4j install??? If not: 44 * Install git: {{{ sudo apt-get install git }}} 45 * Install [http://wiringpi.com/ wiringPi]: 46 {{{ 47 mkdir ~/dev;cd ~/dev 48 git clone git://git.drogon.net/wiringPi 49 cd wiringPi 50 ./build 51 }}} 52 * Then, test by running "gpio -v" and "man gpio" 53 53 54 54 55