摘要:
#!/bin/bash HADOOP_SW=/home/hadoop/sa/sw if test ! -d ${HADOOP_SW};then mkdir -p ${HADOOP_SW} fi MYSQL_HOME=/usr/local/mysql MYSQL_HOME_VERSION=${MYSQL_HOME}-5.1.62 PHP_HOME=/usr/local/php PHP_HOME_VERSION=${PHP_HOME}-5.2.17cat >> /etc/profile<<EOF export HADOOP_SW=/home/hadoop/sa/sw exp 阅读全文
摘要:
fix:原因是改设备器类型之后日志文件名发生变化。 阅读全文
摘要:
[root@xxxxxxxx-xxxxx scribe]# echo "test message 3" | examples/scribe_cat -h localhost:1463 test [Fri Apr 20 14:52:09 2012] "[test] Creating new category from model default" [Fri Apr 20 14:52:09 2012] "store thread starting" [Fri Apr 20 14:52:09 2012] "[hdfs] Conne 阅读全文
摘要:
libjvm.so => not found libhdfs.so.0 => not foundupdatedb && locate libjvm.so更新还是不好使。动态链接库除了通过ldconfig配置缓存,还有一部分是通过特定环境变量来查找。. /etc/profileexport LD_LIBRARY_PATH=$JAVA_HOME/jre/lib/$OS_ARCH/server:${HADOOP_HOME}/build/c++/Linux-$OS_ARCH-$OS_BIT/lib:/usr/local/lib:/usr/lib 阅读全文
摘要:
参考 :https://www.isc.org/faq/item/1821. 编译安装bind./configure --prefix=/usr/local/bind --enable-threads --disable-openssl-version-check && make && make install2. 主节点生成key并scp至从节点/usr/local/bind/sbin/rndc-confgen -s 127.0.0.1 -r /dev/urandom > rndc.confecho "aaa" > aaaech 阅读全文