摘要:edit file :/etc/vim/vimrc.tinyset compatible -> set nocompatibleor install vim
阅读全文
摘要:edit file :/etc/apt/sources.listadd:deb http://mirrors.163.com/ubuntu/ intrepid main restricted universe multiversedeb http://mirrors.163.com/ubuntu/ ...
阅读全文
摘要:假定服务器ip为192.168.1.139,ssh服务的端口号为22,服务器上有个用户为pi,两边都是ubuntu。ssh_config和sshd_config都是ssh服务器的配置文件,二者区别在于,前者是针对客户端的配置文件,后者则是针对服务端的配置文件转自: http://blog.lices...
阅读全文
摘要:假定服务器ip为192.168.1.139,ssh服务的端口号为22,服务器上有个用户为pi,两边都是ubuntu一,Init*安装如果是想用ssh从本机登陆别的机器,只需要安装openssh-client如果要使本机开放ssh服务就需要安装openssh-server偷个懒两个都安装了:$ sud...
阅读全文
摘要:reference:http://wiringpi.com/reference/setup/There are four ways to initialisewiringPi.wiringPi库提供了四种方法(函数)用来初始化wiringPi。int wiringPiSetup (void) ;in...
阅读全文
摘要:reference:https://projects.drogon.net/raspberry-pi/wiringpi/functions/Functions (API)Some of the functions in theWiringPilibrary are designed to mimic...
阅读全文