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. ...
随机推荐
- 在 Linux 中使用搜狗拼音输入法以及搞定 Flash 和支付宝
在 Ubuntu 中安装搜狗输入法 在 Ubuntu Kylin 系统中,默认安装搜狗拼音输入法,但是在原生 Ubuntu 系统中则不是.这可以理解,毕竟搜狗输入法的 Linux 版有 Kylin 团 ...
- 使用R画地图数据
用R画地图数据 首先,从这里下载中国地图的GIS数据,这是一个压缩包,完全解压后包含三个文件(bou2_4p.dbf.bou2_4p.shp和bou2_4p.shx),将这三个文件解压到同一个目录下. ...
- Math.abs()方法 取绝对值
定义和用法 abs() 方法可返回数的绝对值. 语法 Math.abs(x) 参数 描述 x 必需.必须是一个数值. 返回值 x 的绝对值. 实例 在本例中,我将取得正数和负数的绝对值: <sc ...
- JavaScript随笔2
JavaScript的组成:ECMA.DOM.BOM闭包,子函数可以使用父函数的局部变量 函数:arguments是个参数数组oDiv.style.width:只能操作行间的样式.在IE下oDiv.c ...
- PHP 高级编程(4/5) - SPL异常类之 LogicException 逻辑异常
SPL 提供了一系列标准异常.日常的使用中我们应该根据需求科学的使用它们,来使我们的程序更加健壮.LogicException 是从 Exception 基类派生的,没有添加任何附加方法.抛出逻辑异常 ...
- Android随笔之——Android时间、日期相关类和方法
今天要讲的是Android里关于时间.日期相关类和方法.在Android中,跟时间.日期有关的类主要有Time.Calendar.Date三个类.而与日期格式化输出有关的DateFormat和Simp ...
- MySQL binlog中的事件类型
MySQL binlog记录的所有操作实际上都有对应的事件类型的,譬如STATEMENT格式中的DML操作对应的是QUERY_EVENT类型,ROW格式下的DML操作对应的是ROWS_EVENT类型. ...
- ASP.NET Core 中文文档 第二章 指南(4.4)添加 Model
原文:Adding a model 作者:Rick Anderson 翻译:娄宇(Lyrics) 校对:许登洋(Seay).孟帅洋(书缘).姚阿勇(Mr.Yao).夏申斌 在这一节里,你将添加一些类来 ...
- 安装nodejs express框架时express命令行无效
我也是看了这篇才明白.http://jingyan.baidu.com/article/922554468a3466851648f419.html 最近在看一本书,nodejs开发指南.至于出现这个问 ...
- [Spring]01_环境配置
)在资源库界面点击Artifacts标签,然后点击libs-release-local,展开后依次点击org -> springframework -> spring.