问题描述:是这样,有2个老用户,wangdong@abc.com和wang@abc.com。现在把wangdong这个用户删掉,给wang这个用户增加一个smtp地址:wangdong@abc.com,然后我用outlook客户端新建邮件,输入wangdong@abc.com,outlook客户端自动给我解析成一个中文名“王东”,我无法修改,点击..
分类:
其他好文 时间:
2016-03-16 01:47:40
阅读次数:
329
前言:libvirt和qemu在centos6的版本太老,需要升级一、libvirtrpm安装,相关包可以去附件下载。另外,老外已经做了个repo源,直接用也可以。https://copr.fedorainfracloud.org/coprs/mclarkson/libvirt-1.2.18/curl-o/etc/yum.repos.d/libvirt-1.2.18.repohttps://copr.fed..
分类:
其他好文 时间:
2016-03-16 01:46:22
阅读次数:
742
一台服务器安装邮箱服务器角色和客户端访问角色1、准备ADhttps://technet.microsoft.com/zh-cn/library/bb125224(v=exchg.150).aspx扩展ActiveDirectory架构.\Setup.exe/PrepareSchema/IAcceptExchangeServerLicenseTerms准备ActiveDirectory.\Setup.exe/PrepareAD/Organizatio..
分类:
其他好文 时间:
2016-03-16 01:46:33
阅读次数:
258
在KVM中克隆出新的CentOS虚拟机时,出现如下问题:#servicenetworkrestartShuttingdownloopbackinsterface:[OK]Bringinguploopbackinsterface:[OK]Bringingupinterfaceeth0:Deviceeth0doesnotseemtobepresent,delayinginitialization.[FAILED]用ifconfig查看发现缺少eth0,只有..
分类:
其他好文 时间:
2016-03-16 01:46:11
阅读次数:
120
最近在做VMwareESX虚拟机的实验,交换机上ping230不通,但是就是Error,someotherhostalreadyusesaddress61.8.168.230.,最后通过google找出一个方法,但是前提是真没这个IP。编辑/etc/sysconfig/network-scripts/ifup-eth,将(注:RHEL5.3)if!arping-q-c2-w3-D-I${REALDEVICE}${..
分类:
其他好文 时间:
2016-03-16 01:45:40
阅读次数:
175
Nginx配置参数中文说明。#定义Nginx运行的用户和用户组userwwwwww;#nginx进程数,建议设置为等于CPU总核心数。worker_processes8;#全局错误日志定义类型,[debug|info|notice|warn|error|crit]error_log/var/log/nginx/error.loginfo;#进程文件pid/var/run/nginx.pid;#一个ngin..
分类:
其他好文 时间:
2016-03-16 01:43:45
阅读次数:
211
一、服务器配置1、软件包选择:全不选,安装最小化的系统,不安装图形界面2、root密码:必须超过8位,并且有符号和字母数字。3、精简服务:关掉以下服务项kudzucpuspeedisdnportmapnfslockrpcidmapdrpcgssdbluetoothnetfspcscdapmdhiddautofshplipcupsgpmxfsavahi-daemonyum-up..
分类:
其他好文 时间:
2016-03-16 01:41:18
阅读次数:
171
ping:unknownhost解决办法如果ping命令返回如下错误,那主要的可能性就是系统的DNS设置有误。[cpp][root@CentOS5~]#pingwww.sina.com.cnping:unknownhostwww.sina.com.cn可以通过如下方法来解决,此方法已经在linux和solaris系统下通过验证。1)确定设置了域名服务器没有的话,建..
分类:
其他好文 时间:
2016-03-16 01:41:37
阅读次数:
195
keepalived既可以作为HA热备,也能作健康检查。1,安装keepalived2,把配置文件复制到/etc/keepalived/路径下,cp/usr/share/doc/keepalived/examples/ldirectord.conf.example/etc/keepalived/keepalived.conf3,修改配置文件global_defs{notification_email{#指定keepalived..
分类:
其他好文 时间:
2016-03-16 01:43:38
阅读次数:
206
time="2015-02-10T15:26:08+08:00"level="info"msg="+jobserveapi(unix:///var/run/docker.sock)"time="2015-02-10T15:26:08+08:00"level="info"msg="WARNING:Youarerunninglinuxkernelversion2.6.32-431.el6.x86_64,whichmightbeunstablerunningdocker.Pleaseupgradeyourkerne..
分类:
其他好文 时间:
2016-03-16 01:42:09
阅读次数:
160
提示错误:ReceivedemptyresponsefromZabbixAgentat[192.168.1.110].Assumingthatagentdroppedconnectionbecauseofaccesspermissio解决方法:在客户端vim/etc/zabbix_agentd.conf修改Server=192.168.1.130(服务器地址)
分类:
其他好文 时间:
2016-03-16 01:40:03
阅读次数:
176
Givenanarrayofintegers,findoutwhethertherearetwodistinctindicesiandjinthearraysuchthatthedifferencebetweennums[i]andnums[j]isatmosttandthedifferencebetweeniandjisatmostk.解法:这里的t,k均是大于0的,用set保存当前位置前边的k个位置的数据,A:nums[i]set中的某个..
分类:
其他好文 时间:
2016-03-16 01:41:35
阅读次数:
142
一门计算机语言如果想要运用的得心应手,离不开长久的练习,针对C语言的用法,下面主要是用C语言来解决注释转换的问题,C语言中注释是以”/*”开始,以”*/”结束,C++语言中可以通过”//”来注释,这里不考虑C++语言向下兼容C语言的特点,主要是想将”/**/”注释符转换为”//..
分类:
其他好文 时间:
2016-03-16 01:39:20
阅读次数:
184
关于ngx_p_w_picpath_thumb是nginx中用来生成缩略图的模块,生存缩略图的方法很多,之前也写过一篇《nginx生成缩略图配置-ttlsa教程系列之nginx》,在github上发现国人开发的一款模块,作者的文档写的很详细,我便照搬过来了。以后将做一个测试.特性本nginx模块主要功能是对请..
分类:
其他好文 时间:
2016-03-16 01:37:50
阅读次数:
319
gitinit命令将当前目录创建为版本仓库,该命令运行之后会在当前目录下生产一个.git的目录gitaddxxx为仓库添加文件gitcommit-m"xxxx"将文件提交到版本库第一次提交的时候可能需要配置邮箱和姓名gitconfig--globaluser.email"xxx@126.com"gitconfig--globaluser.name"你的名字"使..
分类:
其他好文 时间:
2016-03-16 01:37:22
阅读次数:
219
语句操作:https://help.aliyun.com/document_detail/odps/SQL/ddl.htmlodps客户端:https://help.aliyun.com/document_detail/odps/tools/console/console.html?spm=5176.product8314999_odps.6.243.h3NEQt在客户端可以查看运行的任务情况:showpfromdate1todate2number,eg:..
分类:
其他好文 时间:
2016-03-16 01:38:44
阅读次数:
196
<!DOCTYPEhtmlPUBLIC"-//W3C//DTDXHTML1.0Transitional//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<htmlxmlns="http://www.w3.org/1999/xhtml">
<head>
<title>
div中的内容垂直居中实例
</title>
<metaname="genera..
分类:
其他好文 时间:
2016-03-16 01:38:28
阅读次数:
192