User:Ankit.khandelwal.wiki

Memcached Installation Through Source
Steps to installed memcached through source:-

[ankit@web01 ~]$ cd /opt/

[ankit@web01 opt]$ sudo mkdir memcached

[ankit@web01 memcached]$ sudo wget https://github.com/downloads/libevent/libevent/libevent-2.0.21-stable.tar.gz

[ankit@web01 memcached]$ sudo wget http://memcached.googlecode.com/files/memcached-1.4.15.tar.gz

[ankit@web01 memcached]$ sudo tar -xvzf libevent-2.0.21-stable.tar.gz

[ankit@web01 memcached]$ sudo tar -xvzf memcached-1.4.15.tar.gz

[ankit@web01 memcached]$ cd libevent-2.0.21-stable

[ankit@web01 libevent-2.0.21-stable]$ sudo ./configure --prefix=/usr/lib64/

[ankit@web01 libevent-2.0.21-stable]$ sudo make

[ankit@web01 libevent-2.0.21-stable]$ sudo make install

[ankit@web01 memcached-1.4.15]$ sudo ./configure --prefix=/opt/ --with-libevent=/usr/lib64

[ankit@web01 memcached-1.4.15]$ sudo make

[ankit@web01 memcached-1.4.15]$ sudo make install

[ankit@web01 bin]$ /opt/bin/memcached -p 11211 -u memcached -m 4096 -vv -I 10m &

[ankit@web01 bin]$ ps -aef | grep mem root     8306 32322  0 18:17 pts/1    00:00:00 /opt/bin/memcached -p 11211 -u memcached -m 4096 -vv -I 10m hs18web  8307  8306  0 18:17 pts/1    00:00:00 /opt/bin/memcached -p 11211 -u memcached -m 4096 -vv -I 10 606      8314 32322  0 18:17 pts/1    00:00:00 grep mem

AD + SSSD + KERB + NSS + LDAP
Will Update Later