01 2014 档案
摘要:api_url=192.168.1.4:12481#echo ${api_url/:/ }a#echo `echo $api_url|sed -i 's/:/ /' `#echo `cat 192.168.1.4:12481|sed -i 's/:/ /' `#sed 'as/:/ /'(sleep 1;)|telnet ${api_url/:/ }|cat #替换并检测数据str4=`(sleep 1;echo AA;sleep 1; echo 123; sleep 1; echo tail -f /aa/log/a.log;sleep 1)
阅读全文
摘要:FAILED: Error in metadata: MetaException(message:Got exception: org.apache.hadoop.ipc.RemoteException org.apache.hadoop.hdfs.server.namenode.SafeModeException: Cannot create directory /user/hive/warehouse/page_view. Name node is in safe mode.在安装hive mysql in hadoop 的时候报了错bin/hadoop dfsadmin -safemod
阅读全文
摘要:ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)ERROR 2013 (HY000): Lost connection to MySQL server during querybin/safe_mysqld --skip-grant-tables &>mysql -uroot //另打开一个shell,执行Mysql>use mysql //切换数据库为mysql>update user set password=pas
阅读全文
摘要:http://www.oracle.com/technetwork/java/javasebusiness/downloads/java-archive-downloads-javase6-419409.html这个地址下载jdk-6u45-linux-i586.bin执行./jdk-6u45-linux-i586.bin 安装的时候报了/lib/ld-linux.so.2: bad ELF interpreter: No such file or directory纠结了好久需要安装glibc.i686 yum install glibc.i686 这个要反复安多试几次解压出来是jdk1.6
阅读全文
摘要:1. 在ssh-client一边使用ssh-keygen生成一对rsa key $ssh-keygen -t rsa 2. 在ssh-client一边使用ssh-add将刚生成的private key加入到ssh agent中(旧配置方式没有这步哟) $ssh-add ~/.ssh/id_rsa 3
阅读全文
摘要:[jackluo@localhost .ssh]$ sudo groupadd git #创建 用户组[jackluo@localhost .ssh]$ sudo adduser --system --shell /bin/bash --group git #创建用户[jackluo@localhost .ssh]$ sudo adduser -G git ssh #把git 加入ssh 组
阅读全文
摘要:yum error requires: libtcmalloc.so.4rpm -Uvh http://ceph.com/rpm-cuttlefish/el6/x86_64/ceph-release-1-0.el6.noarch.rpmvim /etc/yum.repos.d/epel.repo把mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=epel-5&arch=$basearch改:mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=epel
阅读全文
摘要:[root@localhost workspace]# cd repos/[root@localhost repos]# ll总用量 4drwxr-xr-x 7 root root 4096 12月 30 20:34 hello-world.git[root@localhost repos]# git clone --bare hello-world.git hello-user1.git克隆到裸版本库 'hello-user1.git'...完成。[root@localhost repos]# git clone --bare hello-world.git hello-us
阅读全文
摘要:创建发布分支:(1) 软件hello-world的1.0发布版本库中有一个里程相对应./home/jackluo/workspace/user1/workspace/hello-worldgit tag -n1 -l v*(2)基于里程v1.0创建发布布hello-1.x. 注:使用了git checkout 命令创建分支,最后一个参数v1.0是新分支 hello-1.x创建的基准点,如果没有里程,使用提交ID也是一样[root@localhost hello-world]# git tag -n1 -l v*v1.0 Release 1.0[root@localhost...
阅读全文