Raspberry Pi-01-start, Raspberry Pi-01-start

Source: Internet
Author: User

Raspberry Pi-01-start, Raspberry Pi-01-start

What is Raspberry Pi? You don't know? I went to Baidu, an interesting hardware.

Online shopping of a batch of accessories, finally arrived, 16 gb sd card, Raspberry Pi, Raspberry Pi box, heat sink (2 pieces of pure copper), dubang line (said to be useful in the future)

I. Assemble hardware

Assemble Raspberry Pi. The Assembly is completed in 5 minutes.



Ii. Install the Operating System

Test the 16 gb sd card. The speed is really fast.


The current SD card is fast. Copy the downloaded Raspberry Pi OS to the SD card using a tool image, insert it into the Raspberry Pi, and then power it up.
Raspberry Pi official Raspbian system download: http://www.raspberrypi.org/downloads

The so-called "installing the system" is not as difficult as "restoring" the downloaded system image to the memory card, that is, the speed of the memory card. Note that the actual size of some 4 GB memory cards on the market is more than 3.6 GB, and there will be insufficient space.

In Windows, you can use Win32 Disk Imager to restore images, which is very convenient. It is also officially recommended by Raspberry Pi. Http://sourceforge.net/projects/win32diskimager/


After the image is complete, you can insert it to the pi to start.

Connect to the power supply, display start, crash, actually need a keyboard. Otherwise, initialization fails.

Fortunately, you can use SSH to connect to the previous stage and quickly open the direct router to view the newly allocated DHCP users. Copy these MAC addresses and configure a static IP address.


Note: It is said that there is a software that can also scan out our hardware IP address. If you have time, study it yourself. I'm too lazy to get it: PortScan

Okay, you can use the SSH tool to connect. I used the tool I used: Bitvise Tunnelier. Free of charge,: http://www.bitvise.com/ssh-client-download


Enter raspberry pi's Default User name: pi password: raspberry

Okay, the system can be started ;)


We recommend that you enable the ROOT account immediately for convenience ~ This is also very simple. You only need to execute the following two commands:

// Set the password of the root account, which will allow you to enter the new password sudo passwd root twice // enable the root account to log on to sudo passwd -- unlock root


4. Expand the available space

Execute the prompt script

Sudo raspi-config

Select the first Expand Filesystem to Expand the available space on the SD card. Otherwise, there will be a lot of software and cannot be installed (the prompt is insufficient space, such as mysql ).
After expansion, you must execute the restart command.

sudo reboot

Then run the df-h command to see the effect ~


The above operation has completed the basic installation. Now let's take a look at the CPU temperature: cat/sys/class/thermal/thermal_zone0/temp

46 degrees, nothing to do, forget it, or stick the copper heat sink. After the heat sink is pasted, the starting temperature is at 39 degrees, which is very low. Suddenly I think it is the newly installed copper block. The temperature must be low. Wait for 20 minutes and try again.


42.77 degrees, a small copper block is reduced by 2 degrees, it is useless. I knew it was not sticking to this stuff. Forget it. Just put it on it.









How can Raspberry Pi execute a command when it is started?

The simplest method is to directly add it to the exit statement of the/etc/rc. local file. Write the startup script and put it in init. d. then create a soft link to rc.2. You can also use a third-party startup management software, but it is not recommended.

How can Raspberry Pi be started?

Raspberry Pi
 

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.