在重启nginx服务的时候,出现了这个错误。 解决办法: 其他的一些解决办法: 1、进入到文件夹下:cd /var/run ,查看有没有nginx文件夹,如果没有,则创建,然后在启动 2、进入到 nginx.conf文件,找到如下pid的位置,对pid这一行注释掉。然后重启。 ...
分类:
其他好文 时间:
2018-12-11 12:58:22
阅读次数:
185
今天遇到一个奇怪问题:使用mvn clean后,打包问是出现下面错。 [ERROR] Failed to execute goal org.apache.maven.plugins:maven-resources-plugin:2.6:resources (default-resources) on ...
分类:
其他好文 时间:
2018-12-11 01:40:53
阅读次数:
578
需求 不同的数据库,不同的表空间 SQL> create directory data_pump_dir1 as '/home/oracle/datapump1'; Directory created. SQL> create directory data_pump_dir2 as '/home/o ...
分类:
数据库 时间:
2018-12-10 21:02:35
阅读次数:
252
zk是比较典型场景,所以注册中心都是以zk作为例子的 1 对于registry,提供者没有这个,消费者才有。为什么? 因为只有消费者才需要去注册中心拿到provide的信息,而provider是不需要关注的,provider只需要去注册就好。在RegistryProtocol的export方法中,可 ...
分类:
数据库 时间:
2018-12-08 20:20:49
阅读次数:
166
万恶的源头 HelloWorld 要完成lucene 的配置 需要几个jar包 (如果需要可以留言我私发) 创建索引API分析: 1. Directory: 类代表一个Lucene索引的位置,FSDirectory:它表示一个存储在文件系统中的索引的位置 2. Analyzer 类是一个抽象类, 它 ...
分类:
Web程序 时间:
2018-12-07 20:54:45
阅读次数:
212
原创连接 https://www.cnblogs.com/AlwinXu/p/5598543.html Python包中 __init__.py文件的作用 在创建python包的过程中,IDE都会在包根目录下创建一个__init__.py文件,该Python文件默认是空的.目录结构如下: Pycha ...
分类:
编程语言 时间:
2018-12-07 17:18:53
阅读次数:
273
修改tomcat中conf文件夹下的server.xml文件,在 <Valve className="org.apache.catalina.valves.AccessLogValve" directory="logs" prefix="localhost_access_log" suffix=". ...
分类:
其他好文 时间:
2018-12-07 14:57:45
阅读次数:
299
1、apache没有权限 修改log cd /var/www chmod -R 777 html/ 2、 The bootstrap/cache directory must be present and writable. 部署laravel除了vendor其他文件夹都需要更新到服务器,及加入gi ...
分类:
Web程序 时间:
2018-12-07 11:58:21
阅读次数:
302
去阿里云盾申请 成功后下载 有三个文件******.com_public.crt ******.com.key *******.com_chain.crt Apache安装配置SSL证书方法教程(普通版) https://www .wosign.com/support/ssl-Apache1.htm ...
分类:
其他好文 时间:
2018-12-06 14:31:59
阅读次数:
1491
Compiling With CUDA And OpenCV: change the Makefile in the base directory to read: GPU=1 OPENCV=1 make again。 ...
分类:
Web程序 时间:
2018-12-05 20:57:31
阅读次数:
1323