Usage: ./httpd [-D name] [-d directory] [-f file] [-C "directive"] [-c "directive"] [-k start|restart|graceful|stop] &nbs ...
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 ...
High-level view of MySQL modules
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 tab ...
> dfisk -l> df -T -h> mount> cat /etc/fstab
mkfifo > mkfifo my_pipe > cat a.txt > my_pipe > cat my_pipe
ldd > ldd /usr/java/jre1.5.0_11/bin/java
xmlwf > curl -s 'http://bashcurescancer.com' > bcc.html > xmlwf b ...
http://www.linuxsir.org/main/?q=node/210 作者:北南南北 来自:LinuxSir.Org
统计Apache进程数的时候,一般使用命令:ps aux | grep httpd | grep -v grep | wc -l 等价于 pgrep httpd |wc -l
# Install apache
> groupadd apache
> useradd -g apache apache
> ./configure --prefix=/usr/local/apache2 --enable-mods-shared=most --enable-ssl --enable-so
> make && make install
> cd /usr/local/apache2/bin
> cp apachectl /etc/rc.d/init.d/httpd
> vi /etc/rc.d.init. ...
ActiveMQ CPP Library 2.1.3
# Install dependencies
1. libuuid
> sudo yum install e2fsprogs-devel
2. CppUnit
> sudo yum install cppunit cppunit-devel
3. GNU Build System
Tool Recommended Versionautoconf >= 2.60au ...
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, compile, and install
> ./configure --prefix=/usr/local/mysql5.1.24 --with-embedded-serve ...
使用yum之前,请切换为root用户。
添加/删除/更新软件
1.仅安装指定的软件命令:yum install <package_name>
yum会查询数据库,有无这一软件包,如果有,则检查其依赖冲突关系,如果没有依赖冲突,那么最好,下载安装;如果有,则会给出提示,询问是否要同时安装依赖,或删除冲突的包,你可以自己作出判断。
2.用YUM删除软件包命令:yum remove <package_name>
同安装一样,yum也会查询数据库,给出解决依赖关系的提示。
3.列出所有可更新的软件清单命令:yum check-update
4.更新 ...







评论排行榜