Here is some notes of my Raspberry Pi installation(Raspbian Wheezy).
Download the lasted disk image from the Raspberry Pi official website. I’m using the Raspbian Wheezy version OS. Up to the present time I’m writing this, the latest Raspbian version is “2013-02-09-wheezy-raspbian.zip“.
In Linux, use the following commands to write the extracted image file to your SD card:
1 | # Assume your SD card is "/dev/sdb", you can get this information by using the following command: |
Use the “raspi-config“ utility to config your Raspberry Pi
Put your SD card into your Raspberry Pi and boot it for the first time, you will be prompted to use “raspi-config” utility to config(you can do it again for any time if your want by run this command later);
"expand_rootfs": if your SD card is more than 2GB, this command will make you use all the space in the SD card; "overscan": I recommend to make this option "Enable" to prevent make screen output out of range; "memory split": allocate the size of display memory and main memory; The other options are all very straightforward.
Config WIFI
It’s very handy if you can put a mini USB WIFI card in Raspberry Pi like this one:
In the current Raspbian, there is a GUI utility “Wireless“ can config the WIFI of Pi. First use “startx” to start the LXDE environment, find the following icon on the desktop:
You just need to select your SSID and put your WIFI PSK and it should work.
Change the APT source
[Here][sources_url] is the Raspbian mirrors list, you can change your “etc/apt/sources.list” file to use one of the source in the list such as:
1 | deb http://mirror.nus.edu.sg/raspbian/raspbian wheezy main contrib non-free rpi |
Chinese language support
1 | sudo apt-get install ttf-wqy-zenhei ttf-wqy-microhei scim-pinyin |
- Install Chromium web browser
1 | sudo apt-get install chromium chromium-l10n |
- Control audio volume, refer here:
1 | amixer cset numid=1 -- 80% # The command make the audio volume as "80%" of the maximum value |
- Play video
1 | omxplayer -o hdmi --pos 600 ~/some_video_file.avi |