上一页 1 ··· 22 23 24 25 26 27 28 29 30 ··· 48 下一页
摘要: 1、特别注意:拿来线上php程序后一般是不需要修改config.php里面的数据库连接信息的,如果修改了会报错:站点已关闭。所以 2、5 步骤是需要省略的。如果拿来的是最开始的php源码,需要配置原始数据库信息,2、5 步骤就需要做,但是一般也是研发配置里面的数据库信息, 2、创建php程序的数据库用户(可省略) mysql> create database itshop; mysql> gr... 阅读全文
posted @ 2018-12-15 17:37 effortsing 阅读(398) 评论(0) 推荐(0) 编辑
摘要: http://www.cnblogs.com/zhongkai-27/p/9984597.html 阅读全文
posted @ 2018-12-14 21:28 effortsing 阅读(3184) 评论(0) 推荐(0) 编辑
摘要: 域名解析解释: 例如: www.45toutiao.cn 235.78.39.2 #这个ip一定要是公网ip 就是百度出来显示公网ip才可以解析到, 如果是笔记本的ip或者虚拟机的ip是解析不到的,这都属于局域网ip,通过百度搜出来的是内网ip 阅读全文
posted @ 2018-12-14 14:42 effortsing 阅读(149) 评论(0) 推荐(0) 编辑
摘要: 1、安装svnyum install subversion 2、查看安装位置rpm -ql subversion 3、创建svn版本库目录mkdir -p /var/svn/svnrepos 4、创建版本库 svnadmin create /var/svn/svnrepos 5、进入conf目录(该 阅读全文
posted @ 2018-12-14 11:42 effortsing 阅读(169) 评论(0) 推荐(0) 编辑
摘要: 1、在server_agent端创建脚本 mkdir -p /usr/local/etc/zabbix_scripts vi /usr/local/etc/zabbix_scripts/check_httpd.sh # 注意必须用vi打开复制进去,用cat写入会报错;必须判断端口是否存在,判断别的就报错;返回值为0或1;返回别的就报错 #!/bin/bash a=`lsof -i... 阅读全文
posted @ 2018-12-12 16:59 effortsing 阅读(775) 评论(0) 推荐(0) 编辑
摘要: [root@www zabbix_scripts]# cat check_httpd.sh #!/bin/bash a=`lsof -i:80 | wc -l` if [ "$a" -gt "0" ];then echo "0" else echo "1" fi 阅读全文
posted @ 2018-12-12 14:47 effortsing 阅读(7426) 评论(0) 推荐(1) 编辑
摘要: 判断端口是否打开 lsof -i:80 判断端口打开了几个 lsof -i:80 | wc -l 阅读全文
posted @ 2018-12-12 14:39 effortsing 阅读(1051) 评论(0) 推荐(0) 编辑
摘要: 调整zabbix_server参数 /usr/local/zabbix/etc/zabbix_server.conf StartPollers=160 StartPollersUnreacheable=80 StartTrappers=20 StartPingers=100 StartDiscove 阅读全文
posted @ 2018-12-10 17:18 effortsing 阅读(448) 评论(0) 推荐(0) 编辑
摘要: 环境: 服务端 ip :192.168.1.204 hostname:www.test.com 服务端 ip :192.168.1.206 hostname:www.test3.com 1、查看zabbix_server日志 20477:20181210:031034.692 cannot send 阅读全文
posted @ 2018-12-10 16:54 effortsing 阅读(2809) 评论(0) 推荐(0) 编辑
摘要: 服务端:192.168.1.204 主机名: www.test.com 客户端:192.168.1.206 主机名: www.test3.com 客户端同步服务端报错如下: [root@www etc]# ntpdate -d -b 192.168.1.204 9 Dec 22:42:10 ntpd 阅读全文
posted @ 2018-12-10 11:55 effortsing 阅读(699) 评论(0) 推荐(0) 编辑
上一页 1 ··· 22 23 24 25 26 27 28 29 30 ··· 48 下一页