摘要: useradd linc -m -s /bin/bash 添加sudoers su - vim /etc/sudoers # Allow members of group sudo to execute any command%sudo ALL=(ALL:ALL) ALLrzx ALL=(ALL) 阅读全文
posted @ 2020-02-29 12:35 rrrzx 阅读(172) 评论(0) 推荐(0) 编辑
摘要: 下载源码包iperf-2.0.13.tar.gz解压 $ tar -vxf iperf-2.0.13.tar.gz$ cd iperf-2.0.13/ 配置交叉编译器(根据交错编译器的安装位置进行更改)。 $ PATH=${PATH}:/usr/local/gcc-linaro-4.9.4-2017 阅读全文
posted @ 2020-02-08 21:27 rrrzx 阅读(388) 评论(0) 推荐(0) 编辑
摘要: 问题很奇怪,ping不通主机,但是在uboot中使用tftp下载内核却能使用,但是会在开始时卡顿几秒钟,因为强迫症所以就仔细检测了一番。 开发版和host通过路由器相连,所以首先尝试ping连接此路由器的其他设备,发现可以ping通,所以连接应该没问题。 当初为了方便,在路由器中设置了静态ip,就是 阅读全文
posted @ 2020-02-06 14:46 rrrzx 阅读(1109) 评论(0) 推荐(0) 编辑
摘要: 确认host端的nfs支持的版本,使用命令nfsstat查看 rzx@rzx-desktop:~$ nfsstatServer rpc stats:calls badcalls badfmt badauth badclnt12242 41 41 0 0 Server nfs v3:null geta 阅读全文
posted @ 2020-02-05 18:23 rrrzx 阅读(3202) 评论(0) 推荐(0) 编辑
摘要: host为ubuntu16.04 下载相关工具 $ sudo apt-get install automake bison chrpath flex g++ git gperf \ gawk libexpat1-dev libncurses5-dev libsdl1.2-dev libtool \ 阅读全文
posted @ 2020-01-27 13:35 rrrzx 阅读(540) 评论(0) 推荐(0) 编辑
摘要: 使用前需要安装google的repo工具。 $ mkdir ~/bin $ curl http://commondatastorage.googleapis.com/git-repo-downloads/repo > ~/bin/repo $ chmod a+x ~/bin/repo $ PATH= 阅读全文
posted @ 2020-01-22 22:33 rrrzx 阅读(331) 评论(0) 推荐(0) 编辑
摘要: 使用yocto构建的linux kernel使用systemd,不需要在bootcmd中写入init=/linuxrc 阅读全文
posted @ 2020-01-20 21:03 rrrzx 阅读(143) 评论(0) 推荐(0) 编辑
摘要: git clone https://github.com/xzymoe/gfwlist2privoxy.git 给ssr执行权限后,放入/usr/local/bin ssr install ssr config 安装privoxy 修改配置文件/etc/privoxy/config 把这一行注释掉l 阅读全文
posted @ 2020-01-16 15:02 rrrzx 阅读(146) 评论(0) 推荐(0) 编辑
摘要: 虚拟机安装在C盘固态盘,空间不够了,打算在把虚拟磁盘文件放到机械盘 一路默认下来磁盘文件一直存放在C盘的安装目录下,需要在最后一步手动改文件路径 需要手动加上盘符F:\就可以成功创建。 启动虚拟机后就可以在/dev下看到新增的sd*,我的是/dev/sdb 使用fdisk创建分区 fdisk /de 阅读全文
posted @ 2020-01-13 16:59 rrrzx 阅读(183) 评论(0) 推荐(0) 编辑
摘要: 刚在咸鱼买了块开发板,比较老了14年的,SOC为imx6solo,内核3.10,uboot2009的,准备先移植一个较新的uboot 到nxp的git下获取他们维护的uboot,网址http://git.freescale.com/git/cgit.cgi/imx/uboot-imx.git 选择i 阅读全文
posted @ 2019-11-22 21:14 rrrzx 阅读(993) 评论(5) 推荐(0) 编辑