10 2011 档案
摘要:Log4J的配置文件(Configuration File)就是用来设置记录器的级别、存放器和布局的,它可接key=value格式的设置或xml格式的设置信息。通过配置,可以创建出Log4J的运行环境。配置文件Log4J配置文件的基本格式如下:#配置根Loggerlog4j.rootLogger = [ level ] , appenderName1 , appenderName2 , …#配置日...
阅读全文
摘要:Here is a simple way to generate a analyze report by using FindBugs plugins in RSA: Using FindBugs to scan the code and save the result as XML filethe XML report is in a bad format for reading, we can use XSL file to make it easy and clear to read:<?xml version="1.0" encoding="UTF-
阅读全文
摘要:转自:Ubuntu中文论坛-----------------------------------------------------------------------1. 安装Java环境2. 下载Eclipse安装包:http://www.eclipse.org/downloads/index.php3. 切换为root用:zhong@ubuntu:~/Desktop$ sudo -s -H 4. 解压到/opt目录下:root@ubuntu:/home/zhong/Desktop # tar zxvf eclipse-SDK-3.1-linux-gtk.tar.gz -C /opt 5.
阅读全文
摘要:Ubuntu系统自带Gwibber是一款开源的微博客户端,使用Python和GTK语言开发,支持Twitter,Identi.ca, StatusNet, Facebook, Flickr, Digg, FriendFeed和 Qaiku。现在,国人也开发出新浪、搜狐等微博的插件。支持安装新浪微博插件后其他的客户端就无法正常显示了。这一问题现已解决:新浪微博插件安装: sudoapt-add-repository ppa:gwibber-team/ppasudo apt-get updatesudo apt-get installgwibber gwibber-service-sina gwi
阅读全文
摘要:1. 备份更新源:sudo cp /etc/apt/sources.list /etc/apt/sources.list.201110bk2. 更新升级源:sudo gedit /etc/apt/sources.lis用下面的升级源(163)覆盖原文件sources.list的内容:deb http://mirrors.163.com/ubuntu/ oneiric main universe restricted multiverse deb-src http://mirrors.163.com/ubuntu/ oneiric main universe restricted multive
阅读全文
摘要:方法1: 用SET PASSWORD命令 mysql -u root mysql> SET PASSWORD FOR 'root'@'localhost' = PASSWORD('newpass');方法2:用mysqladmin mysqladmin -u root password "newpass" 如果root已经设置过密码,采用如下方法 mysqladmin -u root password oldpass "newpass"方法3: 用UPDATE直接编辑user表 mysql -u ro
阅读全文
摘要:一.问题环境: Eclipse3.4 + Tomcat6.0.20 二.问题现象: 在Eclipse下启动Tomcat6时,控制台会有下面警告信息 警告: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.jee.server:...' did not find a matching property. 三.详细解决办法: 1.打开服务器视图:窗口 > 显示视图 > 服务器 > 服务器 2.双
阅读全文

浙公网安备 33010602011771号