- 博客(38)
- 收藏
- 关注
原创 英语口语高阶技巧
辅音[t]与[j]相邻时,被同化为[t∫]: Can’t you:…辅音[d]与[j]相邻时,被同化为[dʒ]:Would you…辅音[s]与[j]相邻时, 被同化为[∫]: Miss you。辅音[z]与[j]相邻时, 被同化为[ʒ]: Has you。
2025-05-01 07:33:42
181
原创 Linux远程桌面
在Windows上,显示Linux远程桌面的方法:xmanagerputty + xming配置putty如下:putty > Connection > SSH > X11 > Enable X11 forwarding > localhost:0 如何显示Linux桌面?运行命令: gnome-session...
2010-10-26 14:21:00
173
原创 Oracle - DBA
Enabling Remote HTTP Connection to the Database Database Home Page > Administration > Manage Http Access SQL> EXEC DBMS_XDB.SETLISTENERLOCALACCESS(FALSE); Starting Up the Database ...
2010-10-20 16:36:00
250
原创 Spring 3
Spring内置了2个基础DI容器: BeanFactory、ApplicationContext。ApplicationContext extends BeanFactory {}BeanFactory提供基本功能。ApplicationContext适合企业级使用。BeanFactory注入有惰性。注入方式:设值注入构造函数注入属性注入方法注入【引】...
2010-10-14 18:17:13
139
原创 EJB
To improve performance, you might choose a stateless session bean if it has any of these traits.The bean’s state has no data for a specific client.In a single method invocation, the bean performs...
2010-10-13 15:20:59
128
原创 Web设计相关
所有架构级的设计决策应该根据被设计系统的功能、行为和社会学等方面的需求来作出,这是一个原则,既适用于软件架构,同样也适用于传统的建筑架构领域。“形式追随功能”的指导方针来自从数百年失败的建筑项目中获得的经验,但是却常常被软件从业者忽视。 design-by-buzzword(按照时髦的词汇来做设计)是一种常见的现象。 一个软件架构是一个软件系统在其操作的某个阶段的运行时(run-t...
2010-10-13 12:51:48
128
原创 web services
Java API for XML Web Services (JAX-WS)Java API for RESTful Web Services (JAX-RS) JAX-WS supports the Web Services Interoperability (WS-I) Basic Profile Version 1.1. The WS-I Basic Profile is a d...
2010-10-12 16:20:18
132
原创 Servelet
Servlet LifecycleThe lifecycle of a servlet is controlled by the container in which the servlet has been deployed.If an instance of the servlet does not exist, the web container Loads the servle...
2010-10-12 09:59:22
260
原创 一步一学Linux与Windows 共享文件Samba
[摘自]http://www.linuxsir.org/main/?q=node/158一步一学Linux与Windows 共享文件Samba (v0.2b)<!-- begin content -->作者:北南南北,正在增加中... ... 需要您的参与;来自:LinuxSir.Org简介:本文只是讲一讲我们最常用的Linux与Windows共享文件,主要是为新手...
2010-09-21 17:52:41
184
原创 CentOS 开机优化
近日,在VMware上安装CentOS 4.6,发现有如下问题:每次开机,总是弹出网卡配置的kudzu窗口sendmail服务启动中,要停顿约3分钟sshd服务,默认没有启动解决办法:取消开机硬件检测# chkconfig --level 345 kudzu off配置网卡,采用静态IP方式ip地址和其对应主机名配置步骤:主机器的ip地址 (...
2010-09-20 10:49:08
147
Build Process and Configuration Management
Development and Build Environments The various environments used for developing, building, testing, and deploying a solution:Local Developer Environments (LOCAL) Development Integration Environ...
2010-08-24 14:25:38
145
原创 Java Extension Mechanism
Java 1.2引入了扩展机制(the extension mechanism)。 Extensions 是一组packages和classes,通过the extension mechanism来增加Java平台功能。 扩展机制让我们运行应用时,不用在classpath写extension classes的路径,就能让Java运行环境查找和装载这些extension classes。 Ext...
2010-07-02 12:09:49
668
原创 Java系统的堆栈跟踪
如何生成堆栈的Dump?有下面3种方法,可以得到Java系统的堆栈信息。1、给JVM发生信号 UNIX/Linux: kill -3 <pid> Windows: Ctrl + Break2、JVM运行时,内部错误引发显示堆栈信息3、使用debug工具或者Java程序调用在Java debuger中输入命令where,或用如下方法可以得到部分...
2010-06-19 01:53:04
215
开源区域的大佬们
1、Doug Cutting [daug 'kʌtiŋ] 简介:Doug Cutting是Nutch, Lucene, Hadoop开源项目的作者,搜索引擎方面的专家。Lucene是一个提供全文文本搜索的函数库,它不是一个应用软件。它提供很多API函数让你可以运用到各种实际应用程序中。Nutch是一个建立在Lucene核心之上的Web搜索的实现,它是一个真正的应用程序。...
2010-05-01 01:25:26
143
Installation - Subversion
1. 环境Cent OS 4.72. 前提已安装:Apache 2(--enable-ssl) 安装文档参考: Installaction - Httpd。Neon (--with-ssl) 安装文档参考该文档附录: Neon的安装。3. 步骤从subversion.tigris.org下载 subversion-1.5.5.tar.bz2安装包...
2009-01-08 12:09:20
228
Subversion学习笔记 (1)
SVN的优点:目录版本控制(全局版本号)一致的数据处理:Subversion 使用二进制文件差异算法展现文件的区别。版本控制的元数据高效的分支和标签原子提交版本控制的方法模型:Lock-Modify-Unlock优点:强制管理,没有conflict。缺点:对修改的并发性支持不佳;修改涉及多个文件时,容易造成死锁。Copy-Modify-Merge...
2009-01-07 17:28:28
127
MySQL Log Setting
MySQL Log SettingMySQL has the following logs:Log TypeDescriptionError LogProblems encountered starting, running, or stopping mysqldGeneral Query LogEstablished client connections a...
2009-01-06 11:15:23
190
原创 Best Practices for Speeding Up Your Web Site
[转] Best Practices for Speeding Up Your Web Site Minimize HTTP RequestsUse a Content Delivery Network Add an Expires or a Cache-Control Header Gzip Components Put Stylesheets at the Top Put Scr...
2008-12-18 16:57:55
132
Install Linux
shell> yum -y groupinstall "Development Tools" Editors "GNOME Desktop Environment"shell> vi /etc/inittab id:5:initdefault:shell> shutdown -r nowshell> fdisk /dev/sdbshell> mke2fs...
2008-10-19 17:44:40
121
Install PHP
Linux shell>./configure \--prefix=/work/tool/php \--with-apxs2=/work/tool/httpd/bin/apxs \--with-config-file-path=/etc \--with-mysql=/work/tool/mysql \--with-pdo-mysql=/work/tool/mysql \--with-mysq...
2008-10-19 17:32:51
157
Install Mysql
shell> groupadd mysqlshell> useradd -g mysql mysqlshell> tar zxf mysql-VERSION.tar.gzshell> cd mysql-VERSIONshell> ./configure --prefix=/usr/local/mysqlshell> makeshell>...
2008-10-19 14:42:30
85
原创 MySQL - Show status
The SHOW STATUS command allows you to view a snapshot of the many (over 120) internal status counters that MySQL maintains. These counters track particular events in MySQL. A.1.1 Thread and C...
2008-08-18 00:26:59
262
Axis2 notes
1. set env var: JAVA_HOME, AXIS2_HOME(setenv.sh)path: AXIS2_HOME/bin2. start up standard alone axis server: $AXIS2_HOME/bin/axis2server.shhttp://localhost:8080/axis2/services/3. ant create.war ($A...
2008-07-17 06:48:54
100
Sed
Understanding the difference between current-line addressing in ed and global-line addressing in sed is very important. In ed you use addressing to expand the number of lines that are the object of a ...
2008-07-07 19:33:17
187
Shell
#prompt> echo $PS1#searches manpage names and descriptions for regular expressions suplied as arguments.> apropos music> stat -c '%A %h %U %G %s %y %n' /tmp/studio> find /tmp/ -name test.c...
2008-07-07 19:29:59
132
Apache httpd command line options
Usage: ./httpd [-D name] [-d directory] [-f file] [-C "directive"] [-c "directive"] [-k start|restart|graceful|stop] [-v] [-V] [-h] [-l] [-L] [-t] [-S]Options...
2008-05-16 03:15:18
268
Parser and Optimizer
The MySQL server receives queries in the SQL format. Once a query is received, it first needs to be parsed, which involves translating it from what is essentially a textual format into a combination o...
2008-05-12 13:00:58
170
High-level view of MySQL modules
High-level view of MySQL modules 执行mysql命令后,MySQL 的初始化模块就从系统配置文件中读取系统参数和命令行参数,并按照参数来初始化整个系统,如申请并分配buffer,初始化全局变量,以及各种结构等。同时各个存储引擎也被启动,并进行各自的初始化工作。当整个系统初始化结束后,由连接管理模块接手。连接管理模块会启动处理客户端连接请求的监听程序,包括...
2008-05-12 08:51:48
182
Concurrent Access and Locking
1. A proper locking mechanism is necessary to ensure data consistency when there is a possibility of multiple clients accessing and possibly modifying the same data at the same time.2. table-level loc...
2008-05-12 08:00:50
152
Linux Command - File System
> dfisk -l> df -T -h> mount> cat /etc/fstab
2008-05-11 08:22:50
114
linux commands
mkfifo > mkfifo my_pipe > cat a.txt > my_pipe > cat my_pipeldd > ldd /usr/java/jre1.5.0_11/bin/javaxmlwf > curl -s 'http://bashcurescancer.com' > bcc.html >...
2008-05-11 06:34:39
90
Linux 进程管理
http://www.linuxsir.org/main/?q=node/210 作者:北南南北 来自:LinuxSir.Org统计Apache进程数的时候,一般使用命令:ps aux | grep httpd | grep -v grep | wc -l 等价于 pgrep httpd |wc -l...
2008-05-11 05:13:28
89
Installaction - Httpd
# Install apache> groupadd apache> useradd -g apache apache> ./configure --prefix=/usr/local/apache2 --enable-mods-shared=most --enable-so --enable-ssl --enable-rewrite> make &&a...
2008-05-05 21:08:46
161
Installation - ActiveMQ CPP Library 2.1.3
ActiveMQ CPP Library 2.1.3# Install dependencies1. libuuid > sudo yum install e2fsprogs-devel2. CppUnit > sudo yum install cppunit cppunit-devel3. GNU Build SystemTool Recommende...
2008-05-05 19:05:56
161
Bash配置文件
表2-6 Bash配置文件文件描述/etc/profile为所有用户设置用户环境信息。第一次登录时就执行该文件。该文件提供了路径的值,同时为某些内容设置环境变量,如邮箱的位置或历史文件的大小。最后,/etc/profile从/etc/profile....
2008-05-05 17:53:03
177
Installation - MySQL (with embedded server)
Downloads install package: mysql-5.1.24-rc.tar.tar# Add user/group for MySQL> groupadd mysql> useradd -g mysql mysql> tar zxf mysql-5.1.24-rc.tar.tar> cd mysql-5.1.24-rc# check, com...
2008-05-05 14:46:58
145
yum 命令
使用yum之前,请切换为root用户。 添加/删除/更新软件1.仅安装指定的软件命令:yum install <package_name>yum会查询数据库,有无这一软件包,如果有,则检查其依赖冲突关系,如果没有依赖冲突,那么最好,下载安装;如果有,则会给出提示,询问是否要同时安装依赖,或删除冲突的包,你可以自己作出判断。2.用YUM删除软件包命令:yum remove &l...
2008-05-05 14:08:00
119
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人