1. sudo apt-get install xinetd telnetd2. sudo vim /etc/xinetd.conf并加入以下内容进行下一步的Ubuntu Linux telnet设置: # Simple configuration file for xinetd # # So...
分类:
Web程序 时间:
2014-07-23 11:30:56
阅读次数:
296
shell脚本报错:"[:=:unaryoperatorexpected"md5_109a="81ab961153b62d207f0f517048881b5d"md5_109b=`md5suminstall.bin|awk‘{print$1}‘`if[$md5_109a!=$md5_109b]原因,当文件install.bin不存在时,$md5_109b为空这样对比字符串就变成了if[81ab961153b62d207f0f517048881b5d!..
分类:
其他好文 时间:
2014-07-23 00:20:38
阅读次数:
211
今天更新Android4.4W 版本SDK,更新完后顺便更新ADT,结果更新后报错,导致SDK不能用.出现类似以下的报错:
Android Native Development Tools is already installed, so an update will be performed instead.
Cannot complete the install because one...
分类:
移动开发 时间:
2014-07-23 00:07:17
阅读次数:
348
安装好Debian后,默认只有su命令可用,还不能使用sudo如果没有安装sudo,则在root用户下apt-get install sudo设置sudoers配制文件vim /etc/sudoers在root的下一行添加一行username ALL=(ALL) ALL #其中use...
分类:
其他好文 时间:
2014-07-22 23:38:57
阅读次数:
337
1、安装manpages-zh包sudo apt-get install manpages-zh2、修改manpath文件执行如下命令:vi /etc/manpath.config%s+/usr/share/man+/usr/share/man/zh_CN3、测试man ifconfig
分类:
其他好文 时间:
2014-07-22 23:26:27
阅读次数:
179
brew install libevent$ export CFLAGS="-I /usr/local/Cellar/libevent/2.0.21/include -L /usr/local/Cellar/libevent/2.0.21/lib"
分类:
其他好文 时间:
2014-07-22 22:50:12
阅读次数:
215
Mac OS X 程序员利器 – Homebrew安装与使用Homebrew安装与使用什么是Homebrew?Homebrew is the easiest and most flexible way to install the UNIX tools Apple didn’t include wi...
分类:
其他好文 时间:
2014-07-22 22:36:36
阅读次数:
217
1. 准备工作切换为管理员权限,sudo –i 输入用户密码 进入root 权限apt-get install build-essential kernel-package libncurses5-dev libqt3-headersbuild-essential (基本的编程库(gcc, make...
分类:
系统相关 时间:
2014-07-22 22:35:36
阅读次数:
293
查看二进制有以下几种方法:方法一:hexdumpapt-get install libdata-hexdumper-perl安装好之后就可以直接hexdump your_binary_file也可以直接使用hd命令来代替hexdump如果想要慢慢看 : hd your_binary_file | m...
分类:
系统相关 时间:
2014-07-22 22:35:12
阅读次数:
186
yum-yinstallqemu-kvmqemu-imglibvirtvirt-installbridge-utilslsmod|grepkvmsystemctlstartlibvirtdsystemctlenablelibvirtd
分类:
其他好文 时间:
2014-07-22 18:10:02
阅读次数:
165