当前位置: 首页 > u2发布的所有日志
  • ubuntu编译xen报缺少iasl的处理

    解决办法是先编译好iasl,copy到$PATH中。 wget http://acpica.org/download/acpica-unix-20110922.tar.gztar zxvf acpica-unix-20110922.tar.gzcd acpica-unix-20110922/compilermakecp iasl /usr/bin 接下来可以顺利的编译通过xen了。wget http://bits.xensource.com/oss-xen/release/4.1.2/xen-4.1.2.tar.gz$ tar zx ...

    阅读全文
    作者:u2 | 分类:ubuntu | 标签:,
    ubuntu编译xen报缺少iasl的处理已关闭评论
  • BUG of kickstart config file of Ubuntu

    利用RHEL的kickstart安装ubuntu,通过已有的一台ubuntu的kickstart工具生成了cfg文件,结果中看不中用,clearpart不起作用,无法完全的无人值守安装,因为无法自动删除raid和lvm,所以安装的时候只好把设定好的raid及分区部分注释掉,然后通过文本安装页面进行配置。另外openssh-server也木有安装好,只能通过console手 ...

    阅读全文
    作者:u2 | 分类:OpenSource | 标签:,
    BUG of kickstart config file of Ubuntu已关闭评论
  • pexpect Timeout exceeded in read_nonblocking()

    gg resolve from bbs:vi /usr/lib/python2.6/site-packages/pxssh.py#add line 134,135:    123     def synch_original_prompt (self):    124     125         “””This attempts to fi ...

    阅读全文
    作者:u2 | 分类:python
    pexpect Timeout exceeded in read_nonblocking()已关闭评论
  • Linux Keyboard shortcut keys

    CTRL + C    Cancels the currently running command.CTRL + D    Logs out of the current session.CTRL + Z    Cancels current operation, moves back a directory or takes the current operation and moves it to the background. CTRL + A    Move ...

    阅读全文
    作者:u2 | 分类:linux | 标签:
    Linux Keyboard shortcut keys已关闭评论
  • nice linux

    Just a mark: nice -n 19 nice 19 sudo nice -n -20 nice -20 ————- $man nice NICE(1)                          User Commands                         N ...

    阅读全文
    作者:u2 | 分类:linux
    nice linux已关闭评论
  • reset low speed USB device using ehci_hcd

    dmesg has such logs: usb 1-5.1: reset low speed USB device using ehci_hcd and address 4 usb 1-5.1: reset low speed USB device using ehci_hcd and address 4 usb 1-5.1: reset low speed USB device using ehci_hcd and address 4 usb 1-5.1: reset low speed USB device using ehci_hcd and address 4 usb 1-5 ...

    阅读全文
    作者:u2 | 分类:linux
    reset low speed USB device using ehci_hcd已关闭评论
  • Linux will keep /tmp files for 10 days by default

    For files in /tmp directory, linux has cron at /etc/cron.daily to deal with:[2hei.net cron.daily]$ cat tmpwatch flags=-umc/usr/sbin/tmpwatch “$flags” -x /tmp/.X11-unix -x /tmp/.XIM-unix \    -x /tmp/.font-unix -x /tmp/.ICE-unix -x /tmp/.Test-unix 240 /tmp/usr/sbin/tmpw ...

    阅读全文
    作者:u2 | 分类:linux | 标签:
    Linux will keep /tmp files for 10 days by default已关闭评论
  • 从源码编译rpm,安装升级 openssl及openssh 最新版本

    当前版本:$ ssh -VOpenSSH_4.3p2, OpenSSL 0.9.8e-fips-rhel5 01 Jul 2008目标版本:openssh-5.8p2.tar.gzopenssl-0.9.8r.tar.gz compile and upgrade openssl-0.9.8rwget http://www.openssl.org/source/openssl-0.9.8r.tar.gztar zxvf openssl-0.9.8r.tar.gzmkdir -p /usr/src/redhat/SPECS/mkdir -p /usr/src/redha ...

    阅读全文
    作者:u2 | 分类:OpenSource | 标签:,
    从源码编译rpm,安装升级 openssl及openssh 最新版本已关闭评论
  • cassandra cluster install and configuration

    1) Install http://labs.renren.com/apache-mirror/cassandra/0.7.6-2/apache-cassandra-0.7.6-2-bin.tar.gz(apache官网推荐人人的mirror,不过link有问题 ^_^)   * tar -zxvf apache-cassandra-$VERSION.tar.gz  * cd apache-cassandra-$VERSION  * sudo mkdir -p /var/log/cassandra  * sudo cho ...

    阅读全文
    作者:u2 | 分类:OpenSource
    cassandra cluster install and configuration已关闭评论