随笔分类 - Services
1
摘要:DHCP服务搭建 环境 + 操作系统为RHEL 7 + 两个计算机 server: ens33 采用dhcp桥接; ens37 vmnet4网段 client: ens33 采用dhcp桥接; ens37 vmnet4网段, 要与server1的ens37一致 server端搭建dhcp服务 + +
阅读全文
摘要:+ 下载webmin的rpm包 + yum install webmin rpm + systemctl start webmin 即可
阅读全文
摘要:+ yum groupinstall "Development Tools" + yum install php mysqli php mbstring php mcrypt + yum install mariadb mariadb server + yum install httpd httpd
阅读全文
摘要:1. wget http://hk1.php.net/distributions/php 5.6.31.tar.gz 2. yum groupinstall "Development Tools" 3. yum install zlib openssl perl 4. yum install htt
阅读全文
摘要:mongodb installation + mongodb org + mongodb org shell + mongodb org tools + mongodb org server config mongodb.conf to connect mongodb + comment bind
阅读全文
摘要:elk and redis installation and configuration ATTENSION + attention the version of all software(use the latest) node1 installed logstash, httpd + syste
阅读全文
摘要:节点 + node1: 配置logstash + node2: 配置collectd, collectd收集本地的信息, 通过配置将信息发送到node1节点 node1安装配置logstash + rpm ivh logstash.rpm + logstash安装在/opt目录下, 在/etc/pr
阅读全文
摘要:安装与配置 安装 Server端 + rpm ivh http://repo.zabbix.com/zabbix/3.4/rhel/7/x86_64/zabbix release 3.4 2.el7.noarch.rpm + yum install zabbix server mysql zabbi
阅读全文
摘要:环境 + rhel 6 安装与配置 + 配置epel源 + yum install httpd dhcp tftp server cobbler pykickstart syslinux rsync cman force agent y + 修改xinetd的配置文件, 将tftpd和rsync开启
阅读全文
摘要:PXE 安装与配置 实验环境 + VMware Fusion 虚拟机 + node1有两块网卡, ens33(172.100.16.10) bridge, ens37 vmnet4(192.168.1.1) + node2有一块网卡, ens33 vmnet4, node2是待安装OS的host 安
阅读全文
摘要:puppet master/agent 配置 安装 + master: + yum install puppet server + agent: + yum install puppet 自动签名 + puppet的master端 + touch autosign.conf + 在autosign.
阅读全文
摘要:puppet配置 命令 + facter p: 显示所有的变量 + puppet apply [ v] [ noop] [ e 'puppet expression: 一般为include httpd等'] + puppet module + puppet describe [ l] [list]
阅读全文
摘要:配置好MogileFS, 见mogilefs的安装与配置随笔 下载nginx.1.10.3.tar.gz, nginx_mogilefs_module.1.0.4.tar.gz 编译安装 + 将连个tar.gz解压 + cd nginx 1.10.3目录 + useradd r nigix + ./
阅读全文
摘要:安装步骤 + 配置yum 的epel源 + yum install perl Sys Syslog perl IO AIO perl Net Netmask y 安装依赖的包 + 取得mogilefs的rpm包 + yum install .rpm 配置tracker节点 配置MariaDB + y
阅读全文
摘要:Httpd服务器的坑 1. 在/etc/httpd/conf/httpd.conf中的配置信息, 有时注释到的内容仍然会生效 2. 配置Auth时, 允许htpasswd规定的文件中的所有的用户, Require valid uesr, 允许特定的用户Require user user1 user2
阅读全文
摘要:nginx配置文件 1. alias的作用就是转发 相当于一个location块接收到了一个请求, 通过alias重新指定URL后面的资源路径, 在不通知浏览器的情况下, 在服务器内部转发alias之后的URL 2. 注意: 在httpd中的alias不是转发, 而是一个根切换 3. 在书写loca
阅读全文
摘要:\ \ This is the main Apache server configuration file. It contains the \ configuration directives that give the server its instructions. \ See for det
阅读全文
摘要:PXE与Kickstart无人值守安装 + Using NAT connection mode + ifconfig eth0 172.16.100.10 + setenforce 0 + service iptables stop + yum install y syslinux tftp ser
阅读全文
摘要:vcl常用配置 不缓存摸一个资源 动静分离 配置虚拟主机 此时缓存是否命中 将cookie绑定的私有缓存转为共有缓存 健康检测 配置拒绝请求 生产中一定要配置purge(清理缓存), 但是只能是机房中的, 同时对于miss的应该返回error 405 "Not in cache", 因为miss就表
阅读全文
1