sunnuntai 31. maaliskuuta 2013

Raspberry Pi - Credit-card sized computer

I wonder how I heard about RaspberryPi just a while ago. Anyway I bought it because it seemed very useful for me. I wanted to learn more about Linux and using it as a server. I also bought a plastic box for the Pi. I got mine from Partco.

First thing was to format a memory card for the Pi and install Linux. I found good instructions from ruuvipenkki (in Finnish) but in short for WINDOWS users:

1. Get newest Raspbian linux from http://www.raspberrypi.org/downloads
2. Download Win32DiskImager from the same site and install it.
3. Put SD card into your computer and unzip the disk imager.
4. Open the disk imager and locate your raspbian image.
5. Click write. When the installation has completed succesfully it says "write succesful"



next steps:
1. connect all the needed cables to Pi but do not connect the power plug yet.
2. Insert memory card.
3. Now connect the power cable. It acts as a power button for the Pi. If it is plugged in the computer turns on and if it is plugged off the computer shuts down. 
4.  Now you should see a Raspbian installation window on your screen.
5. When the installation is completed you should see Pi's config window.
6. You should choose "Expand_rootfs" from the settings by pressing enter. With this you get to use the whole sd card space. 
7. Set the timezone correctly.
8. Enable ssh if wanted.
9. Click finish and the Raspberry Pi restarts.



Next:
1. When you see the: "raspberrypi login" text, username is "pi" and password "raspberry"
2.  If you want to use desktop just type "startx" and the desktop will start.
3. If you don't want to use the desktop, check ssh status with $ service:ssh status command
4. Check Pi's IP with $ ifconfig (this is the address that router has given to Pi)
5. Connect your server from windows example with Putty
6. Change your password with $ sudo passwd root


Ei kommentteja:

Lähetä kommentti