代码改变世界

linux 内核模块ko入门

2016-01-06 21:17 by youxin, 1256 阅读, 0 推荐, 收藏,
摘要:http://blog.csdn.net/elfylin/article/details/5908265 阅读全文

linux 命令之 insmod

2016-01-06 21:10 by youxin, 1568 阅读, 0 推荐, 收藏,
摘要:man insmod:INSMOD(8) insmod INSMOD(8)NAME insmod - Simple program to insert a module into the Linux KernelSYNOPSIS insmod [filename] [modu... 阅读全文

常用linux shell脚本记录

2015-12-30 21:05 by youxin, 630 阅读, 0 推荐, 收藏,
摘要:遍历目录下所有的文件是目录还是文件 for file in ./* do if test -f $file then echo $file 是文件 fi if test -d $file then echo $file 是目录 fi done filelist=`ls ./proto` echo $ 阅读全文

SCons构建工具使用

2015-12-30 12:04 by youxin, 3544 阅读, 0 推荐, 收藏,
摘要:scons是一个Python写的自动化构建工具,和GNU make相比优点明显: 1、移植性:python能运行的地方,就能运行scons 2、扩展性:理论上scons只是提供了python的类,scons使用者可以在这个类的基础上做所有python能做的事情。比如想把一个已经使用了Makefi... 阅读全文

mysql源码编译安装

2015-12-29 20:58 by youxin, 679 阅读, 0 推荐, 收藏,
摘要:首先去官网http://dev.mysql.com/downloads/mysql/ 下载mysql源码。我下的是5.7.10 源码选择的是 Generic Linux (Architecture Independent), Compressed TAR Archive 安装cmake(mysql5 阅读全文

gcc报错 can not be used when making a shared object; recompile with -fPIC

2015-12-29 20:13 by youxin, 19291 阅读, 0 推荐, 收藏,
摘要:使用google protobuf时,出现错误/usr/bin/ld: /usr/local/lib/libprotobuf.a(message_lite.o): relocation R_X86_64_32S against `_ZTVN6google8protobuf11MessageLiteE... 阅读全文

redis error MISCONF Redis is configured to save RDB snapshots

2015-12-28 16:11 by youxin, 324 阅读, 0 推荐, 收藏,
摘要:在操作命令incr时发生错误:(error) MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on disk. Commands that may modify the d... 阅读全文

linux rsync安装与使用

2015-12-24 23:29 by youxin, 1145 阅读, 0 推荐, 收藏,
摘要:rsync Usage: /etc/init.d/rsync {start|stop|reload|force-reload|restart|status} rsync默认配置文件 # defaults file for rsync daemon mode # start rsync in daem 阅读全文

linux磁盘空间使用问题

2015-12-24 20:36 by youxin, 1286 阅读, 0 推荐, 收藏,
摘要:linux磁盘空间用满的处理方法linux下空间满可能有两种情况可以通过命令df -h 查看磁盘空间占用,实际上是查看磁盘块占用的文件(block)df -i 查看索引节点的占用(Inodes)磁盘块和索引节点其中之一满,都会导致无法创建文件,提示磁盘空间已满。所以请注意,查看磁盘还有空间,但是创建... 阅读全文

linux创建新用户后shell无法自动补全命令或使用基本的shell命令

2015-12-24 20:11 by youxin, 2105 阅读, 0 推荐, 收藏,
摘要:新建一用户lqding,切换到该用户下root@lqding:~# su - lqding$$ echo $USERlqding$ ^[[A提示符仅仅是一个$,很奇怪。输入命令,用TAB键也无法补全命令。并且没有命令历史功能。看样子不光是$PS1这个环境变量的原因。使用root用户查看passwd文... 阅读全文
上一页 1 ··· 36 37 38 39 40 41 42 43 44 ··· 269 下一页