今天测试Docker下配置一个nginx模板的镜像,装好nginx后,使用nginx-t进行检查,报错如下:[root@a381c4c04132yum.repos.d]#nginx-t
nginx:theconfigurationfile/etc/nginx/nginx.confsyntaxisok
nginx:[emerg]socket()[::]:80failed(97:Addressfamilynotsupportedbyprotocol)
..
分类:
其他好文 时间:
2017-10-12 10:36:33
阅读次数:
142
1.监听启动失败: 将$ORACLE_HOME/network/admin 中的listener.ora中的主机名改为localhost 2.sqlplus中startup启动失败 ,出现ORA-00845: MEMORY_TARGET not supported on this system 切换 ...
分类:
数据库 时间:
2017-10-10 14:45:05
阅读次数:
202
出现这个错误提示是因为 $array 在初始化的时候是一个字符串,在下面使用的时候作为数组使用,php7.x版本并没有将$array自动转换为 数组而是以字符串存在"[]"作为了运算符,所以提示错误 修正: 错误解决 ...
分类:
Web程序 时间:
2017-10-02 23:50:47
阅读次数:
571
问题描述 导入项目的时候,因为同事的开发环境是Android Studio 2.3.2 Gradle3.3。而我的开发环境是Android Studio 2.2.2 Gradle2.14.1。 所以导入项目的时候报错: 解决方案 File——Setting——Build,Execution,Depl ...
分类:
其他好文 时间:
2017-09-25 09:39:40
阅读次数:
662
在Android中可以通过android.os.Build这个类和System.getProperty(“xxx”);来获取设备信息,下面列举的常见设备信息摘自Android群英传 Build.BOARD // 主板 Build.BRAND // 系统定制商 Build.SUPPORTED_ABIS ...
分类:
移动开发 时间:
2017-09-23 19:07:37
阅读次数:
252
如图所示,把build for 的版本更改为iOS7.1或以上即可。 如图所示,把build for 的版本更改为iOS7.1或以上即可。 如图所示,把build for 的版本更改为iOS7.1或以上即可。 ...
分类:
移动开发 时间:
2017-09-21 11:20:32
阅读次数:
632
Logstash requires Java 8. Java 9 is not supported. 1、检测是否安装了java环境 2、安装logstash,这里采用rpm安装 https://artifacts.elastic.co/downloads/logstash/logstash-5.6 ...
分类:
其他好文 时间:
2017-09-20 17:49:19
阅读次数:
3660
springboot官网 Apache Kafka is supported by providing auto-configuration of the spring-kafka project. Kafka configuration is controlled by external conf ...
分类:
其他好文 时间:
2017-09-16 23:23:54
阅读次数:
278
当我们编程时,有时会出现如下错误:TypeError: '>' not supported between instances of 'str' and 'int' 如下图: 这是因为input()返回的数据类型是str类型,不能直接和整数进行比较,必须先把str转换成整型,使用int()方法:ag ...
分类:
编程语言 时间:
2017-09-16 18:41:19
阅读次数:
23162
在chrome61 不支持滚动 解决方案: Use document.scrollingElement if supported, and fall back to the current code. For example, if the current (problematic) code is ...
分类:
其他好文 时间:
2017-09-14 13:13:34
阅读次数:
190