摘要: "本文采用源码编译安装,包括具体的编译参数信息"1.安装make# yum -y install gcc automake autoconf libtool make // -y 代表自动选择 yes // gcc (GNU Compiler Collection) 起初为C预言的编译器(GNU... 阅读全文
posted @ 2016-01-08 22:38 CNTX 阅读(185) 评论(0) 推荐(0)
摘要: # vi filename (vi hello.log 打开或新建一个文件)# vi +/pattern filename (vi +/zhangtx hello.log 打开文件,并将光标定位于与zhangtx第一个匹配的字符串)# vi -r filename (vi -r hello.log ... 阅读全文
posted @ 2016-01-07 16:39 CNTX 阅读(170) 评论(0) 推荐(0)
摘要: Ununtu安装MySQL需要三个指令: 1. 指令一 图1: 图2 2.指令二、指令三 3.检查安装是否成功 图3 4. 配置mysql //设置mysql用户名和密码,如:mysqladmin –u root pasword ‘root’用户名和密码都是root。 5. 远程访问 通过pc机my 阅读全文
posted @ 2015-12-31 10:12 CNTX 阅读(259) 评论(0) 推荐(0)
摘要: 1. 检查mysql 如果存在相应文件:样式如: mysql-xxxxx mysql-xxxxx 2. 安装mysql 如果安装过程中提示error:conflicts with file from package,清除相应的包 3. 配置mysql //设置mysql用户名和密码,如:mysqla 阅读全文
posted @ 2015-06-04 15:26 CNTX 阅读(2632) 评论(0) 推荐(0)
摘要: 参考资料:http://mybatis.github.io/mybatis-3/zh/index.html1)项目结构2)Bus.javapackage com.mybatis.po;public class Bus { private String busID; private Str... 阅读全文
posted @ 2015-06-03 15:48 CNTX 阅读(204) 评论(0) 推荐(0)
摘要: mysql安装(windows)1. 下载mysql安装文件1)登录到mysql官网(http://www.mysql.com)2)有两种安装格式文件,msi和zip2. 安装msi类型mysql1)和安装常用软件基本一样,下一步(Next)。3. 安装zip类型mysql1)将zip文件解压(可以... 阅读全文
posted @ 2015-06-02 10:01 CNTX 阅读(161) 评论(0) 推荐(0)
摘要: 在Spring3 版本中,(@Repository @Controllor @Service)这3个注解和 @Component 是等效的,Spring会在后续版本中增加这三个注解的特殊功能。Spring Annotation@Service:用于标注业务层组件@Controller:用于标注控制层... 阅读全文
posted @ 2015-06-02 09:57 CNTX 阅读(142) 评论(0) 推荐(0)
摘要: 一、创建工程 1. 在MyEclipse中new-->Java Project 2. 准备jar antlr-2.7.6.jar commons-collections-3.1.jar dom4j-1.6.1.jar ejb3-persistence.jar hib... 阅读全文
posted @ 2015-02-09 14:57 CNTX 阅读(202) 评论(0) 推荐(0)
摘要: //// Git 指令//// 1.常用指令$ git status // 查看当前版本库状态$ git diff [fileName] // 比较差异$ git log // 提交日志$ git log --pretty=oneline // 单行查看$ git reflog // 查看命令历... 阅读全文
posted @ 2015-02-09 14:03 CNTX 阅读(180) 评论(0) 推荐(0)
摘要: // Git 安装//// 1.在Linux上安装Git/* 首先,输入git,检查系统是否安装git $ git The program 'git' is currently not installed. You can install it by typing: ... 阅读全文
posted @ 2015-02-07 10:57 CNTX 阅读(256) 评论(0) 推荐(0)