The whole process of server migration 1. package tar-zcvf/usr/back/app.tar.gz/www/web/appwww.2cto from server. com2. mobile scp/usr/back/app.tar.gzroot@www. B .cn:/www/web3. unzip cd/www/webtar-zxvfapp.tar.gz4. package... 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://cronolog.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 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./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 -- with-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
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.