# Install dependency libevent
# See for latest releases: https://libevent.org
mkdir /usr/local/libevent
cd /usr/local/libevent
git init
git pull wget https://github.com/libevent/libevent
gunzip libevent-2.1.12-stable.tar.gz
tar xvf libevent-2.1.12-stable.tar
cd libevent-2.1.12-stable
bash configure
make install

# See for latest releases: https://www.memcached.org/downloads
mkdir /usr/local/memcached
cd /usr/local/memcached
git init
git pull https://github.com/memcached/memcached
bash configure
make install