本站首页  我的首页  管理页面  写新日志  退出  Think different -- 不同凡想

«September 2010»
1234
567891011
12131415161718
19202122232425
2627282930


公告
Log4J = blog for Java

  Moved to blog.baturu.com/


GTalk:



我的分类(专题)
首页(122)
J2EE(5)
News(6)
JSP/Servlet(7)
EJB(0)
DataBase(6)
Linux(15)
Web FrameWork(16)
Others(13)
Servers(6)
XML(1)
UML series(1)
JavaScript(4)
WebService/SOAP(9)
J2SE(24)
Design Patterns(8)

日志更新

最新评论

留言板

链接

Open your thoughts
Blog@csdn.net


JAVA-related

Linux

Open Source Software

XML&SOAP&WebService

apache.org mirror in China
Others

I am a Manchurian




Blog信息
blog名称:Open your thoughts
日志总数:122
评论数量:90
留言数量:2
访问次数:446858
建立时间:2004年11月9日




[Linux]mac上视频聊天
原创空间,  软件技术

Nurhachi.Zhang 发表于 2006-8-13 17:43:41

现在skype有版本支持mac上视频,而且,有一个开源项目macam提供了摄像头的驱动程序,支持不少摄像头

阅读全文(2477) | 回复(3) | 编辑 | 精华 | 删除
 


[Linux]配置ubuntu server
事件记录,  软件技术

Nurhachi.Zhang 发表于 2006-8-5 18:34:00

    在使用apt-get update的时候,发现有temporary resolving failture,遂怀疑是dns有问题。在我这里dhcp是没问题的,放到同学那里使用的是静态ip,dns没有做相应更改。在resolv.conf中将dns重新设置,问题便解决了。    这次在配置服务器的时候,发现ubuntu 源竟然提供了这么完美的工具,比如java,tomcat,mysql,apache2,以及apache2与tomcat连接的模块都提供了,你要做的只是apt-get。

阅读全文(2070) | 回复(0) | 编辑 | 精华 | 删除
 


[Linux]Linux下把GBK编码的文件转化为utf-8编码的命令
文章收藏,  软件技术

Nurhachi.Zhang 发表于 2006-5-25 15:52:05

iconv -f gbk -t utf8 in_file > out_file

阅读全文(2438) | 回复(1) | 编辑 | 精华 | 删除
 


[Linux]Installation/PowerPC
文章收藏,  软件技术

Nurhachi.Zhang 发表于 2006-5-10 13:42:08

原文出处:UbuntuWiki 原文作者:UbuntuWiki 授权许可:GNU General Public License 翻译/修改人员:MillenniumDark 校对人员:
阅读全文(2657) | 回复(1) | 编辑 | 精华 | 删除
 


[Linux]ubuntu英文环境下激活中文输入法 - 作者: huihoo-Allen
文章收藏,  软件技术

Nurhachi.Zhang 发表于 2006-4-7 9:19:18

我安装配置ubuntu是按照 www.ubuntu.org.cn 里的“快速设置指南”来的。
按照它的方法配置的中文支持和fcitx。

想实现英文环境中文输入时遇到了困难。后来经过很多次尝试发现问题出现在LC_ALL=**上。
现在说一下我实现的方法:

如果你全部按照“快速设置指南”的话完成后是中文界面。
然后进行以下修改:

1: sudo dpkg-reconfigure locales
改默认locale为en_US.UTF-8,这个时候注销重启x的话应该还是中文界面。

2: sudo gedit /etc/environment

将其改为如下:
LC_CTYPE="zh_CN.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=
LANGUAGE="zh_CN:zh:en_US:en"
GST_ID3_TAG_ENCODING=GBK

阅读全文(5776) | 回复(0) | 编辑 | 精华 | 删除
 


[Linux]自动挂载 windows 分区 --- http://www.ubuntu.org.cn
文章收藏,  网上资源,  软件技术,  电脑与网络

Nurhachi.Zhang 发表于 2006-2-24 19:43:02

自动挂载 windows 分区 执行下列命令, 编辑挂载脚本 autowinfs.

sudo gedit /usr/sbin/autowinfs

复制粘贴以下引用的内容,

保存文件, 退出。
#!/bin/sh
#
#autowinfs auto mount windows disks
#
# Copyright (c) 2005 Jiahua Huang <jhuangjiahua@gmail.com>
#License: GPLv2

#
# /usr/bin/sutowinfs
# 用来自动挂载机器上的 Windows 分区 , 并写入 /etc/fstab
# 五 2月 18 14:06:12 CST 2005

mkdir -p /windows/
rmdir /windows/* 1> /dev/null
grep -v '/windows/' /etc/fstab > /etc/fstab.swp


# 本脚本用于 UTF-8 的 Locale 下
# 单独的 fdisk -l 不能列出分区的情况很少了 , 所以把 /dev/[hs]d[a-z] 去掉
## fdisk -l /dev/[hs]d[a-z] | grep -E 'FAT|NTFS' | cut -d' '

阅读全文(2270) | 回复(0) | 编辑 | 精华 | 删除
 


[Linux]安装 J2SE JDK 5.0
文章收藏,  网上资源,  软件技术,  电脑与网络

Nurhachi.Zhang 发表于 2006-2-24 19:32:38

作者:懒猫 [ stephencat AT 126.com ],写于 2005 年 10 月 14 日。

适用发行版:Fedora Core 3, Fedora Core 4, 使用 GCJ 作为默认 Java 环境的发行版

一、下载JDK

http://java.sun.com/

根据自己的机器来下载对应的版本

jdk-1_5_0_05-linux-i586.bin For Linux32

这是 J2SE Development Kit 1.5 update 5 for Linux 的 sh 自解压执行脚本。里面已经包含安装压缩包。

二、解压和配置

1、释放软件包

查看当前目录下所有文件
[root@localhost sunjava]# ls

jre-1_5_0_04-linux-i586.bin

执行 sh 自解压脚本
[root@localhost sunjava]# sh

阅读全文(2552) | 回复(0) | 编辑 | 精华 | 删除
 


[Linux]我的 ubuntu 桌面快照
随笔,  休闲娱乐

Nurhachi.Zhang 发表于 2006-2-24 18:17:27





阅读全文(1512) | 回复(0) | 编辑 | 精华 | 删除
 


[Linux]Netbeans on Mac Tip
文章收藏,  软件技术

Nurhachi.Zhang 发表于 2005-12-31 22:37:10

Posted by joshy on November 23, 2005 at 11:14 AM

As some of you may know I'm a big Mac person. I split my time equally between my iBook (now heading back to the shop, alas) and my WinXP desktop. Being a dyed in the wool plain jane text editor type of programmer I've used jEdit for the past five years and have only recently started using an IDE like Netbeans. I've found Netbeans to a great productivity booster but on my iBook it seems to generate garbage at a mad pace. This is okay, it's just garbage, not a memory leak; but it's a pain when the editor locks up for five seconds to do garbage collection. Fortunately there is a solution.

I recently gave a talk on application optimization at JavaOne Tokyo. The last part of the presentation talks about how choose different garbage

阅读全文(1269) | 回复(0) | 编辑 | 精华 | 删除
 


[Linux]How to write Java programs on your mac - http://www.people.virginia.edu/~apf8b/CSpage/javaonmacs.html
文章收藏,  软件技术

Nurhachi.Zhang 发表于 2005-11-17 11:04:13

This website explains how to compile and run Java 2 SE 5.0 (Java 1.5) programs on the Mac OS X. The tutorial is meant for Tiger (Mac OS 10.4.2), but information regarding Panther (Mac OS 10.3.*) is located at the bottom of the page. Instructions For Tiger (10.4) If you are using Tiger, it is recommended that you upgrade to the most recent release of the operating system (10.4.2 at present). You can check what version of the OS you're running by going to "About This Mac" in the drop-down Apple menu. PART I: Installing the necessary Java 1.5 files. First, you must install the Java 1.5 files located at http://www.apple.com/support/downloads/java2se50release1.html. The file size is 34 MB. PART II: Making Java 1.5 your default for applications and applets Open

阅读全文(1136) | 回复(0) | 编辑 | 精华 | 删除
 


[Linux]Linux以及各大发行版介绍(国外篇)--- www.zhaolinux.com
文章收藏

Nurhachi.Zhang 发表于 2005-9-19 12:06:10


什么是Linux?

也许很多人会不屑的说,Linux不就是个操作系统么。错!Linux不是一个操作系统,严格来讲,Linux只是一个操作系统中的内核。内核是什么?内核建立了计算机软件与硬件之间通讯的平台,内核提供系统服务,比如文件管理、虚拟内存、设备I/O等。

既然Linux只是一个内核。那么我们通常所说的Linux操作系统又是什

(下面还有395字)

阅读全文(2017) | 回复(0) | 编辑 | 精华 | 删除
 


[Linux]Linux一句话精彩问答--2004/11/09 原文:chinaunix
文章收藏,  软件技术

Nurhachi.Zhang 发表于 2005-4-14 11:54:13

  编者按:鉴于目前中国Linux的发展现状,90%以上的问题都可以用一句话来回答,这便是本文的初衷。欢迎大家添加自己的“一句话”,收录后注明原始提供者。更详细的文档,请浏览本版精华区或http://www.linuxhero.com

----------------------------网络无关篇--------------------------
0001 修改主机名(bjchenxu)
vi /e

阅读全文(1292) | 回复(0) | 编辑 | 精华 | 删除
 


[Linux]HOWTO Speedup your Debian GNU/Linux
文章收藏,  软件技术

Nurhachi.Zhang 发表于 2005-4-12 14:14:01

HOWTO Speedup your Debian GNU/Linux Jérôme Warnier 2005-03-26 10:30 Warning: This article is still work in progress. You have to keep in mind that speed is somewhat relative. It is often just a question of personal feeling, especially for a desktop machine. Th

阅读全文(1331) | 回复(0) | 编辑 | 精华 | 删除
 


[Linux]BSD history
文章收藏,  电脑与网络

Nurhachi.Zhang 发表于 2005-4-1 13:48:23

  BSD的历史   在计算机领域,Unix一直是作为高端平台而出现的。几年以前,只有在大型机构的专用机房中才能接触到它们, 甚至稍小一些的机构也负担不起购买Unix工作站的费用。只有很少的使用者才有机会接触和使用Unix,能管理和维护 Unix系统的计算机专业人员就更少了,这就使得Unix总是披着一层神秘的面纱,在普通使用者面前,Unix属于一 种难于使用、十分昂贵的操作系统。然而,当运行在个人电脑上的自由Unix系统出现之后,这种情况已经改变了。

阅读全文(1209) | 回复(0) | 编辑 | 精华 | 删除
 


[Linux]Linux一句话精彩问答--2004/11/09 原文:chinaunix
软件技术

Nurhachi.Zhang 发表于 2004-12-2 12:38:25

  编者按:鉴于目前中国Linux的发展现状,90%以上的问题都可以用一句话来回答,这便是本文的初衷。欢迎大家添加自己的“一句话”,收录后注明原始提供者。更详细的文档,请浏览本版精华区或http://www.linuxhero.com

----------------------------网络无关篇--------------------------
0001 修改主机名(bjchenxu)

阅读全文(1500) | 回复(0) | 编辑 | 精华 | 删除
 


9 1 :


站点首页 | 联系我们 | 博客注册 | 博客登陆

Sponsored By W3CHINA
W3CHINA Blog 0.8 Processed in 1.156 second(s), page refreshed 126762733 times.
《全国人大常委会关于维护互联网安全的决定》  《计算机信息网络国际联网安全保护管理办法》
苏ICP备05006046号