上一页 1 2 3 4 5 6 7 ··· 11 下一页
摘要: #!/bin/bash# Smokeping Alertsdate=`/usr/bin/date`alertname=$1target=$2losspattern=$3rttpattern=$4hostname=$5################################Message Al 阅读全文
posted @ 2017-07-04 14:45 *奥特* 阅读(517) 评论(0) 推荐(0)
摘要: 脚本下载网址: http://www.day32.com/MySQL/tuning-primer.sh #!/bin/sh # vim: ts=8########################################################################## ## 阅读全文
posted @ 2017-06-09 20:19 *奥特* 阅读(345) 评论(0) 推荐(0)
摘要: 环境:centos7.2 yum源为163. systemctl stop firewalld.service setenforce 0 yum groupinstall "Compatibility libraries" "Base" "Development tools" -y yum -y i 阅读全文
posted @ 2017-05-24 17:21 *奥特* 阅读(596) 评论(0) 推荐(0)
摘要: 转载地址 http://www.360doc.com/content/15/1102/09/10504424_510125079.shtml 阅读全文
posted @ 2017-04-19 11:07 *奥特* 阅读(155) 评论(0) 推荐(0)
摘要: 第一篇【NIS】深入了解NIS 1 环境准备 操作系统:CentOS7.2 服务端安装如下软件: 软件名称 功能 ypserv NIS Server端的服务进程 rpcbind 提供RPC服务 客户端安装如下软件: 软件名称 功能 yp-tools 提供NIS相关的查询指令功能(yp-tools和y 阅读全文
posted @ 2017-04-19 09:37 *奥特* 阅读(1168) 评论(0) 推荐(0)
摘要: 自动备份Mysql脚本: 如下脚本为mysql自动备份脚本,仅供参考,可以根据实际情况修改。 #!/bin/sh #auto backup mysql #20170329 #Define PATH定义变量 BAKDIR=/data/backup/mysql/`date +%Y-%m-%d` MYSQ 阅读全文
posted @ 2017-03-29 21:03 *奥特* 阅读(293) 评论(0) 推荐(0)
摘要: 前段时间,我在准备面试的时搜到的一套Linux运维工程师面试题,感觉比较全面,一直保存在草稿,刚在整理后台时翻了出来,干脆就发出来好了,以备不时之需。 1.linux如何挂在windows下的共享目录 Shell 1 mount.cifs //192.168.1.3/server /mnt/serv 阅读全文
posted @ 2017-03-29 20:55 *奥特* 阅读(276) 评论(0) 推荐(0)
摘要: 添加用户 #!/bin/bashfor i in user{1..7}do useradd $i echo "12345678" |passwd --stdin $idone ************************************************************** 阅读全文
posted @ 2017-03-25 20:55 *奥特* 阅读(348) 评论(0) 推荐(0)
摘要: 一、Nagios简介 Nagios是一款开源的电脑系统和网络监视工具,能有效监控Windows、Linux和Unix的主机状态,交换机路由器等网络设置,打印机等。在系统或服务状态异常时发出邮件或短信报警第一时间通知网站运维人员,在状态恢复后发出正常的邮件或短信通知。 Nagios原名为NetSain 阅读全文
posted @ 2017-03-20 15:00 *奥特* 阅读(427) 评论(0) 推荐(0)
摘要: PS:Nginx/LVS/HAProxy是目前使用最广泛的三种负载均衡软件,本人都在多个项目中实施过,参考了一些资料,结合自己的一些使用经验,总结一下。 一般对负载均衡的使用是随着网站规模的提升根据不同的阶段来使用不同的技术。具体的应用需求还得具体分析,如果是中小型的Web应用,比如日PV小于100 阅读全文
posted @ 2017-03-12 09:56 *奥特* 阅读(228) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 ··· 11 下一页