环境: jks-1 192.168.200.113 jks-2 192.168.200.114 jks-3 192.168.200.115 安装配置jenkins: jks-1主机操作: [root@localhost ~]# hostname jks-1[root@localhost ~]# ba ...
分类:
其他好文 时间:
2019-11-16 11:09:08
阅读次数:
95
```bash # 控制节点与计算节点,分别指定静态解析 /etc/hosts 192.168.123.201 controller 192.168.123.202 compute01 ``` ```bash # 控制节点与计算节点,分别安装源与客户端 yum install -y centos-r... ...
分类:
其他好文 时间:
2019-11-16 10:56:31
阅读次数:
84
修改 查看 vim /etc/hostname 重启 reboot ...
分类:
其他好文 时间:
2019-11-15 12:28:50
阅读次数:
66
Dnsmasq MacOS使用介绍 问题: pc端开发时,需要在/etc/hosts里配置各种本地环境;当开发移动的界面时,除了使用浏览器的"手机模式"查看效果,还可以直接使用手机进行查看。但是修改手机的/etc/hosts就比较麻烦了。 解决办法: 1. 使用dnsmasq在pc上搭建dns服务器 ...
分类:
系统相关 时间:
2019-11-14 09:56:04
阅读次数:
123
1 centos6下修改hostname [root@centos6 ~]$ hostname # 查看当前的hostnmae centos6.magedu.com [root@centos6 ~]$ vim /etc/sysconfig/network # 编辑network文件修改hostnam ...
分类:
其他好文 时间:
2019-11-13 11:19:16
阅读次数:
97
身份鉴别 1)对登陆操作系统和数据库系统的用户进行身份表示和鉴别 1、密码文件中的口令字段是否不为空 2、检查各个用户主目录下的.rhosts文件 3、查看/etc/hosts.equiv 学习: 1、用户主目录 ~代表用户主目录 对一般用户而言,~表示/home/(用户名) 对root用户而言,~ ...
分类:
系统相关 时间:
2019-11-13 11:10:32
阅读次数:
103
vi /etc/nsswitch.conf hosts: files dns networks: files 改成: hosts: files dns wins networks: files 最近碰到了这么一个问题: ping一个域名domain_name的时候提示”ping: unknown h ...
分类:
系统相关 时间:
2019-11-12 20:21:41
阅读次数:
116
#ssh配置跳板机堡垒机带密钥 `~/.ssh/config` 添加以下配置: ```
# 跳板机地址
Host jumper HostName jumper.com User jumper port 23333 ForwardAgent yes IdentityFile ~/.ssh/jumper... ...
分类:
其他好文 时间:
2019-11-12 19:58:42
阅读次数:
310
问题:正在使用的Linux系统突然有一天不能解析域名gus.xxxxxxxx.com? # ping us.xxxxxxxx.com ping: unknown host us-xxxxxxxx.com 解决方法: 1、查看/etc/hosts # cat /etc/hosts 127.0.0.1 ...
分类:
系统相关 时间:
2019-11-12 12:43:07
阅读次数:
96
DNS作用 正向解析:域名-->IP 反向解析:IP-->域名 DNS管理 IANA 分配ip地址和域名 ICANN 互联网名称与数字地址分配机构 A.通过文件管理:hosts 从文件服务器下载,覆盖/etc/hosts里的内容(设置的有定时任务) B.搭建域名服务器:DNS 降低了客户端的操作的复 ...
分类:
其他好文 时间:
2019-11-11 21:49:36
阅读次数:
125