热部署可以使的修改代码后,无须重启服务器,就可以加载更改的代码。 第1种:修改服务器配置,使得IDEA窗口失去焦点时,更新类和资源 菜单Run -> EditConfiguration , 然后配置指定服务器下,右侧server标签下on frame deactivation = Update cl ...
分类:
其他好文 时间:
2018-11-11 13:55:12
阅读次数:
166
一、jumpserver搭建过程 1、搭建需要有阿里的云yum仓库 wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-6.repo 2、解压跳板机源码包 将源码包拷贝到jumpserver服 ...
分类:
其他好文 时间:
2018-11-10 19:15:08
阅读次数:
213
第1步:进入到/etc/yum.repos.d/目录中(因为该目录存放着Yum软件仓库的配置文件)。 第2步:使用Vim编辑器创建一个名为rhel7.repo的新配置文件(文件名称可随意,但后缀必须为.repo),逐项写入下面加粗的配置参数并保存退出(不要写后面的中文注释)。 [rhel-media ...
分类:
其他好文 时间:
2018-11-10 15:06:46
阅读次数:
283
一、yum安装: 1. 在/etc/yum.repos.d/目录创建文件elasticsearch.repo 2. 添加以下内容 3. 执行yum命令:sudo yum install elasticsearch -y 4. 设置开机启动:sudo chkconfig --add elasticse ...
分类:
其他好文 时间:
2018-11-10 00:08:35
阅读次数:
209
1.声明bean的注解 @Component 组件,没有明确的角色 @Service 在业务逻辑层使用(service层) @Repository 在数据访问层使用(dao层) @Controller 在展现层使用,控制器的声明(C) 2.注入bean的注解 @Autowired:由Spring提供 ...
分类:
编程语言 时间:
2018-11-09 16:18:56
阅读次数:
174
Step1:安装erlang 选择在Centos7 上安装: vi /etc/yum.repos.d/rabbitmq-erlang.repo 添加 # In /etc/yum.repos.d/rabbitmq-erlang.repo [rabbitmq-erlang] name=rabbitmq- ...
分类:
其他好文 时间:
2018-11-08 00:12:22
阅读次数:
180
使用IDEA开发Spring Boot项目的时候,利用注解的方式整合Mybatis。在运行的时候有可能会出现"Could not autowire. No beans of 'xxxx' type found"的错误提示,这个提示的意思就是没有找到该类型的bean,也就是说创建dao层的实例失败。 ...
分类:
其他好文 时间:
2018-11-07 21:39:54
阅读次数:
297
wget -O /etc/yum.repos.d/CentOS.repo http://mirrors.aliyun.com/repo/CentOS-7.repo #下载阿里源的repo文件到主机仓库中 ...
分类:
其他好文 时间:
2018-11-07 18:17:17
阅读次数:
857
(1)搭建公网源yum仓库 安装wget aliyun源 # wget -O /etc/yum.repos.d/epel.repo http://mirrors.aliyun.com/repo/epel-6.repo 163源 # wget -O /etc/yum.repos.d/163.repo ...
分类:
系统相关 时间:
2018-11-07 15:30:52
阅读次数:
291
由于上一篇的rac安装,截图较多,这一篇选择以txt的方式叙述,另外上一篇的时间比较久远,这里最近从新安装 --2018-10-29 1 os环境初始化 [root@rac1 yum.repos.d]# lsb_release -aLSB Version: :base-4.0-amd64:base- ...
分类:
数据库 时间:
2018-11-07 14:12:22
阅读次数:
197