I learned the Linux system with a magic Raspberry Pi board.

Source: Internet
Author: User

I learned the Linux system with a magic Raspberry Pi board.
Raspberry Pi is an ARM-based micro-computer motherboard With a shape of only the size of a credit card. Therefore, it is also known as a new card-type computer. Raspberry Pi has all the basic functions of the computer, but it can be said that it is small and dirty. The Raspberry Pi foundation of its development organization aims to "Improve the Quality of computer science and related disciplines in schools and make computers interesting, therefore, do not miss this artifact if you love it and do not like it.
Raspberry Pi has two models A and B in the early stage, and the B-type Raspberry Pi is configured with A High Level. The main difference lies in the number of USB interfaces, NICS, power, operating current, and running memory. Even the standard 5V2A mobile power supply in daily life can support their normal operation, and the latest Raspberry Pi 3 is equipped with a 64-bit quad-core GHz processor and 1 GB LPDDR2 memory, fully compatible with released applications. Raspberry Pi 3 also directly carries exciting 802.11n Wi-Fi and Bluetooth 4.1 Support on the wireless side. In terms of power supply, the third generation Raspberry Pi needs to be paired with a 2.5A USB charger. I have tried Raspberry Pi B and B +. I can use av or HDMI to output images to any monitor and connect them to the mouse and keyboard, A complete computer was born. If you do not have an idle monitor on your hand, the Raspberry Pi has reserved an LCD screen with the csi interface. Through the notro/fbtft open-source project, you can fully implement the framebuffer driver, let Raspberry Pi perfectly support tft liquid crystal. do you think of the former MP4, Which is forgotten now?

We can think of Raspberry Pi as a mini computer with a Linux operating system. Although geeks have racked their brains to port windows 10 x86 to it, but Raspberry Pi and Linux are the best matches. The default Raspberry Pi provided by the factory does not contain storage devices. We need an SD card (B + with a smaller TF card ), then, the appropriate operating system can be burned to the memory card using disk management tools such as win32diskimager. The officially provided and recommended operating system is the debian-based Raspbian, raspbian comes with an integrated development environment for Python, Java, and other languages. Of course, NOOBS is also a good choice. After installing and configuring the system, we can "do whatever we want.
We can even say that Raspberry Pi is omnipotent. Apart from being used for daily programming, Raspberry Pi's kernel comes with gpio drivers during compilation, you can easily program and learn through third-party operating libraries such as python GPIO, wiringPi, and BCM2835 C Library.
In fact, I do not know much about hardware, so I am playing more with soft (black) technology. Of course, if I want to use Raspberry Pi to implement a radio, I think I can still do it. I am also exploring Linux, and I am currently studying the Linux Command section in the book "Linux should learn this". The books of Miss Liu are made public for free, in this spirit of sharing, we need to make advertisements for him. The book website is ghost.
In short, Raspberry Pi has two ways: one is to implement various "smart machines" as a control center. In terms of smart devices, we can use Raspberry Pi to implement a Wi-Fi car, self-made laptops, smart switches, monitoring and shooting, and even smart robots. Second, make full use of each piece of hardware to provide "soft" services, in terms of soft services, you can use Raspberry Pi to build personal websites, serve as network storage devices, deploy home albums, provide WIFI hotspots, and site monitors.
One of my Raspberry Pi (Model B +) is currently serving in the laboratory, as the laboratory's NAS (network attached storage ), it provides not only file storage, but also real-time backup and synchronization. The hard disk rack is used to load idle hard disks and read and write storage devices through the high-speed USB interface (the performance bottleneck lies in the network rather than I/O, so no optimization is made here ). Using the SMABA protocol, we can easily access NAS in Linux, Windows, and even OS X, perform real-time Incremental Backup through schedule scheduling and rsync, and then use Shell scripts for intelligent judgment, synchronize files from a remote server.
My other Raspberry Pi was once used as my git repository. To tell the truth, the memory was a little too powerful, installing and deploying gogs through docker is the most agile way to build a git repository. Of course, I will also bring a temperature and humidity sensor to the old employee and push it to the server through websocket. Then, you only need to visit the browser on your mobile phone or on the webpage to view the temperature and humidity of the lab at a glance. I even thought about how to use Raspberry Pi to carry relays and use WEB servers to switch and control the electric door. Of course, I gave up this dangerous idea for the sake of "security.
Raspberry Pi is another magic weapon on my way to learning Linux. Through studying and using it, I have greatly improved my basic Linux skills and application capabilities. At the same time, I am glad that my learning route is not too tortuous. After practice, the original "Raspberry Pi User Guide", "Linux should learn this", and "play Raspberry Pi" books have gradually changed from the role of teaching materials to reference books. This article is just for the sake of interests and a hasty preparation. If you have any blind spots, you can look at haihan. Of course, another purpose is to make it clear: Raspberry Pi is really amazing!

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.