Example syntax for Secure Copy (scp)What is Secure Copy?scpallows files to be copied to, from, or between different hosts. It usessshfor data transfer...
分类:
其他好文 时间:
2014-06-15 22:30:51
阅读次数:
290
安装完rabbitmq-server,重启时间很长,并且报错ERROR: epmd error for host "yourhostname": timeout
原因是:主机名和ip不匹配,需要更改hostname或者/etc/hosts文件
eg:修改主机名:#hostname yourhostname 要跟/etc/hosts文件中一致。...
分类:
其他好文 时间:
2014-06-15 16:47:03
阅读次数:
270
经过一翻查找后解决了,原因和方法如下:[root@~]# grep host /etc/nsswitch.conf#hosts: db files nisplus nis dnshosts: files主机只找文件不走dns,将其该成hosts: files dns 即可!
分类:
系统相关 时间:
2014-06-14 17:54:21
阅读次数:
283
出现这种错误是因为主机名和/etc/hosts 文件不一致,只需要把主机名和其IP 写入/etc/hosts 文件,就ok了。注意名字不能有下划线修改network 文件之外,再使用hostname 命令指定一下主机名,就不用重启OS了。 1. 修改/etc/sysconfig/network 文件[root@localhost~]# cat /etc/sysconfig/networkN...
分类:
数据库 时间:
2014-06-14 17:29:44
阅读次数:
418
DRBD官方tar包下载地址:http://oss.linbit.com/drbd/环境介绍:系统版本:CentOS6.4(64位)内核版本2.6.32-358.el6.x86_64软件版本:drbd-8.4.3.tar.gz主:10.0.0.1从:10.0.0.2两台机器上的hosts都需要修改:[root@localhost~]#vim/etc/hosts10.0.0.1node110.0.0.2node2两台服..
分类:
数据库 时间:
2014-06-13 21:00:00
阅读次数:
446
域名被恶意指向题材:一家名为abc的公司域名为www1.leo.net的公司,域名被恶意指向,现通过www.leo.net也能访问到www1.leo.net的网站。实验环境:一台centos6.4虚拟机,安装apache服务,ip地址192.168.0.210,由于没有dns解析;在本地C:\Windows\System32\drivers\etc\hosts添..
分类:
其他好文 时间:
2014-06-10 23:12:22
阅读次数:
338
绑定host一般分为windows和linux下两种情况。windows下,首先打开host文件,其操作步骤
,打开 C:\Windows\System32\Drivers\etc\hosts的文件(一般为文本方式),然后在下面这些行的后面添加你所要绑定的ip和域名。#
localhost name...
分类:
其他好文 时间:
2014-06-09 16:01:25
阅读次数:
360
Ubuntu装完后要做的几件事改hosts无论哪里,改hosts都是第一件事,没hosts咋google。没google咋活。在终端输入命令sudo
gedit /etc/hosts在# The following lines are desirable for IPv6 capable hosts...
分类:
其他好文 时间:
2014-06-09 15:16:01
阅读次数:
225