Create an admin user:

https://panel.dreamhost.com/index.cgi?tree=vserver.adminusers&

Login to SSH using that admin, then run:

sudo apt-get install memcached

That’ll do it!