上一页 1 ··· 90 91 92 93 94 95 96 97 98 ··· 101 下一页
摘要: 实际生产案例 生产机房自建PPTP客户端通过拨号连接到生产机房,但是一旦客户端网络是意外断线再重新拨号 会产生IP冲突,于是写了一个脚本监控PPTP的IP是否有多个(一般冲突以后会生成2个IP) 手动执行没有报错,但是放入crontab执行就会报错提示命令ifconfig not find 命令行执 阅读全文
posted @ 2017-08-29 15:46 minseo 阅读(7077) 评论(0) 推荐(0) 编辑
摘要: Logwatch是使用 Perl 开发的一个日志分析工具Logwatch能够对Linux 的日志文件进行分析,并自动发送mail给相关处理人员,可定制需求Logwatch的mail功能是借助宿主系统自带的mail server 发邮件的,所以系统需安装mail server , 如sendmail, 阅读全文
posted @ 2017-08-29 11:11 minseo 阅读(308) 评论(0) 推荐(0) 编辑
摘要: Win7客户端无法拨号提示778 CentOS服务器端 日志/var/log/messages提示一下错误信息 GRE: read(fd=6,buffer=611860,len=8196) from PTY failed: status = -1 error = Input/output error 阅读全文
posted @ 2017-08-24 09:06 minseo 阅读(1471) 评论(0) 推荐(0) 编辑
摘要: 怎么开启php与mysql常连接 参考php官方文档 动静分离 Nginx处理静态资源,php处理动态资源 数据库分离 从库设置成只读模式 组件分离 TCP三次握手四次挥手 time_wait对cpu和内存的占用可以忽略不计,但是多少也会占用socket PS:time_wait在主动关闭端产生,一 阅读全文
posted @ 2017-08-19 23:02 minseo 阅读(377) 评论(0) 推荐(0) 编辑
摘要: 本次脚本系统版本 MySQL日常运行产生的慢查询日志收集并且发送邮件 vim mysql-slow-log.sh # 这是一个收集慢查询的脚本,每天收集MySQL慢查询日志并且发送邮件#!/bin/bash DATA=`date -d "1 day ago" +"%Y-%m-%d"`mysql -u 阅读全文
posted @ 2017-08-08 09:40 minseo 阅读(1665) 评论(0) 推荐(0) 编辑
摘要: 安装步骤 wget http://xcache.lighttpd.net/pub/Releases/3.2.0/xcache-3.2.0.tar.gz tar -xf xcache-3.2.0.tar.gz cd xcache-3.2.0 /usr/local/php/bin/phpize ./co 阅读全文
posted @ 2017-08-02 11:23 minseo 阅读(238) 评论(0) 推荐(0) 编辑
摘要: /usr/local/php/var/log/php-fpm.log报一下错误 server reached pm.max_children setting (5), consider raising it 修改配置 vim /usr/local/php/etc/php-fpm.conf 阅读全文
posted @ 2017-08-01 14:59 minseo 阅读(625) 评论(0) 推荐(0) 编辑
摘要: #!/bin/bash #author Liuyueming #date 2017-07-29 #定时检测邦联收单及预付卡系统 pos_num=`nmap 远程IP地址 -p 端口号|sed -n "6p"|grep open|wc -l` yfk_num=`nmap 远程IP地址 -p 端口号|s 阅读全文
posted @ 2017-07-29 16:59 minseo 阅读(1795) 评论(0) 推荐(0) 编辑
摘要: laaS平台的虚拟化 利用率高 资源整合 节约电能 节约空间 灾难恢复 CloudStack是一个开源的具有高可用性及扩展性的云计算平台。支持管理大部分主流的hypervisor,如KVM虚拟机,XenServer,VMware,Oracle VM,Xen等。 准备两台虚拟机 设置好ip,主机名,h 阅读全文
posted @ 2017-07-26 22:46 minseo 阅读(226) 评论(0) 推荐(0) 编辑
摘要: Ucloud云主机在yum安装的时候出现这个提示 执行一下命令 yum --disablerepo=salttestyum-config-manager --disable salttestyum-config-manager --save --setopt=salttest.skip_if_una 阅读全文
posted @ 2017-07-21 15:14 minseo 阅读(409) 评论(0) 推荐(0) 编辑
上一页 1 ··· 90 91 92 93 94 95 96 97 98 ··· 101 下一页