2016年1月15日
摘要: 安装: yum list | grep expect yum install expect 参考:http://www.cnblogs.com/iloveyoucc/archive/2012/05/11/2496433.html [devops@p2p-haproxy hurl]$ cat ssh- 阅读全文
posted @ 2016-01-15 14:11 vlen 阅读(148) 评论(0) 推荐(0) 编辑
  2016年1月14日
摘要: 此脚本应用于生产环境下生成帐户,也可生成成百上千个密码相同的帐户。脚本代码如下: 批量生成: #!/bin/bash for name in tom jerry joe jane do useradd $name pwd=`cat /dev/urandom | tr -dc "a-zA-Z0-9"| 阅读全文
posted @ 2016-01-14 18:32 vlen 阅读(259) 评论(0) 推荐(0) 编辑
  2014年12月15日
摘要: 2014-11-14 数据提取 [query@query-server hurl]$ cat test.sh tlist=`cat ./username.txt`; for i in $tlist do TEMP_LIST=$i; # printf "$TEMP_LIST\n"; mongo --q 阅读全文
posted @ 2014-12-15 20:11 vlen 阅读(389) 评论(0) 推荐(0) 编辑
  2014年8月1日
摘要: Oracle VM VirtualBox使用的注意事项 Oracle VM VirtualBox 上克隆虚拟机 方法一 1.复制源虚拟里的 vdi 文件到新的目录 2.命令行进入 Oracle VM VirtualBox 的安装目录 运行 vboxmanage internalcommands se 阅读全文
posted @ 2014-08-01 15:54 vlen 阅读(696) 评论(0) 推荐(0) 编辑
  2014年6月22日
摘要: mysql-5.5 for linux源码安装 1.使用Yum安装依赖软件包 # yum install -y gcc gcc-c++ gcc-g77 autoconf automake bison zlib* fiex* \ libxml* ncurses-devel libmcrypt* lib 阅读全文
posted @ 2014-06-22 21:34 vlen 阅读(276) 评论(0) 推荐(0) 编辑
  2014年6月19日
摘要: Nginx 学习文档:http://www.cnblogs.com/zhoulf/archive/2013/02/09/2909653.html 下载地址:http://nginx.org/en/download.html 安装说明 系统环境:CentOS-6.5 软件:nginx-1.6.0.ta 阅读全文
posted @ 2014-06-19 22:35 vlen 阅读(166) 评论(0) 推荐(0) 编辑
  2014年6月18日
摘要: 默认情况下,ROOT用户不能以telnet方式连接Linux操作系统,而且也是不安全的.但从技术上来讲,是可以实现的. #mv /etc/securetty /etc/securetty.bak 保存并退出。 就可以使用ROOT用户以telnet方式登录Linux系统了。 阅读全文
posted @ 2014-06-18 23:05 vlen 阅读(322) 评论(0) 推荐(0) 编辑
摘要: ############ 1.安装网络yum ############ 2.安装createrepo [root@localhost ~]# yum install createrepo-0.9.8-5.el6.noarch.rpm Setting up Install Process Examin 阅读全文
posted @ 2014-06-18 22:16 vlen 阅读(232) 评论(0) 推荐(0) 编辑
  2014年2月20日
摘要: 安装: [root@localhost etc]# rpm -qa | grep nfs nfs-utils-lib-1.1.5-6.el6.i686 nfs4-acl-tools-0.3.3-6.el6.i686 nfs-utils-1.2.3-36.el6.i686 [root@localhos 阅读全文
posted @ 2014-02-20 14:42 vlen 阅读(221) 评论(0) 推荐(0) 编辑
  2013年12月4日
摘要: AIX 封闭root,只能使用su登录root用户,禁止root用户直接远程登陆. 1. 禁止telnet登录 smit chuser ->root ->User can login REMOTELY(rsh,tn,rlogin) =false *************************** 阅读全文
posted @ 2013-12-04 10:58 vlen 阅读(2186) 评论(0) 推荐(0) 编辑