【saltstack-master配置文件详解】教程文章相关的互联网学习教程文章

NTP配置文件详解

driftfile详解:我们每一个system clock的频率都有小小的误差,这个就是为什么机器运行一段时间后会不精确. NTP会自动来监测我们时钟的误差值并予以调整. 但问题是这是一个冗长的过程,所以它会把记录下来的误差先写入driftfile.这样即使你重新开机以后之前的计算结果也就不会丢失了。 [root@localhost etc]# cat ntp.conf# For more information about this file, see the man pages# ntp.conf(5), ntp_acc(5), ntp_auth(5), ntp_cl...

httpd配置文件详解(v2.2)【代码】

# # This is the main Apache server configuration file. It contains the # configuration directives that give the server its instructions. # See <URL:http://httpd.apache.org/docs/2.2/> for detailed information. # In particular, see # <URL:http://httpd.apache.org/docs/2.2/mod/directives.html> # for a discussion of each configuration directive. # # # Do NOT simply read the instructions in here withou...

分布式搜索elasticsearch配置文件详解

elasticsearch的config文件夹里面有两个配置文 件:elasticsearch.yml和logging.yml,第一个是es的基本配置文件,第二个是日志配置文件,es也是使用log4j来记录日 志的,所以logging.yml里的设置按普通log4j配置文件来设置就行了。下面主要讲解下elasticsearch.yml这个文件中可配置的 东西。cluster.name: elasticsearch 配置es的集群名称,默认是elasticsearch,es会自动发现在同一网段下的es,如果在同一网段下有多个集群,就可以...

saltstack-master配置文件详解

vim /etc/salt/master interface: 192.168.28.141 #绑定到本地的某个网络地址 publish_port: 4505 #默认端口4505,设置master与minion通信端口 user: root #运行salt进程的用户 max_open_files: 100000 #master可以打开的最大句柄数 worker_threads: 5 #启动用来接收或应答minion的线程数 ret_port: 4506 #master用来发送命令或接受minions的命令...