RaspberryPI 3 系统安装及常见问题
2019獨角獸企業重金招聘Python工程師標準>>>
很早很早就在關注樹莓派,一直也沒去下決心擺弄它,最近終于在淘寶上買了一個基本套餐的raspberry pi3.
實際上我以為系統安裝非常簡單,當然事實上真的是非常簡單,不過我在安裝過程遇到一個無語的坑折騰了我小半天時間。(賣家贈送的SD卡質量不過關,raspberry無法識別)。
系統安裝我無需再自己寫,借用官網的,只是加一些關鍵解釋。
https://www.raspberrypi.org/documentation/installation/installing-images/README.md
事先檢查:將待用的SD卡推入raspberry插槽,觀察指示燈狀態。如果SD正確被識別可用,指示燈將有閃爍綠色燈光或紅綠相間。(我用的SD卡在插入插槽后,指示燈一直保持紅色,燒入的系統無法登錄,當然實際是未識別卡)
This resource explains how to install a Raspberry Pi operating system image on an SD card. You will need another computer with an SD card reader to install the image.
We recommend most users download NOOBS, which is designed to be very easy to use. However, more advanced users looking to install a particular image should use this guide.
Download the image
Official images for recommended operating systems are available to download from the Raspberry Pi website Downloads page.
Alternative distributions are available from third-party vendors.
If you're not using Etcher (see below), you'll need to unzip .zip downloads to get the image file (.img) to write to your SD card.
Note: the Raspbian with PIXEL image contained in the ZIP archive is over 4GB in size and uses the ZIP64 format. To uncompress the archive, a unzip tool that supports ZIP64 is required. The following zip tools support ZIP64:
- 7-Zip (Windows)
- The Unarchiver (Mac)
- Unzip (Linux)
Writing an image to the SD card
You will need to use an image writing tool to install the image you have downloaded on your SD card.
Etcher is a graphical SD card writing tool that works on Mac OS, Linux and Windows, and is the easiest option for most users. Etcher also supports writing images directly from the zip file, without any unzipping required. To write your image with Etcher:
- Download Etcher and install it.
- Connect an SD card reader with the SD card inside.
- Open Etcher and select from your hard drive the Raspberry Pi .img or .zip file you wish to write to the SD card.
- Select the SD card you wish to write your image to.
- Review your selections and click 'Flash!' to begin writing data to the SD card.
社區里,有許多玩家也推薦了另一軟小巧好用的軟件:Win32DiskImager
系統寫入SD成功后,在未通電狀態下插入SD卡,連接顯示器HDMI(如需要),網線(有線),然后接通電源。
當樹莓派指示燈有紅綠光閃爍時,說明系統應該是正常啟動了。
如果有顯示器的話,直接用pi/raspberry登錄。
使用SSH登錄的話,需要先登錄到路由器的管理界面查看raspberrypi的IP。
有Linux使用經驗的話,SSH連接應該非常清楚。
使用putty或openssh:
ssh pi@<pi's ip>
注意:新版的系統可能默認關閉了ssh連接,那么你需要將SD插回電腦,在U盤根目錄創建一個名為ssh的空白文件即可,再次連接并啟動raspberrypi將能夠通過SSH登錄系統。
?
轉載于:https://my.oschina.net/dreamin/blog/1594093
總結
以上是生活随笔為你收集整理的RaspberryPI 3 系统安装及常见问题的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: jms中activemq事务探讨
- 下一篇: wordpress中安装插件需要ftp服