会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
steven-russell
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
2019年11月15日
hibernate环境配置
摘要: 添加相关依赖 <properties> <hibernate-version>4.3.10.Final</hibernate-version> <mysql-version>5.1.30</mysql-version> </properties> <dependencies> <dependency
阅读全文
posted @ 2019-11-15 08:40 Steven-Russell
阅读(11)
评论(0)
推荐(0)
2019年10月28日
服务注册中心搭建(Dubbo)
摘要: 创建Linux环境 创建一个配置好jdk的环境,如果想使用项目管理界面,还需要安装tomcat,在此使用rz命令进行文件上传的 yum install -y lrzsz zookeeper安装 1、上传安装包 2、解压安装包,并且复制到/usr/local,重命名为zookeeper tar zxv
阅读全文
posted @ 2019-10-28 15:02 Steven-Russell
阅读(12)
评论(0)
推荐(0)
2019年10月24日
linux中JDK和tomcat配置步骤
摘要: 配置JDK 1、上传文件到linux中 yum install -y lrzsz之后直接将文件拖拽到/uer/local/tmp目录下 2、解压文件并将解压后的文件复制到/usr/local/jdk目录中 tar zxvf jdk-7u80-linux-x64.tar.gz cp jdk1.7.0_
阅读全文
posted @ 2019-10-24 16:36 Steven-Russell
阅读(30)
评论(0)
推荐(0)
nginx安装步骤
摘要: 一、安装相关依赖: 1、yum install -y gcc-c++ 2、yum install -y pcre pcre-devel 3、yum install -y zlib zlib-devel 4、yum install -y openssl openssl-devel 二、将nginx上传
阅读全文
posted @ 2019-10-24 16:07 Steven-Russell
阅读(81)
评论(0)
推荐(0)
2019年10月23日
dubbo基本用法
摘要: 对外提供接口项目作为其他项目调用dubbo服务的入口 新建一个项目Provider,提供具体的服务 在Provider项目中配置pom.xml <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.or
阅读全文
posted @ 2019-10-23 18:25 Steven-Russell
阅读(13)
评论(0)
推荐(0)
使用Maven进行web项目创建
摘要: eclipse中配置Maven基础环境 在pom.xml中引入相关依赖(SSM) <properties> <servlet-version>3.0.1</servlet-version> <jsp-version>2.2</jsp-version> <jstl-version>1.2</jstl-
阅读全文
posted @ 2019-10-23 17:48 Steven-Russell
阅读(10)
评论(0)
推荐(0)
2019年9月21日
mysql常用操作
摘要: 给指定字段添加注释: alter table 表名 modify column 字段名 字段类型(字节数) comment '注释' alter table student modify column sname VARCHAR(50) comment '学生姓名' 给表格指定字段添加外键约束: a
阅读全文
posted @ 2019-09-21 21:29 Steven-Russell
阅读(6)
评论(0)
推荐(0)
2019年9月19日
log4j日志文件输出到项目根目录
摘要: 在使用log4j进行日志文件输出时,并不能够默认输出到项目根目录,或者输出到相对路径,只能输出到绝对路径。 经修改配置文件得到有效解决: 1.配置监听器 通过监听器获取项目绝对路径,并且配置系统属性变量 String log4jDir=arg0.getServletContext().getReal
阅读全文
posted @ 2019-09-19 20:36 Steven-Russell
阅读(54)
评论(0)
推荐(0)
2019年8月20日
ByteArrayInputStream和ByteArrayOutputStream的使用
摘要: ByteArrayInputStream需要绑定数据源 ByteArrayInputStream bais=new ByteArrayInputStream(fileByteArray);//fileByteArray为字节数组 ByteArrayOutputStream则不需要绑定数据输出目标:
阅读全文
posted @ 2019-08-20 12:42 Steven-Russell
阅读(38)
评论(0)
推荐(0)
上一页
1
2
3
4
5
公告