首页 > 其他
Azure站点恢复之----VMM 站点到ASR
在前一篇文章中写到了如何将Hyper-v站点(无SCVMM)复制到ASR(AzureSiteRecovery),但是在很多的私有云环境中,VMM是不可缺少的管理工具,可以比Hyper-v管理器更全面,方便的管理Hyper-v的环境,所以这篇文章中会介绍到如何注册了VMM的Hyper-v环境中启用AzureSiteRecovery实现..
分类:其他   时间:2016-03-16 01:46:17    收藏:0  评论:0  赞:0  阅读:207
219. Contains Duplicate II
Givenanarrayofintegersandanintegerk,findoutwhethertherearetwodistinctindicesiandjinthearraysuchthatnums[i]=nums[j]andthedifferencebetweeniandjisatmostk.解题思路:用一个表,记录扫描过程中,每个数字出现的最近一次位置,则当前位置和最近位置的差小于k时返回true,..
分类:其他   时间:2016-03-16 01:45:47    收藏:0  评论:0  赞:0  阅读:142
为用户添加了被删用户的smtp地址,作为备用smtp地址之后发送邮件不可达
问题描述:是这样,有2个老用户,wangdong@abc.com和wang@abc.com。现在把wangdong这个用户删掉,给wang这个用户增加一个smtp地址:wangdong@abc.com,然后我用outlook客户端新建邮件,输入wangdong@abc.com,outlook客户端自动给我解析成一个中文名“王东”,我无法修改,点击..
分类:其他   时间:2016-03-16 01:45:37    收藏:0  评论:0  赞:0  阅读:644
centos6 升级libvirt qemu
前言: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:45:27    收藏:0  评论:0  赞:0  阅读:284
Exchange Server 2013安装(为和Lync Server 2013集成做准备)
一台服务器安装邮箱服务器角色和客户端访问角色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:45:07    收藏:0  评论:0  赞:0  阅读:341
视图中如何使用rowid字段
在oracle数据库中,创建视图不会生成对应的rowid,只会生成伪列rownum;在视图中直接使用selectrowidfrom视图1会直接发生报错“ORA-01446:无法使用DISTINCT,GROUPBY等子句从视图中选择ROWID或采样”;只能使用selectrownumfrom视图1,可以实现查询。注意哦视图不会生成rowid只..
分类:其他   时间:2016-03-16 01:44:17    收藏:0  评论:0  赞:0  阅读:1125
nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use) 错误解决
[emerg]:bind()to0.0.0.0:80failed(98:Addressalreadyinuse)这个是nginx重启是经常遇到的。网上找了很多信息都是没有啥用。说的乱七八糟的。发现原来是nginx重复重启。自己占用了端口。解决方法killall-9nginx杀掉nginx进程然后重启就行了。servicenginxrestart这样就解决了。-..
分类:其他   时间:2016-03-16 01:43:16    收藏:0  评论:0  赞:0  阅读:547
“Device eth0 does not seem to be present”解决办法
在KVM中克隆出新的CentOS虚拟机时,出现如下问题:#servicenetworkrestartShuttingdownloopbackinsterface:[OK]Bringinguploopbackinsterface:[OK]Bringingupinterfaceeth0:Deviceeth0doesnotseemtobepresent,delayinginitialization.[FAILED]用ifconfig查看发现缺少eth0,只有..
分类:其他   时间:2016-03-16 01:43:06    收藏:0  评论:0  赞:0  阅读:300
Skype for Business Server 2015和 Exchange Server 2013集成
参考:Exchange中文站http://www.exchangecn.com/先决条件https://technet.microsoft.com/zh-cn/library/jj721919(v=ocs.15).aspx1、先决条件-Oauth证书2、先决条件-自动发现,安装ExchangeServer2013后自动创建3、建立伙伴关系https://technet.microsoft.com/zh-cn/library/jj..
分类:其他   时间:2016-03-16 01:42:57    收藏:0  评论:0  赞:0  阅读:660
Error, some other host already uses address
最近在做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:42:26    收藏:0  评论:0  赞:0  阅读:230
Nginx配置文件nginx.conf中文详解
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:41:57    收藏:0  评论:0  赞:0  阅读:301
解决克隆centos虚拟机后ip配置失败的问题
解决克隆centos虚拟机后修改克隆后的机器的ip、mac、uuid失败的问题方法/步骤Sohere’showwefixit:Removethekernel’snetworkinginterfacerulesfilesothatitcanberegenerated#rm-f/etc/udev/rules.d/70-persistent-net.rulesRestarttheVM#rebootUPDATEyourinterfaceconfigurati..
分类:其他   时间:2016-03-16 01:41:37    收藏:0  评论:0  赞:0  阅读:239
CentOS 下配置软RAID(Software RAID)CentOS 下配置LVM(逻辑卷管理)
1、http://www.cnblogs.com/mchina/p/linux-centos-disk-array-software_raid.html2、http://www.cnblogs.com/mchina/p/linux-centos-logical-volume-manager-lvm.html
分类:其他   时间:2016-03-16 01:41:16    收藏:0  评论:0  赞:0  阅读:272
运维安全
一、服务器配置1、软件包选择:全不选,安装最小化的系统,不安装图形界面2、root密码:必须超过8位,并且有符号和字母数字。3、精简服务:关掉以下服务项kudzucpuspeedisdnportmapnfslockrpcidmapdrpcgssdbluetoothnetfspcscdapmdhiddautofshplipcupsgpmxfsavahi-daemonyum-up..
分类:其他   时间:2016-03-16 01:41:06    收藏:0  评论:0  赞:0  阅读:370
ping: unknown host解决办法
ping:unknownhost解决办法如果ping命令返回如下错误,那主要的可能性就是系统的DNS设置有误。[cpp][root@CentOS5~]#pingwww.sina.com.cnping:unknownhostwww.sina.com.cn可以通过如下方法来解决,此方法已经在linux和solaris系统下通过验证。1)确定设置了域名服务器没有的话,建..
分类:其他   时间:2016-03-16 01:40:37    收藏:0  评论:0  赞:0  阅读:277
keepalived配置文件详解
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:40:27    收藏:0  评论:0  赞:0  阅读:204
Docker启动报错
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:40:07    收藏:0  评论:0  赞:0  阅读:271
Get value from agent failed: cannot connect to [[192.168.1.110]:10050]: [113] No route to host
zabbix监控客户端发现错误:Getvaluefromagentfailed:cannotconnectto[[192.168.1.110]:10050]:[113]Noroutetohost经检查,发现客户端防火墙未关闭,执行以下命令即可serviceiptablesstop
分类:其他   时间:2016-03-16 01:39:56    收藏:0  评论:0  赞:0  阅读:4534
Received empty response from Zabbix Agent at [192.168.1.110]. Assuming that
提示错误:ReceivedemptyresponsefromZabbixAgentat[192.168.1.110].Assumingthatagentdroppedconnectionbecauseofaccesspermissio解决方法:在客户端vim/etc/zabbix_agentd.conf修改Server=192.168.1.130(服务器地址)
分类:其他   时间:2016-03-16 01:39:46    收藏:0  评论:0  赞:0  阅读:3955
date(): It is not safe to rely on the system's timezone settings.
date():Itisnotsafetorelyonthesystem‘stimezonesettings.Youare*required*tousethedate.timezonesettingorthedate_default_timezone_set()function.Incaseyouusedanyofthosemethodsandyouarestillgettingthiswarning,youmostlikelymisspelledthetimezoneidentifier.Weselected..
分类:其他   时间:2016-03-16 01:39:37    收藏:0  评论:0  赞:0  阅读:250
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!