2019年6月20日

使用service命令管理linux服务

摘要: 使用service命令管理linux服务: 我们来看一下service的manual: DESCRIPTION service runs a System V init script or upstart job in as predictable environment as possi‐ ble 阅读全文

posted @ 2019-06-20 12:01 Alvin2012 阅读(138) 评论(0) 推荐(0)

使用busybox配置ftp server

摘要: 使用busybox配置ftp server: 1.在编译busybox时加入tcpsvd和ftpd 2.tcpsvd作用: Create TCP socket, bind to IP:PORT and listen for incoming connection. Run PROG for each 阅读全文

posted @ 2019-06-20 10:18 Alvin2012 阅读(1902) 评论(0) 推荐(0)

2019年6月19日

嵌入式linux上根文件系统中增加用户

摘要: 嵌入式linux上根文件系统中增加用户: 系统启动的时候会执行login, /bin/login是一个软连接,指向busybox,login->busybox 它会解析/etc/passwd和/etc/shadow文件,可以将PC机上的用户增加到嵌入式linux上的跟文件系统中的这两个文件中来。 注 阅读全文

posted @ 2019-06-19 20:07 Alvin2012 阅读(506) 评论(0) 推荐(0)

使用vsftpd部署ftp服务器

摘要: 使用vsftpd部署ftp服务器: 1.sudo mkdir /usr/share/empty 2.sudo mkdir -p /etc/vsftpd/userconf 3.sudo vi /etc/vsftpd/userconf/xxx 其中xxx为你的用户名 加入你的登录默认目录: 1 /hom 阅读全文

posted @ 2019-06-19 14:47 Alvin2012 阅读(444) 评论(0) 推荐(0)

vsftpd交叉编译

摘要: vsftpd交叉编译: 1.cd vsftpd-3.0.3 2.git df Makefile 3.make 阅读全文

posted @ 2019-06-19 14:41 Alvin2012 阅读(1398) 评论(0) 推荐(0)

2019年6月18日

vi: can't read user input

摘要: vi: can't read user input: 解决方法: 命令行输入:bash 阅读全文

posted @ 2019-06-18 17:02 Alvin2012 阅读(1199) 评论(0) 推荐(0)

2019年6月17日

wireless_tools交叉编译

摘要: wireless_tools交叉编译: 1.cd wireless_tools.29 2.mkdir __install 3.git df Makefile 4.make 5.make install 阅读全文

posted @ 2019-06-17 19:34 Alvin2012 阅读(701) 评论(0) 推荐(0)

wpa_supplicant交叉编译

摘要: wpa_supplicant交叉编译: 1.cd wpa_supplicant-0.7.3/wpa_supplicant 2.cp deconfig .config 3.vi .config 加上下面的内容: 4.make 阅读全文

posted @ 2019-06-17 09:42 Alvin2012 阅读(1446) 评论(0) 推荐(0)

.bashrc配置文件

摘要: 分享一下作者的.bashrc文件 阅读全文

posted @ 2019-06-17 09:33 Alvin2012 阅读(676) 评论(0) 推荐(0)

.gitconfig配置文件

摘要: git的配置文件分为三个层级: 1.对所有用户,位于/etc/gitconfig 2.对于当前用户,位于~/.gitconfig 3.对于该git仓,位于.git/config 建议配置当前用户的.gitconfig文件 分享一下作者的配置文件: 阅读全文

posted @ 2019-06-17 09:31 Alvin2012 阅读(4237) 评论(0) 推荐(1)

导航