Go Back   Linux CentOS, Control Panel, Hot girl, TOP 10 GOOGLE, Server - System - Manager - CentOS, Operation System, SEO, VBB, HACKING and SECURITY - Rao vặt, tuyển dụng, Thiet ke website > CentOS Việt Nam - Viet Nam Linux CentOS Community > Cài đặt CentOS và ứng dụng > CentOS cached: memcached, file cached...

Hack map cua war3 version 1.24e - co the chuyen tien
Hack gunz.2it.in mới update ngày 2/3/2010 (test by Admin)
Hướng dẫn Hack gold member tại quán net để mang về nhà
hack map dota cho war3 ver 1.24a, hackmap 1.24b, hack map 1.24c, hack dota 1.24d, hack map war3 1.24e, co the chuyen tien
crack windows 7 all version (using activators)

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 29-06-2008
Lovelinux's Avatar
Super Moderator
 
Join Date: Jun 2008
Posts: 271
Default memcached: libevent is required

I am using CentOS release 5; to find what version you are using, enter cat /etc/redhat-release
at a bash prompt. That is not to say that these steps won’t work for other linux distros, I just haven’t tried them. Anyway, when I first tried to install memcached I could not create the Makefile due to a dependence on libevent. So first, from /usr/local/src:

curl -O http://monkey.org/~provos/libevent-1.3e.tar.gz
tar xzvf libevent-1.3e.tar.gz
cd libevent-1.3e
./configure --prefix=/usr/local
make
make install

curl -O http://monkey.org/~provos/libevent-1.3e.tar.gz
tar xzvf libevent-1.3e.tar.gz
cd libevent-1.3e
./configure --prefix=/usr/local
make
make installHopefully everything went smoothly for you there. Now on to getting memcached, again from /usr/local/src:

curl -O http://www.danga.com/memcached/dist/...d-1.2.2.tar.gz
tar xzvf memcached-1.2.2.tar.gz
cd memcached-1.2.2.tar.gz
LDFLAGS='-Wl,--rpath /usr/local/lib' ./configure --prefix=/usr/local
make
make install

curl -O http://www.danga.com/memcached/dist/...d-1.2.2.tar.gz
tar xzvf memcached-1.2.2.tar.gz
cd memcached-1.2.2.tar.gz
LDFLAGS='-Wl,--rpath /usr/local/lib' ./configure --prefix=/usr/local
make
make installNow:

HTML Code:
memcached -d -u root
No errors, let’s make sure it’s running:

HTML Code:
ps aux | grep memcached
Awesome! Hey, that’s the name of the blog, how unoriginal.

Now to stop it:

HTML Code:
pkill memcached
I hope that saved you some time.

For those curious as to what that LDFLAGS='-Wl,--rpath /usr/local/lib' is all about, enter at a bash prompt man ld

This post prevents the following errors:
HTML Code:
configure: error: libevent is required
HTML Code:
memcached: error while loading shared libraries: libevent-1.3e.so.1: cannot open shared object file: No such file or directory

If you get the following error (which you will get if you are doing this under CentOS 64 bit): ./memcached: error while loading shared libraries: libevent-1.3e.so.1: cannot open shared object file: No such file or directory
You can fix this by simply doing this:
HTML Code:
ln -s /usr/local/lib/libevent-1.3e.so.1 /lib64/

Last edited by Lovelinux; 29-07-2008 at 12:14 PM.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Shell bash for memcached: Install memcached Lovelinux Server Manager 0 28-06-2008 10:54 PM


All times are GMT +8. The time now is 10:35 PM.


© Diễn đàn HackingArt (HA) được xây dựng và phát triển bởi các thành viên.
+ Diễn đàn HackingArt là nơi trao đổi của các webmaster chuyên nghiệp.

Search Engine Friendly URLs by vBSEO 3.2.0