会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Malphite
博客园
::
首页
::
新随笔
::
联系
::
订阅
::
管理
公告
上一页
1
···
7
8
9
10
11
12
13
14
15
···
19
下一页
2019年3月13日
tcpdump 交叉编译
摘要: 1下载源码:http://www.tcpdump.org/release/ libpcap-1.4.0.tar.gz tcpdump-4.4.0.tar.gz export PATH=/opt_gccarm/WMS-102-toolchain/bin/:$PATH; export CC=arm-li
阅读全文
posted @ 2019-03-13 14:11 Malphite
阅读(1229)
评论(0)
推荐(0)
2019年3月8日
学习
摘要: https://github.com/imhuay/Algorithm_Interview_Notes-Chinese rtmp
阅读全文
posted @ 2019-03-08 15:01 Malphite
阅读(174)
评论(0)
推荐(0)
2019年3月6日
Ubuntu下useradd与adduser区别
摘要: Ubuntu下useradd与adduser有所不同 1、useradd在使用该命令创建用户是不会在/home下自动创建与用户名同名的用户目录,而且不会自动选择shell版本,也没有设置密码,那么这个用户是不能登录的,需要使用passwd命令修改密码。 2、adduser在使用该命令创建用户是会在/
阅读全文
posted @ 2019-03-06 17:36 Malphite
阅读(425)
评论(0)
推荐(0)
rm: cannot remove ' xxx': Permission denied
摘要: 一般出现这个问题的原因是权限被改变了,使用chown 修改即可 可参考:chmod、chgrp、chown详解 linux chmod命令和chown命令
阅读全文
posted @ 2019-03-06 17:23 Malphite
阅读(10044)
评论(0)
推荐(0)
Ubuntu 将其他盘挂载到/home的子目录下
摘要: Ubuntu 14.04 将其他盘挂载到/home的子目录下当安装完Ubuntu系统,由于当时没有注意,分配的分区空间太小。经过一段时间安装了各式各样的软件后,常常会遇到/home目录下空间不够的情况,这时除了卸载软件以及重装系统以外,还有一个选择就是将其他盘挂载到/home的子目录下来。 下面介绍
阅读全文
posted @ 2019-03-06 15:57 Malphite
阅读(1182)
评论(0)
推荐(0)
2019年3月5日
Ubuntu 的 bash和dash的区别
摘要: 什么是bash ? Bash(GNU Bourne-Again Shell)是许多Linux平台的内定Shell,事实上,还有许多传统UNIX上用的Shell,像tcsh、csh、ash、bsh、ksh等等,Shell Script大致都类同,当您学会一种Shell以后,其它的Shell会很快就上手
阅读全文
posted @ 2019-03-05 15:46 Malphite
阅读(1417)
评论(0)
推荐(0)
2019年3月4日
ssh: connect to host gitlab.alpha.com port 22: Network is unreachable
摘要: 在这里只说明我遇到的问题和解决方法,可能并不能解决你遇到的问题: git clone git@gitlab.alpha.com:ipcam/ambarella.gitCloning into 'ambarella'...ssh: connect to host gitlab.alpha.com po
阅读全文
posted @ 2019-03-04 16:54 Malphite
阅读(5263)
评论(0)
推荐(0)
2019年2月26日
字符设备驱动框架
摘要: 字符设备驱动框架 #include <linux/init.h> //定义了module_init#include <linux/module.h> //最基本的头文件,其中定义了MODULE_LICENSE这一类宏#include <linux/fs.h> // file_operations结构
阅读全文
posted @ 2019-02-26 11:33 Malphite
阅读(414)
评论(0)
推荐(0)
2019年2月24日
linux do{} while(0)
摘要: do{}while(0) 在linux中,经常会看到do{}while(0)这样的语句,许多人开始都会疑惑,认为do{}while(0)毫无意义,因为它只会执行一次,加不加do{}while(0)效果是一样的,其实do{}while(0) 的用法主要在于宏定义中。 这里用一个简单的宏来演示: #de
阅读全文
posted @ 2019-02-24 19:22 Malphite
阅读(1430)
评论(0)
推荐(0)
2019年2月23日
rootfs 制作
摘要: 最小 根文件系统 (1)/dev/console(终端控制台, 提供标准输入、标准输出以及标准错误) /dev/null (表示空设备终端, 所有写到这个文件中的数据都会被丢弃掉。) (2)init进程的程序(也就是busybox,因为init程序位于busybox中,已经完成) (3)/etc/i
阅读全文
posted @ 2019-02-23 12:28 Malphite
阅读(1930)
评论(0)
推荐(0)
上一页
1
···
7
8
9
10
11
12
13
14
15
···
19
下一页