上一页 1 ··· 30 31 32 33 34 35 36 37 38 ··· 87 下一页
摘要: 由于16.04 server 默认安装python 3.X ,部分应用需要依赖2.7 原文:https://www.jianshu.com/p/743967c7ab1b 安装: 下载Python2包,最新的版本为2.7.15 wget https://www.python.org/ftp/pytho 阅读全文
posted @ 2020-06-20 13:52 lshan 阅读(1306) 评论(0) 推荐(0)
摘要: 依赖: <dependency> <groupId>org.springframework.cloud</groupId> <artifactId>spring-cloud-starter-netflix-ribbon</artifactId> <version>2.1.0.RELEASE</ver 阅读全文
posted @ 2020-06-19 20:05 lshan 阅读(218) 评论(0) 推荐(0)
摘要: 由于spingcloud 版本更新比较快,此处重新整理一版: 版本: Java 8 spring boot <version> 2.1.15.RELEASE </version> <spring-cloud.version>Greenwich.SR6</spring-cloud.version> 1 阅读全文
posted @ 2020-06-19 19:03 lshan 阅读(355) 评论(0) 推荐(0)
摘要: 由于spingcloud 版本更新比较快,此处重新整理一版: docker 安装: sudo docker run -itd --name my_eureka --restart unless-stopped -p 8761:8761 --net host \ -e JAVA_OPTS="-Xmx2 阅读全文
posted @ 2020-06-19 15:39 lshan 阅读(322) 评论(0) 推荐(0)
摘要: 原文:https://www.jb51.net/article/63585.htm 这篇文章主要介绍了简单地把MySQL表结构映射为Python中的对象的方法,用到了Python中的SQLAlchemy库,需要的朋友可以参考下 ORM mysql的表结构是二维表,用python的数据结构表示出来就是 阅读全文
posted @ 2020-06-18 18:14 lshan 阅读(1236) 评论(0) 推荐(0)
摘要: sqoop 脚本: #!/bin/bash ######## sqoop_import.sh $1 $2 ####### db_date=$2 echo $db_date db_name=gmall #########该方法有两个参数 $1 $2############ import_data() 阅读全文
posted @ 2020-06-17 10:32 lshan 阅读(717) 评论(0) 推荐(0)
摘要: 参考原文:https://blog.csdn.net/wyfsxs/article/details/80608957 1. 首先安装ntp服务(ubuntu 16.02)在linux的root用户下执行以下命 sudo apt-get install ntp (如果不是ubuntu系统则执行 yum 阅读全文
posted @ 2020-06-09 15:00 lshan 阅读(2629) 评论(1) 推荐(0)
摘要: 原文:https://yq.aliyun.com/articles/654743 官方文档: https://cwiki.apache.org/confluence/display/Hive/LanguageManual+LateralView https://cwiki.apache.org/co 阅读全文
posted @ 2020-06-08 17:41 lshan 阅读(1096) 评论(0) 推荐(0)
摘要: 原文:https://www.cnblogs.com/bigbigbigo/p/10952895.html Mysql 5.7+: GROUP_CONCAT() GROUP_CONCAT([DISTINCT] expr [,expr ...] [ORDER BY {unsigned_integer 阅读全文
posted @ 2020-06-08 11:12 lshan 阅读(8260) 评论(0) 推荐(0)
摘要: ts="$(date '+%s')" ==》时间戳sed -i "s/main.js?v=[0-9]*$/main.js?v=${ts}/g" ./xxx/index.html #change-domain-entrypoint.sh echo '#!/bin/bash sed -i 's/\${D 阅读全文
posted @ 2020-06-04 14:35 lshan 阅读(7722) 评论(0) 推荐(0)
上一页 1 ··· 30 31 32 33 34 35 36 37 38 ··· 87 下一页