The whole process of server migration 1. package tar-zcvf/usr/back/app.tar.gz/www/web/app www.2cto.com 2 from server. mobile scp/usr/back/app.tar.gz root@www. B .cn:/www/web 3. decompress cd/www/web tar-zxvf app.tar.gz 4. remove tar-czvf html.tar.gz html/-- exclude = "html/trunk/compressfile/*" -- exclude = "html/trunk/compresspdf /*" 5.scp html.tar.gz root@www. B .cn: /www/web 6.tar-zxvf html.tar.gz restart apache the following error occurs: www.2cto.com wget http: // cron Olog.org/download/cronolog-1.6.2.tar.gz # tar-zxvf cronolog-1.6.2.tar.gz # cd cronolog-1.6.2 #./configure # make & make install 7. Package the database 8. install memcached cd ~ Curl-O http://www.monkey.org /~ Provos/libevent-2.0.13-stable.tar.gz tar-zxvf libevent-2.0.13-stable.tar.gz cd libevent-2.0.13-stable-tar.gz. /configure -- prefix =/usr make; make install tar-zxvf memcached-1.4.0.tar.gzcd memcached-1.4.0.tar.gz. /configure -- with-libevent =/usr make; make install http://memcached.googlecode.com/files/memcached-1.4.15.tar.gz tar zxvf memcached-1.4.15.tar.gz cd memcached-1.4.15. /configure --- Libevent =/usr make & make install when starting memcache with a similar error/usr/local/memcached/bin/memcached: error while loading shared libraries: libevent-1.4.so.2: cannot open shared object file: No such file or directory is caused by libevent path error during program compilation. You can use the following methods to solve this problem. After installing libevent and memcached, I found that the operation was executed. Error while loading shared libraries: libevent-1.4.so.2: cannot open shared object file: No such file or directory error message. I believe that my practices can be used to solve similar problems. 1. First find/-name libevent-1.4.so.2 to find the missing link file there. 2. LD_DEBUG = libs/usr/local/bin/memcached-v 3. the Debug information shows where the program is going to find the link library. My program here goes to trying file =/usr/lib/libevent-1.4.so.2 while the actual storage location of my Linked Library is/usr/local/lib/libevent-1.4.so.2 4. make a soft connection ln-s/usr/local/lib/libevent-1.4.so.2/usr/lib/libevent-1.4.so.2 5. done. 8. php memcache supports 01. wget http://pecl.php.net/get/memcache-2.1.2.tgz 02. 03.tar-xvf memcache-2.1.2.tgz 04. 05.cd memcache-2.1.2 06. /www/server/php/bin/phpize &&. /configure -- enable-memcache & make has the following error: memcache. c: xxx: error: too few arguments to function 'zend _ list_insert 'solution: change all: zend_list_insert (pool, le_memcache_pool TSRMLS_CC) to zend_list_insert (pool, ignore ); 9. install startling yum install ruby-devel rubygems gem install memcache-client starling