一、启动RocketMQ[root@master~]#cat/etc/hosts#Donotremovethefollowingline,orvariousprograms#thatrequirenetworkfunctionalitywillfail.127.0.0.1localhost.localdomainlocalhost::1localhost6.localdomain6localhost6192.168.1.106node1192.168.1.103master192.168.1.110n..
分类:
编程语言 时间:
2016-10-22 18:33:55
阅读次数:
542
前面我们有讲到Oracle11GDataGuard的搭建,10G的搭建也是大同小异.不过Oracle10G不支持Standbyopen环境:角色主机名IP数据库版本操作系统版本Primaryfdb1192.168.10.810.2.0.1CentOS5.11x86_64Standbyfdb2192.168.10.910.2.0.1CentOS5.11x86_64在fdb1的/etc/hosts中加入(fdb1)127..
分类:
数据库 时间:
2016-10-21 17:07:11
阅读次数:
353
限制IP登陆:(1):目录/etc/下hosts.allow为允许登陆的IP配置文件(2):目录/etc/下hosts.deny为限制IP配置文件在/etc/hosts.allow中添加允许ssh登陆的ip或者网段sshd:192.168.0.10:allow或者sshd:192.168.0.0/24:allow在/etc/hosts.deny添加拒绝ssh登陆的IPsshd:ALL#ALL表示除..
分类:
系统相关 时间:
2016-10-21 16:51:49
阅读次数:
294
公司最近搭建的nagios平台发不出告警邮件,经检查配置文件没问题,查看mail日志发现如下错误:后来查询好hostname名称和/etc/hosts名称不一样。然后试着在/etc/hosts下添加注:100.105.0.17为本机IP后保存,正常收到邮件
分类:
移动开发 时间:
2016-10-21 02:01:29
阅读次数:
234
环境操作系统:CentOS7.2(x86_64)、OpenStack版本:Newtonnode-51172.16.140.51(ironiccontroller)node-52172.16.140.52(ironicagent)配置主机名解析[root@node-51~]#cat/etc/hosts
127.0.0.1localhostlocalhost.localdomainlocalhost4localhost4.localdomain4
::1localhos..
分类:
其他好文 时间:
2016-10-21 01:26:43
阅读次数:
257
hosts代理文件:C:\Windows\System32\drivers\etc\HOSTS 内容如下: 可以根据需要替换和调整; ...
分类:
其他好文 时间:
2016-10-20 21:29:11
阅读次数:
299
Oracle为10.2.0.1版本SQL>startupnomount;ORA-00600:internalerrorcode,arguments:[keltnfy-ldmInit],[46],[1],[],[],[],[],[]经过检查发现为未设置hosts#echo"127.0.0.1$HOSTNAME">>/etc/hosts即可
分类:
数据库 时间:
2016-10-18 23:15:39
阅读次数:
199
环境: Ubuntu16.04 机器: 192.168.1.105 namenode 192.168.1.102 datanode1 0、配置节点信息 sudo gedit /etc/hosts #加入下面的信息 192.168.1.105 namenode 192.168.1.102 datano ...
分类:
其他好文 时间:
2016-10-15 22:02:53
阅读次数:
261
19.1 什么是DNS 主机名自动解析为 IP 就很重要!那就是 DNS。 19.1.1 用网络主机名取得IP的历史渊源 单一档案处理上网的年代: /etc/hosts 利用某些特定的档案将主机名与 IP 作一个对应, 如此一来,我们就可以透过主机名来取得该主机的 IP。 就是/etc/hosts ...
分类:
其他好文 时间:
2016-10-13 14:11:42
阅读次数:
156
HACluster基础及heartbeat实现HA配置环境node1:192.168.1.121 CentOS6.7node2:192.168.1.122 CentOS6.7node3:192.168.1.123 CentOS6.7vip192.168.1.88配置前准备#cat/etc/hosts 127.0.0.1localhostlocalhost.localdomainlocalhost4localhost4.localdomain4 ::1localhostlo..
分类:
其他好文 时间:
2016-10-12 23:41:41
阅读次数:
303