一安装准备:安装环境:Centos_6.6_x86_64puppet-2.7.26-2.el6.noarch安装准备:1)ntp同步2)配置/etc/hosts或DNS,保障服务端与客户段能相互解析安装epel源:默认repos没有puppet,rpm–Uvhhttp://mirrors.hustunique.com/epel/6/x86_64/epel-release-6-8.noarch.rpm二、正式安?.
分类:
其他好文 时间:
2015-08-26 20:26:05
阅读次数:
160
在Linux下安装Oracle一、安装前系统准备1. 修改主机名#sed -i "s/HOSTNAME=localhost.localdomain/HOSTNAME=oracledb/" /etc/sysconfig/network2.添加主机名与IP对应记录# vi /etc/hosts 192....
分类:
数据库 时间:
2015-08-26 15:36:54
阅读次数:
213
查看ssh服务是否支持tcpwrapper:ldd`which-asshd`|grepwrap配置文件:/etc/hosts.allow;/etc/hosts.deny1、记录日志:修改/etc/hosts.deny:sshd:172.16.20.211:severitywarning#定义日志的级别为warning修改/etc/rsyslog.conf:authpriv.warning/var/log/warning重启服务:/etc/..
分类:
移动开发 时间:
2015-08-25 12:17:18
阅读次数:
236
在/etc/hosts.allow输入(其中192.110.162.6是你要允许登陆ssh的ip,或者是一个网段192.110.162.0/24 表示192.110.162.1到192.110.162.255)sshd:192.110.162.6:allow在/etc/hosts.deny输入(表示...
分类:
其他好文 时间:
2015-08-19 19:48:05
阅读次数:
122
首先,在hosts文件中添加virtual host域名。方向127.0.0.1 我一般使用的命名约定dev-domainname.comsudo nano /private/etc/hosts# VirtualHosts Mapping127.0.0.1 dev-domainname.com接下来...
分类:
系统相关 时间:
2015-08-17 19:25:02
阅读次数:
194
ssh安全问题虽然不是特别的重要,但是如果被别人暴力破取的话那么可想而知了1,/etc/hosts.allow /etc/hosts.deny先把需要允许的ip加入到hosts.allow,如下:vi /etc/hosts.allowsshd:201.53.22.11sshd:10. ...
分类:
其他好文 时间:
2015-08-17 11:42:26
阅读次数:
109
我们通常都知道Windows中hosts文件(C:\Windows\System32\drivers\etc),用来映射域名的。linux上当然也有,一般在/etc/hosts下。当工作的项目,在开发机中,有各种域名跳转的时候。有时候找不到文件,有可能就是hosts木有配置正确。好比,我在开发机上,...
1 新增Data节点1.1 修改/etc/hosts,增加datanode的ip1.2 在新增加的节点启动服务hadoop-daemon.sh start datanodeyarn-daemon.sh start nodemanager1.3 均衡blockstart-balancer.sh1)如果...
分类:
其他好文 时间:
2015-08-09 23:52:03
阅读次数:
140
修改hosts文件,vi /etc/hosts,一般不能去掉localhost,去掉后zookeeper等框架可能会出问题,如下:1234127.0.0.1localhost.localdomainlocalhost192.168.1.91master192.168.1.93slave1192.16...
分类:
系统相关 时间:
2015-08-08 14:43:19
阅读次数:
1102
域名与IP信息解析/etc/hosts 文件中有部分IP地址与域名主机名的信息/etc/resolv.conf 里面有DNS服务器的IP地址struct hostent{ char *h_name; //主机的正式名字 char **h_aliases; //主机备选名称,以NUL...
分类:
系统相关 时间:
2015-08-07 12:58:02
阅读次数:
232