yangzailu

导航

上一页 1 ··· 13 14 15 16 17 18 19 20 21 ··· 72 下一页

2019年10月28日 #

Alipay支付宝调用错误:Call to undefined function openssl_sign()

摘要: 打开php.ini,找到这一行 ;extension=php_openssl.dll,将前面的“;”去掉; 重启服务器。 阅读全文

posted @ 2019-10-28 14:51 飞离地平线 阅读(622) 评论(0) 推荐(0)

2019年9月26日 #

nginx.conf 下日志host.access.log 说明

摘要: 位置usr/local/nginx/conf/nginx.conf $server_port 请求端口 $remote_addr 局域网代理IP;如果没同意任何代理的话$remote_addr 就是真实ip $http_x_forwarded_for 若有多个IP 一般第一个为客户端请求真实IP 8 阅读全文

posted @ 2019-09-26 14:27 飞离地平线 阅读(1797) 评论(0) 推荐(0)

2019年9月17日 #

vim全选,全部复制,全部删除

摘要: 全选(高亮显示):按esc后,然后ggvG或者ggVG 全部复制:按esc后,然后ggyG 全部删除:按esc后,然后dG 解析: gg:是让光标移到首行,在vim才有效,vi中无效 v : 是进入Visual(可视)模式 G :光标移到最后一行 选中内容以后就可以其他的操作了,比如: d 删除选中 阅读全文

posted @ 2019-09-17 10:15 飞离地平线 阅读(41731) 评论(1) 推荐(6)

2019年8月23日 #

jquery 获取上传文件大小

摘要: 1. 阅读全文

posted @ 2019-08-23 10:06 飞离地平线 阅读(1551) 评论(0) 推荐(0)

2019年8月22日 #

linux网络配置

摘要: eth0 -- 指的是不同的网卡(网络连接)eth1eth2eth3lo --本地回环,127.0.0.1;请求走到网卡,直接回来localhost 当前计算机,内存内部的socket的连接如果以上没有看到eth0,说明默认的配置没有开启,可以通过修改配置文件完成/etc/sysconfig/net 阅读全文

posted @ 2019-08-22 16:12 飞离地平线 阅读(299) 评论(0) 推荐(0)

crontab 定时任务简单备份数据库

摘要: 备份数据库/usr/local/mysql5.5/bin/mysqldump -uroot -p1234abcd wordpress >~/wordpress_20151206.sql59 23 * * * /usr/local/mysql5.5/bin/mysqldump -uroot -p123 阅读全文

posted @ 2019-08-22 14:48 飞离地平线 阅读(808) 评论(0) 推荐(0)

linux进程管理

摘要: 1.进程管理 psps --help 打印当前的进程信息ps -a 打印所有进程信息ps -e 打印所有进程信息 用的最多ps -eu 打印所有进程信息(更便捷的显示方式)2.需要在进程中挑出我们需要管理的进程ps -e | grep mysqld3.kill进程典型需要kill关闭进程kill:向 阅读全文

posted @ 2019-08-22 14:13 飞离地平线 阅读(258) 评论(0) 推荐(0)

linux 管道,输出重定向,后端执行

摘要: 1. | (管道) $time|data:"Y-m-d"将前部的输出,作为后部的输入:配合管道使用的命令,典型的就是grep,morefind --help | grep cnewer./configer -help |grep apxs 2.more的典型使用 ./configer -help | 阅读全文

posted @ 2019-08-22 11:30 飞离地平线 阅读(503) 评论(0) 推荐(0)

find 和grep的区别

摘要: find(以文件属性为查找条件)grep(以文件内容为查找条件)grep works /usr/local/apache/htdocs/index.html 1.将/etc/passwd,有出现 root 的行取出来 # grep root /etc/passwd root:x:0:0:root:/ 阅读全文

posted @ 2019-08-22 11:06 飞离地平线 阅读(930) 评论(0) 推荐(0)

linux启动脚本

摘要: 1. linux启动脚本 : /etc/init.d/脚本例如:/etc/init.d/iptables startinit.d/ 下面的每一个文件就是一个启动脚本 2. 以上的/etc/init.d/脚本,可以简化为:service脚本 start|stop|restart 上面的每个(快捷方式) 阅读全文

posted @ 2019-08-22 10:38 飞离地平线 阅读(1021) 评论(0) 推荐(0)

上一页 1 ··· 13 14 15 16 17 18 19 20 21 ··· 72 下一页