之前写了Spring的实现原理,今天我们接着聊聊Hibernate的实现原理,package com.tgb.hibernate;
import java.lang.reflect.Method;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.PreparedStatement;
import...
分类:
系统相关 时间:
2014-07-25 11:14:55
阅读次数:
343
一直用的是ssh,因为公司要用到SpringMVC,以前也没接触过,所以今天来和大家一起学习一下这个框架,以便工作需要。 例子大家可以到我上传的资源处http://download.csdn.net/download/tjcyjd/4251483下载。 首先我们先来了解一下什么是模式,模式就是解.....
分类:
数据库 时间:
2014-07-25 02:33:14
阅读次数:
506
1、在linux工作机上生成密钥对ssh-keygen -t rsa输入用户名但不输入passphrase,这样连接时就不用每次都输入passphrase了。2、添加用户和仓库在管理员的工作机上导出gitolite-admingit clone git@host:gitolite-admin在key...
分类:
其他好文 时间:
2014-07-24 21:19:53
阅读次数:
237
# ClouderaManager以及CM5.1.0半离线集群部署安装
目前 CM5.1.0 ,CDH5.1.0 是最新版本
# 学习前言
# CM安装前的准备
# 基本环境的配置
# ssh免密码登录
前面已经介绍,这里不再介绍了
# 关闭防火墙
[root@a234-198 cm5.1.0]# service iptables stop
# 修改hosts文件(也是必须的)
必须严格按照以下这种格式 ip aaa.bbb.ccc aaa
例如:116.255.234.198a234-...
分类:
其他好文 时间:
2014-07-24 17:38:46
阅读次数:
419
今天才知道,原来SecureCRT可以使用linux下的zmodem协议来快速的传送文件,而且还使用非常方便哦,我还傻傻的找其他软件来sftp,笨死了:(
你只要设置一下上传和下载的默认目录就行
options-->session options-->file transfer 下可以设置上传和下载的目录
剩下的你只要在用SecureCRT登陆linux终端的时候:
发送文件到客户端:
...
分类:
其他好文 时间:
2014-07-24 11:36:02
阅读次数:
276
ECharts显示SSH框架从数据库调出的数据
通过JQueryAjax请求Action返回JSON对象
并将JSON对象填充到ECharts图表中...
分类:
数据库 时间:
2014-07-24 10:48:01
阅读次数:
19930
需要经常ssh到其它机器上,但如果每次都使用主机命名或ip地址,那挺难受的。这里有2个方法可以在ssh登陆时缩写(简写)主机名。1. 在~/.ssh中添加config文件[toughhou@hd1 ~]$ vi ~/.ssh/config#C3 HostHost hd1Hostname ...
分类:
其他好文 时间:
2014-07-24 09:50:03
阅读次数:
267
查看一个命令属于哪个rpm包[root@node1yum.repos.d]#whichssh-copy-id
/usr/bin/ssh-copy-id
Youhavenewmailin/var/spool/mail/root
[root@node1yum.repos.d]#rpm-qf/usr/bin/ssh-copy-id
openssh-clients-4.3p2-82.el5
分类:
其他好文 时间:
2014-07-23 21:27:46
阅读次数:
204
[root@cent6~]#ssh-keygen-trsa-P‘‘
Generatingpublic/privatersakeypair.
Enterfileinwhichtosavethekey(/root/.ssh/id_rsa):
/root/.ssh/id_rsaalreadyexists.
Overwrite(y/n)?y
Youridentificationhasbeensavedin/root/.ssh/id_rsa.
Yourpublickeyhasbeensavedin/root/.ssh/..
分类:
其他好文 时间:
2014-07-23 21:27:26
阅读次数:
301
把你的本地主机用户的ssh公匙文件复制到远程主机用户的~/.ssh/文件夹中1.在本地主机的用户可以是(root,cusadmin,以及准备使用scp的user)运行:[root@root~]#ssh-keygen-trsaGeneratingpublic/privatersakeypair.Enterfileinwhichtosavethekey(/root/.ssh/id_rsa):回车Enterpa..
分类:
系统相关 时间:
2014-07-23 21:14:26
阅读次数:
270