上一页 1 2 3 4 5 6 ··· 14 下一页
摘要: centos linux服务器apache+mysql环境访问慢优化方法 阅读全文
posted @ 2020-01-29 17:18 求必印 阅读(404) 评论(0) 推荐(0) 编辑
摘要: 1.可查询数据库最大连接数 show variables like '%max_connections%'; 2.修改数据库最大连接数,最大限制上限为16384。 找到数据库配置文件my.cnf,在配置里将max_connections的值(若没有就新增)改为你想要的连接数量,例如: max_con 阅读全文
posted @ 2020-01-08 15:00 求必印 阅读(387) 评论(0) 推荐(0) 编辑
摘要: 1、打开错误显示,可以在控制controllers的首页入口加入以下代码,查看错误 error_reporting(-1); ini_set('display_errors', 1); //插入显示所有错误 2、将网站路径内的文件夹权限给到777 阅读全文
posted @ 2020-01-02 21:26 求必印 阅读(667) 评论(0) 推荐(0) 编辑
摘要: 1、先查看是否安装crond yum list installed | grep cron 若没有安装: yum -y install vixie-cron yum -y install crontable 2、查看crond的config 2,3,4,5是否开启 chkconfig --list 阅读全文
posted @ 2019-12-15 20:50 求必印 阅读(877) 评论(0) 推荐(0) 编辑
摘要: yum --enablerepo=remi-php56 install php-gd php-mysql php-mbstring php-xml php-mcrypt //安装GD库扩展 service httpd restart //重启生效 阅读全文
posted @ 2019-12-02 10:33 求必印 阅读(504) 评论(0) 推荐(0) 编辑
摘要: 1、centos 安装流量监控iftop apt-get install iftop -y 2、查看网卡名称 ifconfig 3、查看端口占用情况 iftop -i 网卡名称 -P 执行 netstat 命令反查流量大的端口对应进程。 netstat -tunlp |grep 端口号 最终定位出来 阅读全文
posted @ 2019-06-11 23:01 求必印 阅读(4492) 评论(0) 推荐(0) 编辑
摘要: 1.Apache 1.Apache #安装apache软件 yum -y install httpd #安装apache软件 #安装apache软件 yum -y install httpd #启动httpd服务 service httpd start #启动httpd服务 #启动httpd服务 s 阅读全文
posted @ 2019-03-05 17:29 求必印 阅读(307) 评论(0) 推荐(0) 编辑
摘要: rm -rf * 阅读全文
posted @ 2018-05-13 16:29 求必印 阅读(6521) 评论(0) 推荐(0) 编辑
摘要: 将函数配对换为下面2个就可以解决兼容性问题。 mouseenter() mouseleave(0 阅读全文
posted @ 2017-12-25 23:28 求必印 阅读(327) 评论(0) 推荐(0) 编辑
摘要: insert into ydcq_member_class (ClassId,signcount,UserId) select 64,2,`员工编号` from `学员名单` 阅读全文
posted @ 2017-10-12 15:59 求必印 阅读(218) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 14 下一页