The details of BBB board
http://elinux.org/Beagleboard:BeagleBoneBlack
Download the latest Ubuntu image from
http://elinux.org/BeagleBoardDebian#eMMC:_BeagleBone_Black
Holding down the boot button, apply power to the board. Continue to hold boot botton until USER LEDs begin to flash
http://elinux.org/Beagleboard:Expanding_File_System_Partition_On_A_microSD
Add the following settings to /etc/network/interfaces
auto wlan0
iface wlan0 inet dhcp
wpa-ssid "SSID"
wpa-psk "password"
sudo mv /etc/localtime /etc/localtime-utc
sudo ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
sudo nano /etc/hostname
sudo nano /etc/resolv.conf
sudo adduser shenzt
adduser shenzt sudo # Make it sudo user
sudo update-rc.d apache2 disable
sudo apt-get install python-pip
sudo pip install xively-python --pre
sudo pip install pyserial
sudo pip install socketIO_client
sudo apt-get install postgresql postgresql-server-dev python-psycopg2
edit /etc/postgresql/9.1/main/pg_hba.conf with the following lines.
local all postgres trust
local all automation trust
apt-get install curl
sudo nano /etc/rc.local
Add the following commands
/opt/automation/script/startup.sh
sudo apt-get install python-pip
sudo pip install xively-python --pre
sudo pip install pyserial
sudo pip install socketIO_client pytz
sudo apt-get install postgresql python-psycopg2 nodejs npm
https://code.google.com/archive/p/python-weather-api/ sudo npm install forever -g