posts - 88,comments - 7,views - 22万
08 2018 档案
Nginx80端口转发+域名——实现IP+端口隐藏
摘要:一.目的1.相信大家会遇到这样的问题:当一台服务器部署多个tomcat应用时,当我们访问tomcat时,需要在浏览器中输入服务器IP+端口号,这看起来非常的low。 二. 环境 1台服务服务器 假如IP:192.168.1.10 一个ngnix 使用默认端口为80 Tomcat1 端口为18501 阅读全文
posted @ 2018-08-17 17:38 菜霸 编辑
Linux服务器安装Nginx
摘要:Nginx 安装 一、安装编译工具及库文件 二、首先要安装 PCRE PCRE 作用是让 Nginx 支持 Rewrite 功能。 1、下载 PCRE 安装包,下载地址: http://downloads.sourceforge.net/project/pcre/pcre/8.35/pcre-8.3 阅读全文
posted @ 2018-08-17 17:09 菜霸 编辑
MyBatis Generator 生成数据库自带中文注释
摘要:1. maven依赖 2. 自定义的CommentGenerator类 package org.mybatis.generator; import static org.mybatis.generator.internal.util.StringUtility.isTrue; import java 阅读全文
posted @ 2018-08-06 15:49 菜霸 编辑
Spring整合mybatis
摘要:Maven配置 Maven配置依赖 Spring中配置 Mybatis。由Spring管理mybatis 直接在spring配置文件中设置Mybatis即可。 Spring-config.xml 内容如下 <?xml version="1.0" encoding="UTF-8"?> <beans x 阅读全文
posted @ 2018-08-01 11:53 菜霸 编辑

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

点击右上角即可分享
微信分享提示