A new comer playing with Raspberry Pi 3B
there are some things to do for raspberry pi 3b for the first time:
1, connect pi with monitor/KB/mouse, then power on it and go into its desktop(by default):
expand system up to the whole storage of SD card(it seems to be maximum of 64G by official exclaim);
set up the locale as US/US, from desktop to CLI when login, the timezone as Asia/Chongqing
alternatively, we could config these parameters by command: raspi-config(need root authentication), before that, you should use a tool such as Putty to connect with SSH.
2, update system by:
sudo apt-get update
3, setup vim
install new vim(I suspect it's fake itself, many feature aren't available in its VIM!) by: sudo apt-get install vim
add a .vimrc under your home folder and insert the following configuration:
set nu
syntax on
set hlsearch
set tabstop=4
"set softtabstop=4
"set shiftwidth=4
"set cindent
"set cinoptions={0,1s,t0,n-2,p2s,(03s,=.5s,>1s,=1s,:1s
4, config static ip address (for wifi at least) by altering file /etc/network/interfaces:
auto wlan0
allow-hotplug wlan0
iface wlan0 inet static
address 192.168.1.60
netmask 255.255.255.0
gateway 192.168.1.1
wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
note: more details for its configuration information, refer to its manual by typing - man interfaces, other configuration files or head files such as <stdio.h>, you can do the same.
5, install remote desktop for raspberry pi by:
sudo apt-get install xrdp
then you can use the default remote connecting tool of microsoft windows self to login pi
6, how to share with pi's home folder?
by SAMBA service:
a, sudo apt-get install samba samba-common-bin
b, sudo smbpasswd -a pi
c, make changes to 'read only' as no and 'browseable' as yes in section [homes] in file /etc/samba/smb.conf
d, sudo /etc/init.d/samba restart
e, then windows has access to the shared home folder like \\192.168.1.60\pi
7, how to use USB mass storage devices under it?
you could use 'lsusb' to find out which usb devices are connected.
a, mount usb disk manually
make sure folder /mnt/udisk exists;
mount: sudo mount -o uid=pi,gid=pi /dev/sda? /mnt/udisk (note: sda? should be seeked out accordingly)
unmount: sudo umount /mnt/udisk
b, mount usb disk automatically?
8, complete development environment update for c/c++
for gcc: sudo apt-get install gcc-4.9-doc (first check your version of gcc, in this case, it is 4.9)
P.S. Win32DiskImager can backup and restore system on TF card among different cards.
halt完成后居然有2.4瓦特的功耗!而运行时轻载也就1.7瓦特左右,负载重时也就2-3瓦特!所以要彻底关电,必须使用poweroff或shutdown now --poweroff命令,关断后其显示红指示灯常亮,而halt后是灭灯的。
A new comer playing with Raspberry Pi 3B的更多相关文章
- 如何在Raspberry Pi 3B中安装RASPBIAN
RASPBIAN简介 RASPBIAN是树莓派官方支持的基于Debian的Linux系统.RASPBIAN预装了很多常用的组件,使用起来十分方便. 官方有RASPBIAN STRETCH WITH D ...
- 如何在Raspberry Pi 3B中安装Windows 10 IoT Core
Windows 10 IoT Core简介 Windows 10 IoT是微软专门为物联网生态打造的操作系统,Windows 10 IoT Core则是Windows 10 IoT 操作系统的核心版本 ...
- [IOT] - Raspberry Pi 3B + Windows 10 IOT Core + .Net Core Web 部署
硬件:Raspberry Pi 3B 系统:Windows 10 IOT Core 应用:.Net Core Web 部署流程 1. 系统安装 1.1 下载并安装 Windows 10 IoT Cor ...
- Vulkan Driver for VC4(Raspberry Pi 3b) base on mesa
这是一篇关于在raspberry Pi 3b上移植实现vulkan 驱动的文章. 经过一段时间的代码搬运,终于实现了零的突破,可以在树莓派3B上运行Vulkan triangle/texture.当然 ...
- 树莓派(1)- Raspberry Pi 3B 安装系统并联网
一.背景 昨天到手淘宝买的3B,既然买了就不能让它吃灰,动起来. 二.物料 名称 说明 硬件 树莓派3B 主体 树莓派电源 5V 2A sd卡 4G低速(推荐是16G class10),我手头只有这 ...
- Kali v2.1.2 for Raspberry Pi 3B
最新的下载地址是: https://www.offensive-security.com/kali-linux-arm-images/ 按照官网的说法是找不到树莓派版本的SHA1SUM和SHA1SUM ...
- 人脸识别准备 -- 基于raspberry pi 3b + movidius
最近准备系统地学习一下深度学习和TensorFlow,就以人脸识别作为目的. 十年前我做过一些图像处理相关的项目和研究,涉及到图像检索.记得当时使用的是SIFT特征提取,该特征算子能很好地抵抗图像旋转 ...
- 无外接键盘安装 raspberry pi 3B+ 安装系统
从官网介绍看,当前raspbian和以前大家的记录略有不同,老的博客资料基本都是介绍下载raspbian,但现在raspbian已经不再维护镜像, raspbian系统开始由官方 pi foundat ...
- 树莓派:raspberry pi 3b - NOOBS
NOOBS - 多操作系统安装器,可以将不同支持树莓派的流行操作系统安装在一张SD卡中并提供一个启动管理工具,安装的不同操作系统相互独立,互不影响,是一种比较有意思的玩法. 从版本1.3.1开始到1. ...
随机推荐
- 自定义Angular插件 - 网站用户引导
最近由于项目进行了较大的改版,为了让用户能够适应这次新的改版,因此在系统中引入了“用户引导”功能,对于初次进入系统的用户一些简单的使用培训training.对于大多数网站来说,这是一个很常见的功能.所 ...
- .NET 基础 一步步 一幕幕[运算符、占位符、转义符]
运算符.占位符.转义符 好吧,在五局全胜之后,终于升到了三个钻,距离一个星星还有一大段距离,忽然想起来今天的博客还没写,果断坑队友,来写博客了....感觉以后还是每天更新一篇比较好.要不晚上就该熬 ...
- redis成长之路——(六)
redis配置 为了码农在代码上只关心业务以及代码上的统一性,wenli.drive.redis内部使用配置来完成那些不同的场景,也就是说随便填填配置就能适应不同的场景! 当然配置多了码农也会受不了, ...
- CI Weekly #8 | CI/CD 技能进阶路线
在使用 flow.ci 进行持续集成的过程中,也许你会遇到一些小麻烦.最近我们整理了一些常见问题在 flow.ci 文档之 FAQ,希望对你有用.如果你遇到其他问题,也可以通过「在线消息」或去 Git ...
- 【翻译】MongoDB指南/引言
[原文地址]https://docs.mongodb.com/manual/ 引言 MongoDB是一种开源文档型数据库,它具有高性能,高可用性,自动扩展性 1.文档数据库 MongoDB用一个文档来 ...
- JavaScript的闭包
1. 什么是闭包 通俗地讲,JavaScript 中每个的函数都是一个闭包,但通常意义上嵌套的函数更能够体现出闭包的特性,请看下面这个例子: var generateClosure = functio ...
- 【译】Unity3D Shader 新手教程(3/6) —— 更加真实的积雪
本文为翻译,附上原文链接. 转载请注明出处--polobymulberry-博客园. 如果你满足以下条件,我建议你阅读这篇教程: 你想知道如何在表面着色器中进行混色(blend colour) 你想实 ...
- 解决js动态改变dom元素属性后页面及时渲染问题
今天实现一个进度条加载过程,dom结构其实就是两个div <div class="pbar"> <div class="ui-widget-header ...
- MVC5 网站开发之二 创建项目
昨天对项目的思路大致理了一下,今天先把解决方案建立起来.整个解决包含Ninesky.Web.Ninesky.Core,Ninesky.DataLibrary等3个项目.Ninesky.Web是web应 ...
- 使用TypeScript拓展你自己的VS Code!
0x00 前言 在前几天的美国纽约,微软举行了Connect(); //2015大会.通过这次大会,我们可以很高兴的看到微软的确变得更加开放也更加务实了.当然,会上放出了不少新产品和新功能,其中就包括 ...