当前位置: 首页 > 2011年6月发布的所有日志
  • linux 入侵监测工具 chkrootkit

    wget ftp://ftp.pangeia.com.br/pub/seg/pac/chkrootkit.tar.gz compile:make sensegcc -DHAVE_LASTLOG_H -o chklastlog chklastlog.cgcc -DHAVE_LASTLOG_H -o chkwtmp chkwtmp.cchkwtmp.c: In function ?.ain?.chkwtmp.c:95: warning: incompatible implicit declaration of built-in function ?.xit?gcc -DHAVE_LASTL ...

    阅读全文
    作者:u2 | 分类:OpenSource | 标签:
    linux 入侵监测工具 chkrootkit已关闭评论
  • Set Default Value on Shell

    #!/bin/sh# v_test.sh# by 2hei.net  06/22/2011##get param from command linefisr_param=$1second_param=$2 #set default value when nullfisr_param=${fisr_param:=”First”} second_param=${second_param:=”Second”} #print valuesprintf “fisr_param:\t”$fisr_param̶ ...

    阅读全文
    作者:u2 | 分类:shell | 标签:
    Set Default Value on Shell已关闭评论
  • ATA bus error SError: { PHYRdyChg DevExch }

    ATA bus error in /var/log/messages: SCSI device sdb: 490350672 512-byte hdwr sectors (251060 MB) sdb: Write Protect is off sdb: Mode Sense: 00 3a 00 00 SCSI device sdb: drive cache: write back ata1.00: exception Emask 0x10 SAct 0x0 SErr 0x4010000 action 0xe frozen ata1.00: irq_stat 0x00400040, ...

    阅读全文
    作者:u2 | 分类:linux | 标签:
    ATA bus error SError: { PHYRdyChg DevExch }已关闭评论
  • linux 环境变量中配置参数 use function but not use alias

    例子:使用两个参数匹配域名,其他部分自动补齐,减少键盘输入,然后ssh登陆到目的主机。 cat .bashrc  # .bashrc # Source global definitions if [ -f /etc/bashrc ]; then . /etc/bashrc fi # update the PATH export PATH=${PATH}:/usr/sbin:/sbin sss() {   ssh $1.$2.2hei.net } use: $sss t ...

    阅读全文
    作者:u2 | 分类:linux | 标签:
    linux 环境变量中配置参数 use function but not use alias已关闭评论
  • openvpn vnc java firefox on centos5

    1. yum install openvpnwget http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-4.noarch.rpmyum install epel-release-5-4.noarch.rpmyum intall openvpn vnp configs: 2hei.net.ovpn add:–script-security 2up “/etc/openvpn/update-resolv-conf up”down “/etc/openvpn/upd ...

    阅读全文
    作者:u2 | 分类:linux, OpenSource | 标签:, , ,
    openvpn vnc java firefox on centos5已关闭评论