2016年9月3日

摘要: centos7下快速安装mysql CentOS 7的yum源中貌似没有正常安装mysql时的mysql-sever文件,需要去官网上下载 1 2 3 # wget http://dev.mysql.com/get/mysql-community-release-el7-5.noarch.rpm # 阅读全文
posted @ 2016-09-03 23:46 xiaohehe2 阅读(163) 评论(0) 推荐(0)
摘要: 1、xshell无法连接到centos:拒绝连接(无线网) 在xshell ping centos出现: 解决方法: 1、 2、重启下网卡: [root@localhost ~]# /etc/init.d/network stop [root@localhost ~]# /etc/init.d/ne 阅读全文
posted @ 2016-09-03 08:30 xiaohehe2 阅读(4133) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2016-09-03 07:50 xiaohehe2 阅读(102) 评论(0) 推荐(0)

2016年9月2日

摘要: 1、卸载软件:rpm -e +软件名 rpm -ivh n 2、删 除:rm -rf /web (rm -rf *) (-rf代表没删除提示) 3、修改名字:mv oldname newname 4、编辑文件: vi +文件名 按ESC输入:wq enter 保存并退出(:q不保存退出) 5、查看是 阅读全文
posted @ 2016-09-02 13:12 xiaohehe2 阅读(129) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2016-09-02 09:32 xiaohehe2 阅读(289) 评论(0) 推荐(0)
摘要: 一、实时查看tomcat的日志 1、先切换到tomcat5/logs 2、tail -f catalina.out 3、这样运行时就可以实时查看运行日志了 例如: cd /tomcat7/logs tail -f catalina.out 一、实时查看tomcat的日志 1、先切换到tomcat5/ 阅读全文
posted @ 2016-09-02 09:27 xiaohehe2 阅读(227) 评论(0) 推荐(0)
摘要: Linux下安装Tomcat服务器和部署Web应用 一、上传Tomcat服务器 二、安装Tomcat服务器 2.1、解压tomcat服务器压缩包 2.2、配置环境变量 tomcat服务器运行时是需要JDK支持的,所以必须配置好JDK用到的那些环境变量 编辑/etc下的profile文件,加上如下内容 阅读全文
posted @ 2016-09-02 09:21 xiaohehe2 阅读(3416) 评论(0) 推荐(0)

2016年9月1日

摘要: CentOS7默认的防火墙不是iptables,而是firewalle. 安装iptable iptable-service #先检查是否安装了iptables service iptables status #安装iptables yum install -y iptables #升级iptabl 阅读全文
posted @ 2016-09-01 22:27 xiaohehe2 阅读(185) 评论(0) 推荐(0)

2016年8月16日

摘要: <%@ taglib prefix='fmt' uri="http://java.sun.com/jsp/jstl/fmt" %> <fmt:formatDate value="${article.publishDate}" pattern="yyyy-MM-dd"/> 阅读全文
posted @ 2016-08-16 18:08 xiaohehe2 阅读(149) 评论(0) 推荐(0)

2016年8月8日

摘要: 实体关系之@OneToMany 博客分类: hibernate & ejb SQL 实体关系之@OneToMany hibernate & ejb SQL Order.java Java代码 package com.entity; import java.io.Serializable; impor 阅读全文
posted @ 2016-08-08 15:01 xiaohehe2 阅读(584) 评论(0) 推荐(0)

导航