摘要:
注解(annotations)列表 (1)@SpringBootApplication:包含了@ComponentScan,@Configuration和@EnableAutoConfiguration注解注解,其中@ComponentScan让spring boot扫描到Configuration 阅读全文
posted @ 2018-12-03 14:27
无敌小韩韩
阅读(470)
评论(0)
推荐(0)
摘要:
jq from表单 取值 //获取表单参数 var DataDeal = { formToJson: function (id) { var data=$(id).serialize();//获取值 data = decodeURIComponent(data,true);//防止中文乱码 data 阅读全文
posted @ 2018-12-03 11:23
无敌小韩韩
阅读(411)
评论(0)
推荐(0)
摘要:
ServletFileUpload 图片上传 <script type="text/javascript"> $(function () { $('#uploadSubmit').click(function () { var file = $('#file')[0].files[0]; var f 阅读全文
posted @ 2018-12-03 11:22
无敌小韩韩
阅读(623)
评论(0)
推荐(0)
摘要:
jq 全选 $(".checkall").change(function(){ if($(this).is(":checked")){ $(".checkchild").prop('checked', this.checked); }else{ $(".checkchild").prop('chec 阅读全文
posted @ 2018-12-03 11:21
无敌小韩韩
阅读(101)
评论(0)
推荐(0)
摘要:
nginx 安装部署 下载编译包 http://nginx.org/en/download.html >> nginx-1.8.1.tar.gz 安装依赖包 yum install gcc gcc-c++ pcre* openssl* gd-devel* zlib-devel pcre-devel 阅读全文
posted @ 2018-12-03 11:19
无敌小韩韩
阅读(153)
评论(0)
推荐(0)
摘要:
linux 安装mysql 1.安装mysql5.6依存包 [root@localhost src]# yum -y install make gcc-c++ cmake bison-devel ncurses-devel libaio [root@localhost src]# yum insta 阅读全文
posted @ 2018-12-03 11:16
无敌小韩韩
阅读(122)
评论(0)
推荐(0)
摘要:
centos7 yum 安装mysql 介绍在CentOS7上yum安装数据库服务器MySQL Community Server 5.7的方法。 准备 CentOS7默认安装了和MySQL有兼容性的MariaDB数据库,在我们安装MySQL5.7之前为了避免发生冲突首先删除MariaDB。 # rp 阅读全文
posted @ 2018-12-03 11:16
无敌小韩韩
阅读(222)
评论(0)
推荐(0)
摘要:
centos7 yum 安装mysql 介绍在CentOS7上yum安装数据库服务器MySQL Community Server 5.7的方法。 准备 CentOS7默认安装了和MySQL有兼容性的MariaDB数据库,在我们安装MySQL5.7之前为了避免发生冲突首先删除MariaDB。 # rp 阅读全文
posted @ 2018-12-03 11:15
无敌小韩韩
阅读(216)
评论(0)
推荐(0)
摘要:
centos7 安装redis # wget http://labfile.oss.aliyuncs.com/files0422/redis-2.8.9.tar.gz # tar xvfz redis-2.8.9.tar.gz # cd redis-2.8.9 # make # cd src # m 阅读全文
posted @ 2018-12-03 11:14
无敌小韩韩
阅读(126)
评论(0)
推荐(0)
摘要:
sprinboot+redis (1)pom.xml引入jar包,如下: <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-data-redis</artifactId> 阅读全文
posted @ 2018-12-03 11:13
无敌小韩韩
阅读(156)
评论(0)
推荐(0)
摘要:
my.conf配置大全 [client]port = 3306socket = /tmp/mysql.sock [mysqld]port = 3306socket = /tmp/mysql.sock basedir = /usr/local/mysqldatadir = /data/mysqlpid 阅读全文
posted @ 2018-12-03 11:12
无敌小韩韩
阅读(4891)
评论(0)
推荐(0)
摘要:
idea远程调试jar包 1 服务器启动jar包 (监听端口5005) java -Xdebug -Xrunjdwp:transport=dt_socket,address=5005,server=y,suspend=y -jar xxxxxx.jar 2配置idea -agentlib:jdwp= 阅读全文
posted @ 2018-12-03 11:11
无敌小韩韩
阅读(1166)
评论(0)
推荐(0)