胖大海 胖大海
2年前
Linux centos7 安装zookeeper
一:下载zookeeper安装包从官网下载:https://www.apache.org/dyn/closer.lua/zookeeper/zookeeper3.5.10/apachezookeeper3.5.10.tar.gz二:上传并配置zookeeper1.放在/usr/local目录下并解压。tarzxvfapachezookeeper3.5.1
Stella981 Stella981
3年前
Spring Boot 2 (二):Spring Boot 2 动态 Banner
SpringBoot2(二):SpringBoot2动态BannerSpringBoot2.0提供了很多新特性,其中就有一个小彩蛋:动态Banner。一、配置依赖使用SpringBoot2.0首先需要将项目依赖包替换为刚
Wesley13 Wesley13
3年前
Java修饰符判断
Java反射包里有一个类叫Modifier。里面有许多判断是否public,private等比如,判断修饰符是否是public    public static boolean isPublic(int mod) {        return (mod & PUBLIC) ! 0;    }这个intmod存在于Field,Me
Wesley13 Wesley13
3年前
Ubuntu 16.04安装jenkins
安装jdksudoaptgetinstallopenjdk8jdk安装jenkins前需要吧最近的jenkins添加到系统,而不用ubuntu默认的jenkins软件包,因为它带的版本太老了。wgetqOhttps://pkg.jenkins.io/debian/jenkinsci.org.key|sudoapt
Stella981 Stella981
3年前
Jenkins环境搭建及项目部署(linux)
一、  环境搭建1. Jenkins安装及配置安装:利用官方提供的Debian软件包仓库,可以自动安装和升级,首先将秘钥添加到系统。wgetqO https://pkg.jenkins.io/debianstable/jenkins.io.key|sudoaptkeya
Stella981 Stella981
3年前
Fedora21安装ZendServer之后yum报错
Fedora21安装ZendServer之后yum坏掉了...运行说pycurl:libcurllinktimeversion(7.20.1)isolderthancompiletimeversion(7.37.0)在源中手动下在了相关包重装了也不行,在网上搜索了一下,最后找到一个帖子http://netstu.
Stella981 Stella981
3年前
Centos 安装mysql 5.6
第一步,先查看系统上有没有安装了旧版本的mysql,用下面的命令rpmqa|grepmysql如果有,用以下命令卸载rpmenodeps上步显示mysql名称安装编译mysql需要的依赖包yuminstalllibeventlibtoolautoconflibstd
Wesley13 Wesley13
3年前
#建模大赛预备#认真学习装饰器
!illustration(https://static.oschina.net/uploads/img/201612/17015549_rIYh.jpg"伪物语")1.什么是闭包装饰器的一个基本原理就是闭包,函数嵌套:deffunc1(x):returnxdeffunc2(y):
Stella981 Stella981
3年前
Mybatis别名的配置使用
之前,我们在sql映射xml文件中的引用实体类时,需要写上实体类的全类名(包名类名),如下<! 创建用户(Create)   <insert id"addUser" parameterType"me.gacl.domain.User"    insert into users(name,
Stella981 Stella981
3年前
MongoDb语法
查看当前都有哪些数据库showdbs;查看都有哪些集合showcollections 使用insert方法插入文档,以{}包注,文档是以键值对出现的,必须成对设置db.user.insert({"uid":1,"name":"luotianshuai","age":18,"salary":1})2、查询