Monthly Archives: April 2007

Debian mysql-5.0 configure parameters

./configure –build=i486-linux-gnu –host=i486-linux-gnu –prefix=/usr –exec-prefix=/usr –libexecdir=/usr/sbin –datadir=/usr/share –localstatedir=/var/lib/mysql –includedir=/usr/include –infodir=/usr/share/info –mandir=/usr/share/man –with-server-suffix=-Debian_7etch1 –with-comment=”Debian etch distribution” –enable-shared –enable-static –enable-thread-safe-client –enable-assembler –enable-local-infile –with-big-tables –with-raid –with-unix-socket-path=/tmp/mysqld.sock –with-mysqld-user=mysql –with-libwrap –with-vio –without-openssl –with-yassl –without-docs –with-bench –without-readline –with-extra-charsets=all –with-innodb –with-isam –with-archive-storage-engine –with-csv-storage-engine –with-federated-storage-engine –without-embedded-server –with-ndbcluster –with-ndb-shm … Continue reading

Posted in Mysql | Leave a comment

intel 82875P SATA Storage libata on linux kernel 2.6

We have a intel server: 0000:00:00.0 Host bridge: Intel Corp. 82875P Memory Controller Hub (rev 02) 0000:00:03.0 PCI bridge: Intel Corp. 82875P Processor to PCI to CSA Bridge (rev 02) 0000:00:1c.0 PCI bridge: Intel Corp. 6300ESB 64-bit PCI-X Bridge (rev … Continue reading

Posted in Linux | 2 Comments

My customize DDNS update script

#!/bin/bash newip=`/sbin/ip addr sh|grep -i peer|awk ‘{print $2}’` oldip=`/usr/bin/gethostip test.lh95.com|awk ‘{print $2}’` if [ -n $newip ] && [ $newip != $oldip ];then date >>/var/log/dns.log echo “updateing dns to new ip $newip” >> /var/log/dns.log /usr/bin/nsupdate -y lh95.com.:myddnskey<<EOF server 60.191.232.66 zone … Continue reading

Posted in Linux | Leave a comment

squid redirector redirect one dir to other site

#!/usr/bin/perl $|=1; while (<>) {     @X = split;     $url = $X[0]; #    if ($url =~ /^http:\/\/internal\.foo\.com/) { #        $url =~ s/^http/https/; #        $url =~ s/internal/secure/; #        print “302:$url\n”; #    } else { #        print “$url\n”; #    }         … Continue reading

Posted in Linux | 1 Comment

Squid Redirectors from squid wiki site

source site: http://wiki.squid-cache.org/SquidFaq/SquidRedirectors 目录 What is a redirector? Why use a redirector? How does it work? Do you have any examples? Can I use the redirector to return HTTP redirect messages? FATAL: All redirectors have exited! Redirector interface is broken … Continue reading

Posted in Linux | Leave a comment

configure mysql server with Serv-u plus plug-in

Serv-u plus is a serv-u plug-in,you can find them everythwhere from the search. which can serve large account with ftp traffic count. many forum use it as private ftp account manager.  when u install serv-u plug-in with serv-u ,u maybe … Continue reading

Posted in Mysql | Leave a comment

update dns dynamic with nsupdate

http://www.unix.org.ua/orelly/networking_2ndEd/dns/ch11_01.htm Chapter 11. Security Contents: TSIG Securing Your Name Server DNS and Internet Firewalls The DNS Security Extensions “I hope you’ve got your hair well fastened on?” he continued, as they set off.”Only in the usual way,” Alice said, smiling. … Continue reading

Posted in Linux | Leave a comment

Load Balancing with apache proxy

source: http://www.htaccesselite.com/htaccess/load-balancing-vt99.html  Description: Suppose we want to load balance the traffic to www.foo.com over www[0-5].foo.com (a total of 6 servers). How can this be done? Solution: There are a lot of possible solutions for this problem. We will discuss first … Continue reading

Posted in Apache | Leave a comment

svn: symbol lookup error: /usr/lib/libaprutil-0.so.0: undefined symbol: gdbm_errno

[root@Server10 ~]# svn svn: symbol lookup error: /usr/lib/libaprutil-0.so.0: undefined symbol: gdbm_errno [root@Server10 bin]# ls  /usr/lib/libaprutil* -la -rw-r–r–  1 root root 378176 2006-05-01  /usr/lib/libaprutil-0.a -rw-r–r–  1 root root    821 2006-05-01  /usr/lib/libaprutil-0.la lrwxrwxrwx  1 root root     21 2006-05-01  /usr/lib/libaprutil-0.so -> libaprutil-0.so.0.9.7 lrwxrwxrwx  … Continue reading

Posted in Linux | 1 Comment

Robust and High Performance PHP with IIS: Using FastCGI

source site: http://phplens.com/phpeverywhere/fastcgi-php  Robust and High Performance PHP with IIS: Using FastCGI Note: The PHP EasyWindows installer that I wrote will install PHP+FastCGI and configure IIS for you. As a Windows user and a former trainer on ASP and IIS, … Continue reading

Posted in PHP | Leave a comment