Thursday, December 12, 2013

Raspberry PI: Get started!

Alright, you just have bought Raspberry PI toy. So what's you gonna do with it? Here's what I did:

1. download this utility (app) if you're using Windows:
 http://sourceforge.net/projects/win32diskimager/

2. download this image and save into your machine:
http://downloads.raspberrypi.org/raspbian_latest

3. plug the SD card into your Windows machine

4. run Win32Imager app: browser to the image file you just downloaded, choose the correct disk name for the SD (mine is E), and hit next (wait for 3-5 min for it to be done)

5. Now plug the SD with Raspbian OS into the Raspberry PI toy and power it on

That's it. It's just quick and easy! Enjoy your new toy!

Note:
1. to use the Raspberry PI behind the proxy for apt-get command, create a file named proxy under/etc/apt/apt.conf.d/ and add this following text line:
Acquire::http::proxy=http://yourproxy.com:port/
2. Keyboard issue: by default the keyboard layout is GB (Great Britain), so when you type <shift>+3, it does NOT show # instead of English pound sign. The same issue with <shift>+2. You can fix the keyboard issue:
sudo nano /ect/default/keyboard
change GB  > US
3. To insall apache2 and php5:
sudo ap-get install update
sudo apt-get install apache2 php5 libapache2-mod-php5
sudo service apache2 restart (apache2 started right after it's installed, you have to restart it here)
apache installation location: /etc/apache2
apache web dir location: /var/ww



No comments:

Post a Comment