会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
until—u
Just The Way You Are
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
下一页
2016年7月9日
centos7安装nodejs
摘要: 方法一、https://github.com/nodesource/distributions#rpminstall 按照上面地址中的教程安装完后,使用node -v命令报错: -bash: /usr/local/bin/node: 没有那个文件或目录 使用: sudo node -v 则可以运行
阅读全文
posted @ 2016-07-09 01:19 until-u
阅读(389)
评论(0)
推荐(0)
2016年7月3日
virtualbox 安装centos系统,设置双网卡实现虚拟机上网及主宿互访
摘要: 写在前面:前两天想玩linux,在VMware中装了centos,进入系统后发现连不上网,搜了下教程,/etc/sysconfig/network-scripts/目录下没有 ifcfg-e*的文件 创建了一个 ifcfg-eth0,内容如下 重启网络后多了一个文件ifcfg-eno16777736
阅读全文
posted @ 2016-07-03 21:03 until-u
阅读(984)
评论(0)
推荐(0)
2016年7月2日
linux centos7 安装redis
摘要: 首先看官方教程:http://redis.io/download Download, extract and compile Redis with: The binaries that are now compiled are available in the src directory. Run
阅读全文
posted @ 2016-07-02 23:37 until-u
阅读(833)
评论(0)
推荐(0)
linux安装nginx
摘要: 一、下载nginx,解压到/usr/local/nginx 二、安装相关依赖 yum -y install pcre-devel openssl openssl-devel yum install gcc gcc-c++ ncurses-devel perl 三、执行 ./configure --p
阅读全文
posted @ 2016-07-02 23:13 until-u
阅读(242)
评论(0)
推荐(0)
2016年6月29日
gulp入门
摘要: 参考:http://www.ydcss.com/archives/18 http://www.tuicool.com/articles/FJVNZf 1.淘宝npm服务 :npm install cnpm -g --registry=https://registry.npm.taobao.org 2
阅读全文
posted @ 2016-06-29 12:12 until-u
阅读(253)
评论(0)
推荐(0)
2016年6月15日
spring boot 打war包部署,打jar包
摘要: 官方文档:http://docs.spring.io/spring-boot/docs/current/reference/htmlsingle/#howto-create-a-deployable-war-file 一:更改程序入口类 Application.java 使其继承SpringBoot
阅读全文
posted @ 2016-06-15 14:00 until-u
阅读(1369)
评论(2)
推荐(0)
2016年6月4日
spring boot 读取配置文件信息
摘要: 1.读取application.properties 使用:在需要的地方 注入该文件,@Autowired xxxConfig xxx; 调用xxx.getXxx()方法即可 不同运行环境使用不同配置文件: 在application.properties中添加 application-dev.pro
阅读全文
posted @ 2016-06-04 12:17 until-u
阅读(529)
评论(0)
推荐(0)
2016年5月25日
spring boot 拦截器添加
摘要: @Configuration public class WebMvcConfig extends WebMvcConfigurerAdapter { @Autowired private XxxInterceptor xxxInterceptor;//需要在该拦截器上添加@Configuration
阅读全文
posted @ 2016-05-25 13:56 until-u
阅读(2625)
评论(0)
推荐(0)
2016年5月20日
spring boot controller路由 url 扫描不到问题
摘要: spring boot项目出现controller的路由没被注册,原因:启动类application跟controller不在一个包中,扫描不到controller, 如启动类在com.oyx.a,controller在com.oyx.b 解决办法: 方法1:将controller跟启动类放在一个包
阅读全文
posted @ 2016-05-20 16:23 until-u
阅读(4408)
评论(1)
推荐(0)
2016年5月19日
spring boot 事件发布与接收
摘要: spring 事件发布
阅读全文
posted @ 2016-05-19 11:50 until-u
阅读(790)
评论(0)
推荐(0)
上一页
1
2
3
下一页
公告