替换git和homebrew镜像源 一、git加速 1. 查找域名对应的地址 nslookup github.com nslookup github.global.ssl.fastly.Net 2. 修改hosts文件 3. 刷新DNS缓存(根据你的操作系统选择) 二、homebrew替换为清华镜像 ...
分类:
系统相关 时间:
2020-01-04 14:16:02
阅读次数:
307
在集群部署时,我们经常用到堡垒机作为跳板,堡垒机和集群的其他的用户名、密码、端口号都是不同的,fabric如何进行配置不同的用户、端口号和密码。fabric作为一种强大的运维工具,可以让部署运维轻松很多,最简单的fabric使用,首先设置env.user, env.port, env.hosts, ... ...
分类:
其他好文 时间:
2020-01-04 00:56:18
阅读次数:
100
解决方案: /etc/hosts/etc/hosts文件中加下面这句 127.0.0.1 localhost localhost.localdomain 然后 sudo systemctl restart postgresql-10 sudo systemctl status postgresql- ...
分类:
其他好文 时间:
2020-01-03 14:25:41
阅读次数:
115
kafka出现接收不到filebeat数据,最后发现版本兼容问题 filebeat换成 filebeat-7.4.2-linux-x86_64 kafka是docker-compose启动的,版本是kafka_2.12-2.3.0 filebeat配置 ...
分类:
其他好文 时间:
2020-01-02 20:29:42
阅读次数:
224
1.limit的修改 vim /etc/security/limits.conf 具体内容为: * soft nofile 65536 * hard nofile 65536 * soft noproc 2048 * hard noproc 4096 * - memlock unlimited es ...
分类:
其他好文 时间:
2020-01-02 18:32:03
阅读次数:
104
除了防火墙的设置,很可能时因为你的Web服务监听的时127.0.0.1地址,构成了本机回环,只能本机访问的原因。 启动服务的时候可以尝试指定hostname为0.0.0.0或者你想监听的IP地址。 【参考一】 【参考二】 (完) ...
分类:
Web程序 时间:
2020-01-02 16:00:09
阅读次数:
111
1、基本使用 [root@linux-node1 ansible]# cat testitem.yaml - hosts: date remote_user: root tasks: - name: create some files file: name=/data1/{{ item }} sta ...
分类:
其他好文 时间:
2020-01-02 15:34:18
阅读次数:
81
1、配置方式 /etc/hosts.allow mountd:192.168.131.1 #cent7.0设置方式Portmap:192.168.131.1:allow #cent6.0设置方式 /etc/hosts.deny mountd:all #cent7.0设置方式Portmap:ALL:d ...
分类:
系统相关 时间:
2020-01-02 15:24:26
阅读次数:
1896
IntelliJ IDEA 注册码 1.先去官网下载IntelliJ IDEA 2.将IntelliJ IDEA安装好 3.打开hosts文件windows+r C:\Windows\System32\drivers\etc 4.添加内容0.0.0.0 http://account.jetbrain ...
分类:
其他好文 时间:
2020-01-01 20:24:10
阅读次数:
163
一、查看主机名 1. hostname 2. uname –a 二、永久修改主机名 1. 修改 /etc/hostname vi /etc/hostname 2. 修改/etc/hosts配置文件(可选) vi /etc/hosts 3. 重启系统 sudo reboot ...
分类:
系统相关 时间:
2020-01-01 11:35:17
阅读次数:
77