出现下列异常:
/usr/bin/install -c -m 644 jconfig.h /usr/local/jpeg6/include/jconfig.h
/usr/bin/install: cannot create regular file `/usr/local/jpeg6/include/jconfig.h': No such file or directory
...
分类:
其他好文 时间:
2014-07-22 22:59:55
阅读次数:
893
环境:OS:Centos 6.5 x64 & Soft:Hadoop
1.2.11、查看当前块大小,默认64M。[huser@master hadoop-1.2.1]$ bin/hadoop fs -stat "%o"
./in/test1.txt671088642、修改hdfs-site.conf...
分类:
其他好文 时间:
2014-05-06 08:59:21
阅读次数:
368
需求是我们需要对服务器上的流量进行监控,网络上有个流传的check_traffic.sh,它需要被监控机开启snmp。但是感觉都使用上了nagios还要开snmp。。。有点斧子剪刀一起用的感觉,所以就动手写了个监控流量的shell:#!/bin/shusage()
{ echo "Usage: $0...
分类:
移动开发 时间:
2014-05-06 08:46:56
阅读次数:
361
安装freeglut。开始第一个opengl
程序1安装freeglut官网下载系统对应的版本。我这里是freeglut-MSVC-2.6.0-4.mp。windows版本。我的工具是win7,vs2012.配置:解压后有bin,lib,include。project-》properties-》Co...
分类:
其他好文 时间:
2014-05-06 01:07:48
阅读次数:
429
rsync客户端+inotify-tools1.1.1.12rsync服务器1.1.1.111.1.1.12配置[root@slave3wwwroot]#cat/etc/rsyncd-web.sh
#!/bin/bash
host1=1.1.1.11
src=/web/wwwroot/
dst1=web1
/usr/bin/inotifywait-mrq--timefmt‘%d/%m/%y%H:%M‘--format‘%T%w%f%e‘-emodify,delete,create,attrib..
分类:
其他好文 时间:
2014-05-03 01:08:22
阅读次数:
426
sed‘s/^/\//g‘4行首增加指定字符提取网页中的播放地址:#!/bin/bash
printf"enteryourdir:"
readdir
echo"$dirisxx"
cd$dir
echo`pwd`
forfilein`ls.`
do
if[-d$file];then
echo$file
cd$file
echo`pwd`
tree`pwd`|grepplay|sed‘s/.*//g‘>11
tree`pwd`|grepplay|sed‘s/.*//g..
分类:
其他好文 时间:
2014-05-03 00:53:15
阅读次数:
336
官网:https://sqlite.org/download.html
下载代码安装三步走:
./configure // ./configure --help查看安装参数设置,学习configure的配置,明白安装后include、lib、bin等文件的位置
make
make install
学习SQL基本语法,各个数据库基本相同http://www.w3cschool.cc...
分类:
数据库 时间:
2014-05-02 20:50:33
阅读次数:
412
/:根目录,一般根目录下只存放目录,不要存放文件/bin:可执行二进制文件的目录,如常用的命令ls、tar、mv、cat等/boot:放置linux系统启动时用到的一些文件/dev:存放linux系统下的设备文件,如挂载光驱:mount
/dev/cdrom /mnt/etc:系统配置文件存放的目录...
分类:
其他好文 时间:
2014-05-02 15:29:52
阅读次数:
503
Okay for centos 6.4 also On apu.0xdata.loc,
after this install was done$ which python /usr/local/bin/python$ python -VPython
2.7.3$ ls -ltr /usr/local...
分类:
编程语言 时间:
2014-05-02 12:53:59
阅读次数:
609
vimsendmail.pl#!/usr/bin/perl-wuseMIME::Lite;subperl_sendmail{my$mail_to="$_[0]";收件人邮箱my$from="$_[1]";发件人邮箱my$subject="$_[2]";邮件标题my$data="$_[3]";邮件内容$sendmail=MIME::Lite->new(From=>$from,To=>$mail_to,Subject=>$subject,Data=>..
分类:
其他好文 时间:
2014-05-02 03:00:15
阅读次数:
283