摘要: What are Pyenv and Vitualenv? pyenv is a simple python version management tool. pyenv lets you easily switch between multiple versions of Python. Vitualenv is a tool to create isolated Python environm... 阅读全文
posted @ 2016-01-04 16:17 luckysimple 阅读(342) 评论(0) 推荐(0) 编辑
摘要: Terminator is a useful tool for arranging terminals. It has following features Arrange terminals in a grid Tabs Drag and drop re-ordering of terminals Lots of keyboard shortcuts Save multiple lay... 阅读全文
posted @ 2015-12-30 10:31 luckysimple 阅读(239) 评论(0) 推荐(0) 编辑
摘要: Making vim an IDE is an exiting thing. At first, make sure you have installed essential tools. Let’s take ubuntu as an example. vim: sudo apt-get install vim ctag: sudo apt-get install exuberant-cta... 阅读全文
posted @ 2015-12-28 20:11 luckysimple 阅读(367) 评论(0) 推荐(0) 编辑
摘要: Vim完全可以用键盘进行操作。本文将常用的按键归纳总结。 第一部分:一般模式可用的按钮,如光标移动、复制粘贴、查找替换等 移动光标的方法 h, j, k, l 光标向左,下,上,右移动 Ctrl + f / b 屏幕向下/上移动 Ctrl + d / u 屏幕向下/上移动半页 0 移动到一行的最前面 $ 移动到一行的最后面字符 H / M / L 移动到屏幕最上方/中央/最下方... 阅读全文
posted @ 2015-12-25 15:15 luckysimple 阅读(4952) 评论(0) 推荐(0) 编辑
摘要: Vundle is short for Vim bundle and is a Vim plugin manager. Vundle allows you to keep track of and configure your plugins right in the .vimrc install configured plugins (a.k.a. scripts/bundle) upda... 阅读全文
posted @ 2015-12-23 17:18 luckysimple 阅读(329) 评论(0) 推荐(0) 编辑
摘要: In computing, syslog is a widely used standard for message logging. It permits separation of the software that generates messages, the system that stores them, and the software that reports and analyz... 阅读全文
posted @ 2015-12-23 16:42 luckysimple 阅读(358) 评论(0) 推荐(0) 编辑
摘要: Linux文件的隐藏属性在保护系统文件的安全性上非常重要。先强调的是,chattr命令只能在Ext2/Ext3的文件系统生效。 chattr(设置文件的隐藏属性) [root@www ~]# chattr [+-=] [ASacdistu] File/Directory 参数 +:增加某个参数 -:删除某个参数 =:仅有后面接的参数 各个参数的意思 参数 含义 A 设置A属性后,若你访问... 阅读全文
posted @ 2015-12-22 17:25 luckysimple 阅读(6377) 评论(0) 推荐(0) 编辑
摘要: 当Linux系统出现问题时,查阅日志文件可以定位错误。 解决系统方面的错误 解决网络服务的问题 过往事件记录簿 日志文件产生所需的相关服务与进程 syslogd:主要登陆系统与网络等服务的信息; klogd:主要登陆内核产生的各项信息; logrotate:主要进行日志文件的轮替功能。 系统的日志文件默认都集中放在/var/log目录内,其中以messages记录的信息最多。 sysl... 阅读全文
posted @ 2015-12-22 16:35 luckysimple 阅读(283) 评论(0) 推荐(0) 编辑
摘要: Kernel API Logging within the kernel is performed using the printk function int printk( const char * fmt, ... ); The kernel code simply defines the log level as the first argument of the message, as i... 阅读全文
posted @ 2015-12-21 22:11 luckysimple 阅读(355) 评论(0) 推荐(0) 编辑
摘要: Data Plane Development Kit(DPDK) is a set of libraries and drivers for fast packet processing. It was designed to run on any processors. The first supported CPU was Intel x86 and it is now extended to... 阅读全文
posted @ 2015-12-21 17:06 luckysimple 阅读(257) 评论(0) 推荐(0) 编辑