摘要:
shell远程执行: 经常需要远程到其他节点上执行一些shell命令,如果分别ssh到每台主机上再去执行很麻烦,因此能有个集中管理的方式就好了。一下介绍两种shell命令远程执行的方法。 前提条件: 配置ssh免密码登陆 对于简单的命令: 如果是简单执行几个命令,则: 基本能完成常用的对于远程节点的 阅读全文
posted @ 2017-05-15 09:49
沧海一滴
阅读(146564)
评论(4)
推荐(6)
摘要:
An error will occur when inserting a new record in MySQL if the primary key specified in the insert query already exists. Using the "IGNORE" keyword p 阅读全文
posted @ 2017-05-15 09:48
沧海一滴
阅读(230)
评论(0)
推荐(0)
摘要:
Spring提供了两种后台任务的方法,分别是: 调度任务,@Schedule 异步任务,@Async 当然,使用这两个是有条件的,需要在spring应用的上下文中声明<task:annotation-driven/>当然,如果我们是基于java配置的,需要在配置哪里加多EnableSchedulin 阅读全文
posted @ 2017-05-15 09:47
沧海一滴
阅读(1558)
评论(0)
推荐(0)
摘要:
73. Embedded servlet containers 73.1 Add a Servlet, Filter or Listener to an application There are two ways to add Servlet, Filter, ServletContextList 阅读全文
posted @ 2017-05-15 09:41
沧海一滴
阅读(2404)
评论(0)
推荐(0)
摘要:
Note: There is no need to install Jenkins on the slave machine. Note: There is no need to install Jenkins on the slave machine. Also: take a look at D 阅读全文
posted @ 2017-05-15 09:38
沧海一滴
阅读(434)
评论(0)
推荐(0)