安装ansible只需要将管理节点安装ansible,被管理节点不需要安装但如果使用yum安装的话,必须配置epel源rpm-Uvhhttp://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpmrpm-import/etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6安装依赖关系包yum-yinstallpython-de..
分类:
其他好文 时间:
2014-05-27 04:15:39
阅读次数:
996
以下是对NUMA和cgroup的初次实践分享,仅供参考。详细介绍请参考:https://access.redhat.com/site/documentation/zh-CN/Red_Hat_Enterprise_Linux/6/html/Resource_Management_Guide/一、线上程序现象最近在不少os6.4的系统上发现机器负载较大,部分cpu使用率很高,但部分cpu..
分类:
其他好文 时间:
2014-05-27 03:56:17
阅读次数:
370
#!/bin/bash
process=8
PWD=`pwd`
DAT=`date`
ftpip="192.168.1.1"
user="ftp_username"
password="ftp_password"
local_dir="/home/"
getlist()
{
ftp-n$ftpip<<EOF|awk‘{print$9}‘|sed‘/^$/d‘>$PWD/list
user$user$password
cdfile/
dir
bye
EOF
}
copy()
{
if[-f$P..
分类:
系统相关 时间:
2014-05-27 03:55:34
阅读次数:
378
ThedirectoryserverssupportedforusewithRedHatEnterpriseVirtualization3.3are:ActiveDirectoryIdentityManagement(IDM)RedHatDirectoryServer9(RHDS9)OpenLDAPFromthisarticle,you‘lllearnfollowing:HowtosetupmasterIPAHowtosetupslaveIPAHowtoattachadirectoryservertotheR..
分类:
其他好文 时间:
2014-05-27 03:49:52
阅读次数:
368
mount-tcifs-ousername=administrator,password=123//$IP//mnt
using System;using System.Collections.Generic;using
System.Linq;using System.Text;using System.Management;using
System.Threading.Tasks;namespace TaskT...
分类:
编程语言 时间:
2014-05-23 08:40:04
阅读次数:
413
三层已经学了一些时间了,开始觉得自己可以用C#写程序了,就用C#写了一个实现登陆的,真正再用在机房中,还是觉得很吃力的,所以,决定用vb.net敲了。下面是我用vb.net实现的登陆,可以给大家做一些参考。
这是构架的三层
数据库中的表T_User_DAL:UserI,Level,Password,Head,computer
首先看一下...
分类:
Web程序 时间:
2014-05-22 08:10:55
阅读次数:
319
今天想对exchange启用Disable-mailbox这个命令,怎么都不行,没有这个命令,于是通过网络查找可以使用如下方法,找到那个管理单元的名称了Exchange2007Add-PSSnapinMicrosoft.Exchange.Management.PowerShell.AdminExchange2010Add-PSSnapinMicrosoft.Exchange.Management.Powe..
分类:
其他好文 时间:
2014-05-21 00:40:57
阅读次数:
359
mysqlreport是www.hackmysql.com开发的一款基于perl语言编写的状态报告工具。它将showstatus和showinnodbstatus的输出结果进行处理,使得输出信息的可读性更高。由于是perl编写的脚本,所以需要先安装perl环境,再与mysql数据库连接,因此还需要安装数据库接口DBI和数据库驱动D..
分类:
数据库 时间:
2014-05-20 22:57:52
阅读次数:
520
http://note.youdao.com/share/?id=0f3b39a6c3e0d5363076729662d164a3&type=note一、简单网络管理协议(SNMP,Simple
Network Management Protocol)构成了互联网工程工作小组(IETF,Intern...
分类:
移动开发 时间:
2014-05-20 10:49:00
阅读次数:
363