上一页 1 ··· 69 70 71 72 73 74 75 76 77 ··· 92 下一页
摘要: 第一步: 编写nginx文件,放入/etc/init.d/ nginx文件内容如下, 部分为自己实际nginx安装的路径。 #!/bin/bash # nginx Startup script for the Nginx HTTP Server # it is v.0.0.2 version. # 阅读全文
posted @ 2019-08-29 12:06 牛奔 阅读(3272) 评论(0) 推荐(0)
摘要: This article is post on https://coderwall.com/p/ggmpfa configure: error: xslt-config not found. Please reinstall the libxslt >= 1.1.0 distribution复制代码 阅读全文
posted @ 2019-08-27 17:47 牛奔 阅读(320) 评论(0) 推荐(0)
摘要: 添加用户 useradd -r -s /sbin/nologin php-fpm 下载解压安装包 cd /data/pkg wget http://php.net/get/php-7.2.2.tar.gz/from/this/mirror mv mirror php-7.2.2.tar.gz tar 阅读全文
posted @ 2019-08-27 16:04 牛奔 阅读(293) 评论(0) 推荐(0)
摘要: 让页面进行刷新,可以使用location.reload()方法,但是这种方法会让页面一直不断的刷新,这是因为当页面加载完成以后,我们让它刷新一次,那么浏览器就会重新向服务器请求数据,界面会重新加载,然后,加载完成又调用了location.reload()方法,这样就陷入了死循环,一直处于请求然后刷新 阅读全文
posted @ 2019-08-27 10:41 牛奔 阅读(9351) 评论(0) 推荐(2)
摘要: 使用jquery的ajax方法可以异步提交表单,成功后后台返回json数据,回调函数处理,可以不用刷新页面,达到异步的目的; 处理表单的数据可以用serialize()方法进行序列化,而如果提交的数据包括文件流的话,就需要使用 FormData对象: 不带文件的表单数据使用:var data = $ 阅读全文
posted @ 2019-08-26 17:14 牛奔 阅读(1209) 评论(0) 推荐(1)
摘要: 错误代码: 1293 Incorrect table definition; there can be only one TIMESTAMP column with CURRENT_TIMESTAMP in DEFAULT or ON UPDATE clause 原因: mysql版本低版本不支持在 阅读全文
posted @ 2019-08-23 10:27 牛奔 阅读(1086) 评论(0) 推荐(0)
摘要: 1 安装ImageMagick依赖 yum install ImageMagick ImageMagick-devel 2 安装zbar拓展 wget -c http://jaist.dl.sourceforge.net/project/zbar/zbar/0.10/zbar-0.10.tar.bz 阅读全文
posted @ 2019-08-22 16:26 牛奔 阅读(811) 评论(0) 推荐(0)
摘要: 1. Redis默认不是以守护进程的方式运行,可以通过该配置项修改,使用yes启用守护进程 daemonize no 2. 当Redis以守护进程方式运行时,Redis默认会把pid写入/var/run/redis.pid文件,可以通过pidfile指定 pidfile /var/run/redis 阅读全文
posted @ 2019-08-22 15:30 牛奔 阅读(163) 评论(0) 推荐(0)
摘要: $headers = array( 'api-key:'.$key, 'authorization:'.$authorization, ); //初始化 $curl = curl_init(); //设置抓取的url curl_setopt($curl, CURLOPT_URL, $url); // 阅读全文
posted @ 2019-08-22 14:47 牛奔 阅读(7457) 评论(0) 推荐(0)
摘要: 不为什么,就为了方便搜索,特把红帽EL 5、EL6、EL7 的各版本整理一下,共享出来。原文链接正式发布 7.6 :RedHat Enterprise Server 7.6 for x86_64:rhel-server-7.6-x86_64-dvd.isoSHA-256 Checksum:60a0b 阅读全文
posted @ 2019-08-20 09:00 牛奔 阅读(13378) 评论(2) 推荐(0)
上一页 1 ··· 69 70 71 72 73 74 75 76 77 ··· 92 下一页