Here DS18B20 or DS18S20 sensors are connected in parasitic mode, consuming only 2 wires for connection. VDD pin must be connected to GND pin of each sensors. 47 Ohms resistors are added to GND and 1wire terminal on BBB to limit current in case lines are short circuited. BBB specify that pins are at 3.3V logic and not 5V tolerant, so for more safer side you may connect to 3.3V VDD and reduce the value of R1 (say around 1.5k)
add mysql compiler helper options`mysql_config --cflags --libs`notice the back ticks (`) rather than (‘) apostrophe. Which denote commands that are to be executed by the shell separately (but before) the rest of the command that was issued.
debian@beaglebone:~$ nano /etc/rc.local
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
# In order to enable or disable this script just change the execution
# By default this script does nothing.
#export gpio, configure pin for output and set permissions to allow all users
#GPIO PIN SETUP
echo 66 > /sys/class/gpio/export
chmod 666 /sys/class/gpio/gpio66/value
chmod 666 /sys/class/gpio/gpio66/direction
echo out > /sys/class/gpio/gpio66/direction
echo 67 > /sys/class/gpio/export
chmod 666 /sys/class/gpio/gpio67/value
chmod 666 /sys/class/gpio/gpio67/direction
echo out > /sys/class/gpio/gpio67/direction
echo 68 > /sys/class/gpio/export
chmod 666 /sys/class/gpio/gpio68/value
chmod 666 /sys/class/gpio/gpio68/direction
echo out > /sys/class/gpio/gpio68/direction
#GPIO PIN SETUP END
#PWM PIN SETUP
chmod 666 /sys/devices/ocp.*/pwm_test_P9_14.*/duty
chmod 666 /sys/devices/ocp.*/pwm_test_P9_16.*/duty
chmod 666 /sys/devices/ocp.*/pwm_test_P9_29.*/duty
chmod 666 /sys/devices/ocp.*/pwm_test_P9_14.*/period
chmod 666 /sys/devices/ocp.*/pwm_test_P9_16.*/period
chmod 666 /sys/devices/ocp.*/pwm_test_P9_29.*/period
#PWN PIN SETUP END