- 浏览: 34017 次
- 性别:
- 来自: 上海
最新评论
文章列表
SVN的优点:
目录版本控制(全局版本号)
一致的数据处理:
Subversion 使用二进制文件差异算法展现文件的区别。
版本控制的元数据
高效的分支和标签
原子提交
版本控制的方法模型:
Lock-Modify-Unlock
优点:强制管理,没有conflict。
缺点:对修改的并发性支持不佳;修改涉及多个文件时,容易造成死锁。
Copy-Modify-Merge
优点:对修改的并发性支持好;修改涉及多个文件时,支持原子提交。
缺点:check in可能有conflict。
Work Copy如何跟踪版本库?
对于Work Copy中的每一个文件, SVN在 ...
- 2009-01-07 17:28
- 浏览 731
- 评论(0)
MySQL Log Setting
MySQL has the following logs:
Log Type
Description
Error Log
Problems encountered starting, running, or stopping mysqld
General Query Log
Established client connections and statements received from clients.
Binary Log
All statements that change data(also used for repli ...
[转] Best Practices for Speeding Up Your Web Site
Minimize HTTP Requests
Use a Content Delivery Network
Add an Expires or a Cache-Control Header
Gzip Components
Put Stylesheets at the Top
Put Scripts at the Bottom
Avoid CSS Expressions
Make JavaScript and CSS External
Reduce DNS Lookups
Mini ...
- 2008-12-18 16:57
- 浏览 718
- 评论(0)
shell> yum -y groupinstall "Development Tools" Editors "GNOME Desktop Environment"
shell> vi /etc/inittab
id:5:initdefault:shell> shutdown -r now
shell> fdisk /dev/sdb
shell> mke2fs /dev/sdb1
shell> mkdir /work
shell> echo /dev/sdb1 /work auto defaults 1 1 ...
- 2008-10-19 17:44
- 浏览 652
- 评论(0)
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-mysqli=/work/tool/mysql/bin/mysql_config \--with-mcrypt=/usr/local --with-gd --with-curl --with-zlib --en ...
- 2008-10-19 17:32
- 浏览 891
- 评论(0)
shell> groupadd mysql
shell> useradd -g mysql mysql
shell> tar zxf mysql-VERSION.tar.gz
shell> cd mysql-VERSION
shell> ./configure --prefix=/usr/local/mysql
shell> make
shell> make install
shell> cp support-files/my-medium.cnf /etc/my.cnf
shell> cd /usr/local/mysql
s ...
- 2008-10-19 14:42
- 浏览 773
- 评论(0)
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 Connection Statistics
Just because connections
to MySQL are very lightweight doesn't excuse applicat ...
- 2008-08-18 00:26
- 浏览 1241
- 评论(0)
1. set env var: JAVA_HOME, AXIS2_HOME(setenv.sh)
path: AXIS2_HOME/bin
2. start up standard alone axis server: $AXIS2_HOME/bin/axis2server.sh
http://localhost:8080/axis2/services/
3. ant create.war ($AXIS_HOME/webapp/build.xml) -> $AXIS2_HOME/dist/axis2.war
4. axis2.sh [-options] class [args...] ...
- 2008-07-17 06:48
- 浏览 881
- 评论(0)
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 command; in sed, you use addressing to restrict the number of lines affected by a command. command [o ...
- 2008-07-07 19:33
- 浏览 794
- 评论(0)
#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.cpp -printf '%m %n %u %g %t %p'
#I won't pay $5 for coffee.
> echo 'I won'\''t pay $5 for co ...
- 2008-07-07 19:29
- 浏览 916
- 评论(0)
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: -D name : define a name for use in <IfDefine name> directives ...
- 2008-05-16 03:15
- 浏览 809
- 评论(0)
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 of internal binary structures that can be easily manipulated by the optimizer.
MySQL's optimizer has s ...
- 2008-05-12 13:00
- 浏览 691
- 评论(0)
High-level view of MySQL modules
执行mysql命令后,MySQL 的初始化模块就从系统配置文件中读取系统参数和命令行参数,并按照参数来初始化整个系统,如申请并分配buffer,初始化全局变量,以及各种结构等。同时各个存储引擎也被启动,并进行各自的初始化工作。当整个系统初始化结束后,由连接管理模块接手。连接管理模块会启动处理客户端连接请求的监听程序,包括tcp/ip 的网络监听,还有unix 的socket。这时候,MySQL Server 就基本启动完成,准备好接受客户端请求了。
当连接管理模块监听到客户端的连接请求(借助网络交互模块的相关功 ...
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 locks, page-level locks, and row-level locks3. MyISAM and MEMORY storage engines can only work with tabl ...
- 2008-05-12 08:00
- 浏览 794
- 评论(0)
> dfisk -l> df -T -h> mount> cat /etc/fstab
- 2008-05-11 08:22
- 浏览 704
- 评论(0)