2009 年文章归档
共 7 篇文章
linux NFS
客户段的操作: 1、showmout命令对于NFS的操作和查错有很大的帮助,所以我们先来看一下showmount的用法 showmout -a :这个参数是一般在NFS SERVER上使用,是用来显示已经mount上本机nfs目录的cline机器。 -e :显示指定的NFS SERVER上export出来的目录。 例如: showmount -e 192.168.0.30 Export list for localhost: /tmp * /home/linux *.linux.org /home/public (everyone) /home/test 192.168.0.100 2、mo…
2009-03-19 10:16
mysql 5.1.31安装脚本
#!/bin/bash #wirte by badb0y wget http://dev.mysql.com/get/Downloads/MySQL-5.1/mysql-5.1.31.tar.gz/from/http://mysql.easynet.be/ tar -zxvf mysql-5.1.31.tar.gz cd mysql-5.1.31 ./configure --prefix=/usr/local/mysql --with-charset=utf8 --with-extra-charsets=all --enable-assembler --enable-thread-safe-…
2009-03-19 09:33
linux安装SPHINX
wget http://www.sphinxsearch.com/downloads/sphinx-0.9.8-rc2.tar.gz tar -xvzf sphinx-0.9.8-rc2.tar.gz cd sphinx-0.9.8-rc2 ./configure --prefix=/usr/local/sphinx --with-mysql=/usr/local/mysql make make install cp sphinx.conf.dist sphinx.conf vi sphinx.conf 修改配置文件中的用户名和访问密码 mysql -uroot -p < /usr/loca…
2009-03-10 12:17
linux 安装 imagemagic(支持JPEG,PNG)
./configure --prefix=/usr/local/imagemagic -enable-shared CPPFLAGS='-I/usr/local/src/jpeg-6b -I/usr/local/src/libpng-1.2.35' LDFLAGS='-L/usr/local/jpeg/lib -L/usr/local/png/lib'
2009-03-09 15:12
linux 安装 imagemagic
下载ImageMagick-6.2.6-8.tar.gz,JMagick-6.2.6-0.tar.gz另外我下载了jpegsrc.v6b.tar.gz, libpng-1.2.10.tar.bz2和tiff-3.8.2.tar.gz,用户支持jpg,png和tiff格式的文件,真不知道老外是如何想的,图像处理不支持jpg和png的应用应该不多吧,为什么不放在一起,还有另外安装. 编译并安装Jpg格式支持文件, tar zvxf jpegsrc.v6b.tar.gz ./configure --enable-shared --enable-static make make install //…
2009-03-07 23:02
php之安装GD
./configure --prefix=/usr/local/php-fcgi --with-gd --with-jpeg-dir=/usr/local/jpeg --with-png-dir=/usr/local/png --with-zlib-dir=/usr/local/zlib --enable-fastcgi
2009-03-07 16:56
lighttpd 支持fastcgi&msql的configure参数
./configure --prefix=/usr/local/php-fcgi/ --enable-fastcgi --enable-discard-path --enable-force-cgi-redirect --with-mysql=/usr/local/mysql --with-mysql-sock=/tmp/mysql.sock --with-pdo-mysql=/usr/local/mysql --with-mysqli=/usr/local/mysql/bin/mysql_config
2009-02-26 17:39