I recently got a Raspberry Pi for testing, and to build some projects ideas I have.
我最近得到了一个Raspberry Pi进行测试,并建立了一些我有的想法。
I installed Raspbian, the Linux version of Debian specifically made for the Raspberry Pi.
我安装了Raspbian,这是专为Raspberry Pi开发的Debian的Linux版本。
Then I attached the Raspberry Pi to the TV, using the HDMI cable, and I attached an USB mouse and USB keyboard to install the OS and get all “wired up”.
然后,我使用HDMI电缆将Raspberry Pi连接到电视,然后连接USB鼠标和USB键盘以安装操作系统并进行所有“连接”。
I then set up the VNC Server on the Pi to be able to connect to it from the Mac. I didn’t really want to keep it attached to the TV all the time.
然后,我在Pi上设置了VNC服务器,以便能够从Mac连接到它。 我实在不想一直将它固定在电视上。
So I clicked the menu, went to Preferences -> Raspberry Pi Configuration:
所以我点击了菜单,进入了Preferences-> Raspberry Pi Configuration :
Then I pressed the Interfaces tab:
然后,我按下了“ 接口”选项卡:
and I enabled the VNC option:
我启用了VNC选项:
After doing so, I pressed OK and the “VNC” icon appeared in the toolbar.
这样做之后,我按了“确定”,工具栏中出现了“ VNC”图标。
In the screenshots above it’s already there, but it’s because I made them after I enabled VNC.
在上面的屏幕截图中,它已经存在,但这是因为在启用VNC之后我将它们制作了出来。
Clicking that icon showed me the VNC Server panel, which shows me the IP address of the Pi.
单击该图标将显示“ VNC服务器”面板,该面板显示了Pi的IP地址。
Using the Mac I downloaded the VNC Viewer from https://www.realvnc.com/download/viewer/ and I entered the IP address of the Pi.
使用Mac,我从https://www.realvnc.com/download/viewer/下载了VNC Viewer,然后输入了Pi的IP地址。
I entered the username (pi) and the password of that username, and I was ready to go, with a nice window showing me the content of the Pi desktop!
我输入了用户名(pi)和该用户名的密码,然后就可以开始使用了,并在一个漂亮的窗口中显示了Pi桌面的内容!
The only problem I had was sound. That’s not supported with VNC, so I connected my stereo to the Pi audio jack, to hear if it had something to say.
我唯一的问题是声音 。 VNC不支持此功能,因此我将立体声音响连接到Pi音频插Kong,以听是否有话要说。