Skip to content
Công ty TNHH Giải pháp Công nghệ IDO

Software · 6 December, 2023

Instructions for installing Memcached on VPS Directadmin and SSH

Instructions for installing Memcached on VPS Directadmin and SSH

1. Introduction to Memcached.

Memcached is a system that stores copies of objects and data that are accessed multiple times to increase retrieval speed. It is commonly used to optimize data loading from databases for web-based applications. Initially, the memcached system was developed by Danga Interactive and used for LiveJournal. Memcached then became popular and was used on other websites.
Memcached is a simple, highly scalable, key-based that stores values and objects whenever RAM is available, serving the fastest access, without having to Access the database or resources on the hard disk.

Unlike redis, Directadmin is built into the CustomBuild installation toolkit. When you want to install Memcached on Directadmin we need to go through the SSH command.

2. How to install Memcached on VPS Directadmin.

First you need to have access to SSH on the VPS. See details about the reference settings of VPS management SSH commands.

Once logged in to SSH use the following command to install mencached.

Start memcached with 2 commands:

Check the status of memcache:

Check if php-memcache is integrated:

If there is nothing, let’s install php-memcached. Install support packages for installation:

Install php-memcache:

Check if the module is working:

To be sure, you can check netstat with Memcached’s default port:

POPULAR READING

Popular articles recently

Facebook Advertising for High-Priced Products: Building Trust Before Inviting Customers to Buy

Facebook Ads21 November, 2026

Facebook Advertising for High-Priced Products: Building Trust Before Inviting Customers to Buy

Facebook advertising for high-priced products is often difficult to operate with a fast-sales mindset. Someone considering designer furniture, an in-depth course, a healthcare service, enterprise software, or a long-term consulting solution rarely makes a decision after seeing an ad just once. They need to understand whether the product suits their needs, whether the business is

Read more
What Are Passkeys and Why Should Businesses Prepare for the Passwordless Login Era?

Synthetic News21 November, 2026

What Are Passkeys and Why Should Businesses Prepare for the Passwordless Login Era?

For many years, passwords have remained the most familiar layer of protection for online accounts. Users create passwords to access email, social media, banking services, administrative systems, and work platforms. However, this model is increasingly revealing many limitations. A password can be guessed, reused across multiple services, stolen by malware, or exposed in a phishing

Read more
Accessible Website Design: When a Good Experience Leaves No One Behind

Website Design21 November, 2026

Accessible Website Design: When a Good Experience Leaves No One Behind

Accessibility Is Not Just a Concern for One Group of Users A website is considered effective not only when its interface is attractive or displays well across different screen sizes. It must also help visitors read information, find their way around and complete their goals without encountering unnecessary obstacles. In reality, users have very different

Read more