Default Account password : pi / raspberry
。Machine Info Raspberry Pi B+
Architecture: armv6l
Byte Order: Little Endian
CPU(s): 1
On-line CPU(s) list: 0
Thread(s) per core: 1
Core(s) per socket: 1
Socket(s): 1
Model name: ARMv6-compatible processor rev 7 (v6l)
CPU max MHz: 1000.0000
CPU min MHz: 700.0000
。Updating
sudo apt-get clean
sudo apt-get update && sudo apt-get -y upgrade && sudo apt-get -y dist-upgrade && sudo apt-get -y autoremove
。Firmware Updating
sudo apt-get install rpi-update
sudo rpi-update
。Screen
sudo apt-get install screen
screen
screen -list
Reconnect : screen -r
。Show disk info / space
lsblk
df -h
show disk size: du -hs dic/*
。Python
sudo apt-get install python-pip
。Crontab
- 編輯 : crontab -e
- 顯示執行 log : grep CRON /var/log/syslog
- check status : sudo service cron status
- restart : sudo service cron restart
。Git
- Add and push files:
git add .
git commit -a -m "commit" (do not need commit message either)
git push
- Remember Git login info:
git config --global credential.helper 'cache --timeout 360000'
沒有留言:
張貼留言