• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
MDK-L
博客园 | 首页 | 新随笔 | 新文章 | 联系 | 订阅 订阅 | 管理

2016年7月23日

tomcat 开机自启
摘要: vim /etc/init.d/tomcat 1 #!/bin/bash 2 3 4 #match these values to your environment 5 #################################################################################### 6 export JAVA_HOM... 阅读全文
posted @ 2016-07-23 15:11 MyWay686 阅读(229) 评论(0) 推荐(0)
 
redis ubuntu 开机自启
摘要: 1 #! /bin/sh 2 ### BEGIN INIT INFO 3 # Provides: redis-server 4 # Required-Start: $syslog 5 # Required-Stop: $syslog 6 # Should-Start: $local_fs 7 # S 阅读全文
posted @ 2016-07-23 15:10 MyWay686 阅读(300) 评论(0) 推荐(0)
 
 

2016年7月19日

webStorm 中使用 supervisor 调试
摘要: These paths are for Mac OS X 10.8 so you'll have to replace the above paths with paths on your machine. Next, you'll be able to run this in debug mode 阅读全文
posted @ 2016-07-19 11:06 MyWay686 阅读(461) 评论(0) 推荐(0)
 
 

2016年3月30日

ubuntu 14.04 tab失效问题
摘要: 1、利用vi编辑器打开 /etc/bash.bashrc文件(需要root权限) 接下来会提示输入密码 2、找到文件中的下列代码 将注释符号#去掉,即改成 3、最后 source一下 /etc/bash.bashrc即可, 即 阅读全文
posted @ 2016-03-30 09:33 MyWay686 阅读(1018) 评论(0) 推荐(0)
 
ubuntu 14.04 desktop root登陆
摘要: 步骤如下: 1、设置root用户密码 打开终端,输入:sudo passwd root 输入两次root密码 2、切换到root用户,因为用root用户在管理时方便,几乎可以进行各种操作。 在终端输入:su 输入root密码切 3、开启登陆桌面显示login 修改文件/usr/share/light 阅读全文
posted @ 2016-03-30 09:08 MyWay686 阅读(261) 评论(0) 推荐(0)
 
 

2016年3月24日

sitemesh body 失效的问题
摘要: 用过的一看就明白了 关键在这一句 : <sitemesh:getProperty property="body.class" writeEntireProperty="true" /> 阅读全文
posted @ 2016-03-24 00:22 MyWay686 阅读(975) 评论(0) 推荐(0)
 
 

2015年12月25日

ubuntu 搭建http代理
摘要: apt-get install squid修改配置文件:找到http_access deny all 在之前加入auth_param basic program /usr/lib/squid3/basic_ncsa_auth(此文件不同版本略有变化,请注意修改) /etc/squid3/squid.... 阅读全文
posted @ 2015-12-25 16:56 MyWay686 阅读(1590) 评论(0) 推荐(0)
 
 

2015年12月14日

XStream配置XML节点既有属性又有内容
摘要: 两种方法:1 text1 @XStreamAlias("node")2 @XStreamConverter(value=ToAttributedValueConverter.class, strings={"text"})3 public class Node {4 private Stri... 阅读全文
posted @ 2015-12-14 10:48 MyWay686 阅读(1206) 评论(0) 推荐(1)
 
 

2015年12月10日

JDK所有旧版本在官网中的下载地址
摘要: http://www.oracle.com/technetwork/java/archive-139210.html 阅读全文
posted @ 2015-12-10 18:08 MyWay686 阅读(252) 评论(0) 推荐(0)
 
 

2015年10月19日

jsp 静态资源 打入jar
摘要: 1. 在maven项目的src/main/resources 中新建 META-INF/resources2. 在pom中配置插件: maven-jar-plugin 具体配置如下 1 2 3 4 org.apache.m... 阅读全文
posted @ 2015-10-19 15:55 MyWay686 阅读(679) 评论(0) 推荐(0)
 
 
下一页

公告


博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3