摘要: python3.7的安装包可从官网下载上传到主机,也可以用wget直接下载。 [root@xxx ~]# cd /usr/local/src/[root@xxx src]# wget https://www.python.org/ftp/python/3.7.0/Python-3.7.0.tar.x 阅读全文
posted @ 2018-10-30 22:20 chengloading 阅读(724) 评论(0) 推荐(0)
摘要: for(String str : list) {//增强for循环,其内部实质上还是调用了迭代器遍历方式,这种循环方式还有其他限制,不建议使用。 System.out.println(str); } for( int i = 0 ; i < list.size() ; i++) {//普通for循环 阅读全文
posted @ 2018-10-30 17:29 chengloading 阅读(113) 评论(0) 推荐(0)
摘要: 1.法一: select (@i:=@i+1) i,a.url from base_api_resources a ,(select @i:=0) t2 order by a.id desc limit 10; 2.法二: set @rownum=0;select @rownum:=@rownum+ 阅读全文
posted @ 2018-10-30 17:28 chengloading 阅读(1043) 评论(0) 推荐(0)
摘要: MySQL5.6.6版本之后增加了密码强度验证插件validate_password,相关参数设置的较为严格。 影响的语和函数有:create user,grant,set password,password(),old password。 1、查看mysql全局参数配置mysql> SHOW VA 阅读全文
posted @ 2018-10-30 13:58 chengloading 阅读(2254) 评论(0) 推荐(0)
摘要: #定义Nginx运行的用户和用户组 user www www; #nginx进程数,建议设置为等于CPU总核心数。 worker_processes 8; #全局错误日志定义类型,[ debug | info | notice | warn | error | crit ] error_log /u 阅读全文
posted @ 2018-10-30 10:09 chengloading 阅读(184) 评论(0) 推荐(0)
摘要: Oracle Service Bus (OSB) 12c 的配置安装 1、OSB配置环境: Oracle Database Oracle Fusion Middleware Infrastructure Oracle Service Bus Java Development Kit (JDK) 2、 阅读全文
posted @ 2018-10-30 09:53 chengloading 阅读(2755) 评论(0) 推荐(0)