{"id":32057,"date":"2024-09-26T02:14:56","date_gmt":"2024-09-26T02:14:56","guid":{"rendered":"https:\/\/green.cloud\/docs\/docs\/greencloud-documents\/linux-operating-systems\/how-to-install-and-configure-memcached-on-ubuntu\/"},"modified":"2026-01-19T00:45:46","modified_gmt":"2026-01-19T00:45:46","slug":"how-to-install-and-configure-memcached-on-ubuntu","status":"publish","type":"docs","link":"https:\/\/green.cloud\/docs\/how-to-install-and-configure-memcached-on-ubuntu\/","title":{"rendered":"How to Install and Configure Memcached on Ubuntu"},"content":{"rendered":"<p>Memcached is a free, open-source, and general-purpose distributed memory-caching system used to cache database data. It is a high-performance memory caching system used to speed up dynamic web applications by reducing the database load. Memcached is made from four components that allow the client and the server to work together in order to deliver cached data as efficiently as possible. It offers API integration for all the major languages like PHP, Java, C\/C++, Python, Ruby, Perl, etc.<span id=\"ezoic-pub-ad-placeholder-106\" class=\"ezoic-adpicker-ad\"><\/span><\/p>\n<p>This tutorial will show you how to install the Memcached server on the Ubuntu 22.04 server and how to use it with PHP.<\/p>\n<h2 id=\"requirements\">Requirements<\/h2>\n<ul>\n<li>A server running Ubuntu 22.04.<\/li>\n<li>A root password is configured on your server.<\/li>\n<\/ul>\n<p><iframe title=\"How to Install and Configure Memcached on Ubuntu 22.04 | VPS Tutorial\" width=\"1170\" height=\"658\" src=\"https:\/\/www.youtube.com\/embed\/U2XbMFcYUU8?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe><\/p>\n<h2 id=\"install-memcached-on-ubuntu-\">Install Memcached on Ubuntu 22.04<\/h2>\n<p>By default, the Memcached package is included in the Ubuntu default repository. You can install it easily using the following command:<\/p>\n<pre class=\"command\">apt install memcached libmemcached-tools -y<\/pre>\n<p>Once Memcached is installed, start the Memcached service using the following command:<\/p>\n<pre class=\"command\">systemctl start memcached<\/pre>\n<p>You can check the status of the Memcached with the following command:<\/p>\n<pre class=\"command\">systemctl status memcached<\/pre>\n<p>You should get the following output:<span id=\"ezoic-pub-ad-placeholder-130\" class=\"ezoic-adpicker-ad\"><\/span><\/p>\n<h3><img decoding=\"async\" src=\"https:\/\/green.cloud\/docs\/wp-content\/uploads\/2024\/09\/Screenshot_1-9.png\" alt=\".deb open with archive manager\" \/><\/h3>\n<p>To verify the Memcached version, run the following command:<\/p>\n<pre class=\"command\">memcached -V<\/pre>\n<p>You will get the following output:<\/p>\n<h3><img decoding=\"async\" src=\"https:\/\/green.cloud\/docs\/wp-content\/uploads\/2024\/09\/Screenshot_2-6.png\" alt=\".deb open with archive manager\" \/><\/h3>\n<p>By default, Memcached listens on port 11211. You can check it with the following command:<\/p>\n<pre class=\"command\">ss -plunt | grep memcache<\/pre>\n<p>You should see the following output:<span id=\"ezoic-pub-ad-placeholder-108\" class=\"ezoic-adpicker-ad\"><\/span><\/p>\n<h3><img decoding=\"async\" src=\"https:\/\/green.cloud\/docs\/wp-content\/uploads\/2024\/09\/Screenshot_3-8.png\" alt=\".deb open with archive manager\" \/><\/h3>\n<h2 id=\"install-php-memcached-extension\">Install PHP Memcached Extension<\/h2>\n<p>In order to use the Memcached with PHP-based applications. You will need to install the PHP Memcached extension to your server. You can install it with Apache using the following command:<\/p>\n<pre class=\"command\">apt install apache2 php libapache2-mod-php php-memcached php-cli -y<\/pre>\n<p>Next, create a sample PHP test page to verify the Memcached:<\/p>\n<pre class=\"command\">nano \/var\/www\/html\/info.php<\/pre>\n<p>Add the following code:<\/p>\n<pre>&lt;?php\r\nphpinfo();\r\n<\/pre>\n<p>Save and close the file then restart the Apache service to apply the changes:<\/p>\n<pre class=\"command\">systemctl restart apache2<\/pre>\n<p>Next, open your web browser and access the PHP page using the URL\u00a0<strong>http:\/\/your-server-ip\/info.php.<\/strong>\u00a0You should see the Memcached on the following screen:<span id=\"ezoic-pub-ad-placeholder-110\" class=\"ezoic-adpicker-ad\"><\/span><\/p>\n<h3><img decoding=\"async\" src=\"https:\/\/green.cloud\/docs\/wp-content\/uploads\/2024\/09\/Screenshot_4-9.png\" alt=\".deb open with archive manager\" \/><\/h3>\n<p>Next, create another PHP test page to verify whether the Memcached works or not.<\/p>\n<pre class=\"command\">nano \/var\/www\/html\/test.php<\/pre>\n<p>Add the following code:<\/p>\n<pre>&lt;?php\r\n\r\ntry\r\n\r\n{\r\n$memcached = new Memcached();\r\n$memcached-&gt;addServer(\"127.0.0.1\", 11211); \r\n$response = $memcached-&gt;get(\"key_cache\");\r\n\r\nif($response==true) \r\n{\r\necho \"Result coming from caching\";\r\necho $response;\r\n}\r\n\r\nelse\r\n\r\n{\r\necho \"Cache is not created yet, reload again to see changes\";\r\n$memcached-&gt;set(\"key_cache\", \"Hooray! Memcache is working now ...\") ;\r\n}\r\n}\r\ncatch (exception $e)\r\n{\r\necho $e-&gt;getMessage();\r\n}\r\n?&gt;\r\n<\/pre>\n<p>Save and close the file then open your web browser and access the PHP test page using the URL\u00a0<strong>http:\/\/your-server-ip\/test.php.<\/strong>\u00a0You should see the following screen:<\/p>\n<h3>\u00a0<img fetchpriority=\"high\" decoding=\"async\" class=\"alignnone size-full wp-image-32079\" src=\"https:\/\/green.cloud\/docs\/wp-content\/uploads\/2024\/09\/Screenshot_5-3.png\" alt=\"\" width=\"1022\" height=\"186\" srcset=\"https:\/\/green.cloud\/docs\/wp-content\/uploads\/2024\/09\/Screenshot_5-3.png 1022w, https:\/\/green.cloud\/docs\/wp-content\/uploads\/2024\/09\/Screenshot_5-3-300x55.png 300w, https:\/\/green.cloud\/docs\/wp-content\/uploads\/2024\/09\/Screenshot_5-3-768x140.png 768w, https:\/\/green.cloud\/docs\/wp-content\/uploads\/2024\/09\/Screenshot_5-3-20x4.png 20w, https:\/\/green.cloud\/docs\/wp-content\/uploads\/2024\/09\/Screenshot_5-3-32x6.png 32w\" sizes=\"(max-width: 1022px) 100vw, 1022px\" \/><\/h3>\n<p>Next, reload the page again. This time the page load from the cache memory as shown below:<\/p>\n<h3><img decoding=\"async\" src=\"https:\/\/green.cloud\/docs\/wp-content\/uploads\/2024\/09\/Screenshot_6-3.png\" alt=\".deb open with archive manager\" \/><\/h3>\n<h2 id=\"secure-memcached-with-authentication\">Secure Memcached with Authentication<\/h2>\n<p>It is recommended to use Simple Authentication and Security Layer (SASL) to secure the Memcached with user-based authentication. To do so, you will need to install the sasl2-bin package on your server.<\/p>\n<pre class=\"command\">apt install sasl2-bin<\/pre>\n<p>Next, create a directory and configuration file for SASL authentication:<\/p>\n<pre class=\"command\">mkdir -p \/etc\/sasl2\r\nnano \/etc\/sasl2\/memcached.conf<\/pre>\n<p>Add the following lines:<span id=\"ezoic-pub-ad-placeholder-112\" class=\"ezoic-adpicker-ad\"><\/span><\/p>\n<pre>log_level: 5\r\nmech_list: plain\r\nsasldb_path: \/etc\/sasl2\/memcached-sasldb2\r\n<\/pre>\n<p>Save and close the file then create a SASL database with user credentials:<\/p>\n<pre class=\"command\">saslpasswd2 -a memcached -c -f \/etc\/sasl2\/memcached-sasldb2 user1<\/pre>\n<p>Set your password as shown below:<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-32083\" src=\"https:\/\/green.cloud\/docs\/wp-content\/uploads\/2024\/09\/Screenshot_7-2.png\" alt=\"\" width=\"904\" height=\"82\" srcset=\"https:\/\/green.cloud\/docs\/wp-content\/uploads\/2024\/09\/Screenshot_7-2.png 904w, https:\/\/green.cloud\/docs\/wp-content\/uploads\/2024\/09\/Screenshot_7-2-300x27.png 300w, https:\/\/green.cloud\/docs\/wp-content\/uploads\/2024\/09\/Screenshot_7-2-768x70.png 768w, https:\/\/green.cloud\/docs\/wp-content\/uploads\/2024\/09\/Screenshot_7-2-20x2.png 20w, https:\/\/green.cloud\/docs\/wp-content\/uploads\/2024\/09\/Screenshot_7-2-32x3.png 32w\" sizes=\"(max-width: 904px) 100vw, 904px\" \/><\/p>\n<p>Next, change the ownership of the Memcached database:<\/p>\n<pre class=\"command\">chown memcache:memcache \/etc\/sasl2\/memcached-sasldb2<\/pre>\n<p>Next, verify the Memcached using the following command:<\/p>\n<pre class=\"command\">memcstat --servers=\"127.0.0.1\"<\/pre>\n<p>You should get the following output:<\/p>\n<pre>Server: 127.0.0.1 (11211)\r\npid: 781\r\nuptime: 1417\r\ntime: 1727325982\r\nversion: 1.6.14\r\nlibevent: 2.1.12-stable\r\npointer_size: 64\r\nrusage_user: 0.105239\r\nrusage_system: 0.054130\r\nmax_connections: 1024\r\ncurr_connections: 1\r\ntotal_connections: 4\r\nrejected_connections: 0\r\nconnection_structures: 2\r\nresponse_obj_oom: 0\r\nresponse_obj_count: 1\r\nresponse_obj_bytes: 49152\r\nread_buf_count: 6\r\nread_buf_bytes: 98304\r\nread_buf_bytes_free: 32768\r\nread_buf_oom: 0\r\nreserved_fds: 20\r\ncmd_get: 2\r\ncmd_set: 1\r\ncmd_flush: 0\r\ncmd_touch: 0\r\ncmd_meta: 0\r\nget_hits: 1\r\nget_misses: 1\r\nget_expired: 0\r\nget_flushed: 0\r\ndelete_misses: 0\r\ndelete_hits: 0\r\nincr_misses: 0\r\nincr_hits: 0\r\ndecr_misses: 0\r\ndecr_hits: 0\r\ncas_misses: 0\r\ncas_hits: 0\r\ncas_badval: 0\r\ntouch_hits: 0\r\ntouch_misses: 0\r\nstore_too_large: 0\r\nstore_no_memory: 0\r\nauth_cmds: 0\r\nauth_errors: 0\r\nbytes_read: 118\r\nbytes_written: 93\r\nlimit_maxbytes: 67108864\r\naccepting_conns: 1\r\nlisten_disabled_num: 0\r\ntime_in_listen_disabled_us: 0\r\nthreads: 4\r\nconn_yields: 0\r\nhash_power_level: 16\r\nhash_bytes: 524288\r\nhash_is_expanding: 0\r\nslab_reassign_rescues: 0\r\nslab_reassign_chunk_rescues: 0\r\nslab_reassign_evictions_nomem: 0\r\nslab_reassign_inline_reclaim: 0\r\nslab_reassign_busy_items: 0\r\nslab_reassign_busy_deletes: 0\r\nslab_reassign_running: 0\r\nslabs_moved: 0\r\nlru_crawler_running: 0\r\nlru_crawler_starts: 7\r\nlru_maintainer_juggles: 1799\r\nmalloc_fails: 0\r\nlog_worker_dropped: 0\r\nlog_worker_written: 0\r\nlog_watcher_skipped: 0\r\nlog_watcher_sent: 0\r\nlog_watchers: 0\r\nunexpected_napi_ids: 0\r\nround_robin_fallback: 0\r\nbytes: 103\r\ncurr_items: 1\r\ntotal_items: 1\r\nslab_global_page_pool: 0\r\nexpired_unfetched: 0\r\nevicted_unfetched: 0\r\nevicted_active: 0\r\nevictions: 0\r\nreclaimed: 0\r\ncrawler_reclaimed: 0\r\ncrawler_items_checked: 1\r\nlrutail_reflocked: 0\r\nmoves_to_cold: 1\r\nmoves_to_warm: 0\r\nmoves_within_lru: 0\r\ndirect_reclaims: 0\r\nlru_bumps_dropped: 0\r\n<\/pre>\n<p>Next, edit the Memcached configuration file:<\/p>\n<pre class=\"command\">nano \/etc\/memcached.conf<\/pre>\n<p>Add the following lines:<\/p>\n<pre>-S\r\n-vv\r\n<\/pre>\n<p>Save and close the file then restart the Memcached service to apply the changes:<\/p>\n<pre class=\"command\">systemctl restart memcached<\/pre>\n<p>Next, verify the SASL support using the following command:<\/p>\n<pre class=\"command\">journalctl -u memcached |grep SASL<\/pre>\n<p>If everything is fine, you will get the following output:<span id=\"ezoic-pub-ad-placeholder-113\" class=\"ezoic-adpicker-ad\"><\/span><\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-32085\" src=\"https:\/\/green.cloud\/docs\/wp-content\/uploads\/2024\/09\/Screenshot_8-2.png\" alt=\"\" width=\"902\" height=\"75\" srcset=\"https:\/\/green.cloud\/docs\/wp-content\/uploads\/2024\/09\/Screenshot_8-2.png 902w, https:\/\/green.cloud\/docs\/wp-content\/uploads\/2024\/09\/Screenshot_8-2-300x25.png 300w, https:\/\/green.cloud\/docs\/wp-content\/uploads\/2024\/09\/Screenshot_8-2-768x64.png 768w, https:\/\/green.cloud\/docs\/wp-content\/uploads\/2024\/09\/Screenshot_8-2-20x2.png 20w, https:\/\/green.cloud\/docs\/wp-content\/uploads\/2024\/09\/Screenshot_8-2-32x3.png 32w\" sizes=\"(max-width: 902px) 100vw, 902px\" \/><\/p>\n<h2 id=\"verify-memcached-authentication\">Verify Memcached Authentication<\/h2>\n<p>First, try to check connectivity to Memcached again without authentication:<\/p>\n<pre class=\"command\">memcstat --servers=\"127.0.0.1\"<\/pre>\n<p>The command should not produce output. Type the following shell command to check its status:<\/p>\n<pre class=\"command\">echo $?<\/pre>\n<p>You should receive the following status code means the memcstat command failed.<\/p>\n<pre>1\r\n<\/pre>\n<p>Next, run the Memcached command again by specifying the username and password:<\/p>\n<pre class=\"command\">memcstat --servers=\"127.0.0.1\" --username=user1 --password=<span style=\"color: #ff0000;\">password<\/span><\/pre>\n<p>&nbsp;<\/p>\n<h2 id=\"install-memcached-for-python\">Install Memcached for Python<\/h2>\n<p>If you want to integrate Memcached with Python-based web applications, then you will need to install the Memcached extension for Python. You can install it with the following command:<\/p>\n<pre class=\"command\">apt install python3-pip\r\npip install pymemcache\r\npip install python-memcached<\/pre>\n<h2 id=\"conclusion\">Conclusion<\/h2>\n<p>In this post, we explained how to install the Memcached server on Ubuntu 22.04. We also explained how to secure the Memcached with SASL-based authentication. I hope you can now integrate Memcached with your application to speed up the application performance. Feel free to ask me if you have any questions.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Memcached is a free, open-source, and general-purpose distributed memory-caching system used to cache database data. It is a high-performance memory caching system used to speed up dynamic web applications by reducing the database load. Memcached is made from four components that allow the client and the server to work together in order to deliver cached [&hellip;]<\/p>\n","protected":false},"author":15,"featured_media":0,"parent":17817,"menu_order":470,"comment_status":"closed","ping_status":"closed","template":"","doc_tag":[],"class_list":["post-32057","docs","type-docs","status-publish","hentry","no-post-thumbnail"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.7 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to Install and Configure Memcached on Ubuntu - GreenCloud Documentation<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/green.cloud\/docs\/how-to-install-and-configure-memcached-on-ubuntu\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Install and Configure Memcached on Ubuntu - GreenCloud Documentation\" \/>\n<meta property=\"og:description\" content=\"Memcached is a free, open-source, and general-purpose distributed memory-caching system used to cache database data. It is a high-performance memory caching system used to speed up dynamic web applications by reducing the database load. Memcached is made from four components that allow the client and the server to work together in order to deliver cached [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/green.cloud\/docs\/how-to-install-and-configure-memcached-on-ubuntu\/\" \/>\n<meta property=\"og:site_name\" content=\"GreenCloud Documentation\" \/>\n<meta property=\"article:modified_time\" content=\"2026-01-19T00:45:46+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/green.cloud\/docs\/wp-content\/uploads\/2024\/09\/Screenshot_1-9.png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/green.cloud\\\/docs\\\/how-to-install-and-configure-memcached-on-ubuntu\\\/\",\"url\":\"https:\\\/\\\/green.cloud\\\/docs\\\/how-to-install-and-configure-memcached-on-ubuntu\\\/\",\"name\":\"How to Install and Configure Memcached on Ubuntu - GreenCloud Documentation\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/green.cloud\\\/docs\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/green.cloud\\\/docs\\\/how-to-install-and-configure-memcached-on-ubuntu\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/green.cloud\\\/docs\\\/how-to-install-and-configure-memcached-on-ubuntu\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/green.cloud\\\/docs\\\/wp-content\\\/uploads\\\/2024\\\/09\\\/Screenshot_1-9.png\",\"datePublished\":\"2024-09-26T02:14:56+00:00\",\"dateModified\":\"2026-01-19T00:45:46+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/green.cloud\\\/docs\\\/how-to-install-and-configure-memcached-on-ubuntu\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/green.cloud\\\/docs\\\/how-to-install-and-configure-memcached-on-ubuntu\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/green.cloud\\\/docs\\\/how-to-install-and-configure-memcached-on-ubuntu\\\/#primaryimage\",\"url\":\"https:\\\/\\\/green.cloud\\\/docs\\\/wp-content\\\/uploads\\\/2024\\\/09\\\/Screenshot_1-9.png\",\"contentUrl\":\"https:\\\/\\\/green.cloud\\\/docs\\\/wp-content\\\/uploads\\\/2024\\\/09\\\/Screenshot_1-9.png\",\"width\":903,\"height\":270},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/green.cloud\\\/docs\\\/how-to-install-and-configure-memcached-on-ubuntu\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/green.cloud\\\/docs\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"GreenCloud Documents\",\"item\":\"https:\\\/\\\/green.cloud\\\/docs\\\/docs\\\/greencloud-documents\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Linux Operating Systems\",\"item\":\"https:\\\/\\\/green.cloud\\\/docs\\\/linux-operating-systems\\\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"How to Install and Configure Memcached on Ubuntu\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/green.cloud\\\/docs\\\/#website\",\"url\":\"https:\\\/\\\/green.cloud\\\/docs\\\/\",\"name\":\"GreenCloud Documentation\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/green.cloud\\\/docs\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Install and Configure Memcached on Ubuntu - GreenCloud Documentation","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/green.cloud\/docs\/how-to-install-and-configure-memcached-on-ubuntu\/","og_locale":"en_US","og_type":"article","og_title":"How to Install and Configure Memcached on Ubuntu - GreenCloud Documentation","og_description":"Memcached is a free, open-source, and general-purpose distributed memory-caching system used to cache database data. It is a high-performance memory caching system used to speed up dynamic web applications by reducing the database load. Memcached is made from four components that allow the client and the server to work together in order to deliver cached [&hellip;]","og_url":"https:\/\/green.cloud\/docs\/how-to-install-and-configure-memcached-on-ubuntu\/","og_site_name":"GreenCloud Documentation","article_modified_time":"2026-01-19T00:45:46+00:00","og_image":[{"url":"https:\/\/green.cloud\/docs\/wp-content\/uploads\/2024\/09\/Screenshot_1-9.png","type":"","width":"","height":""}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/green.cloud\/docs\/how-to-install-and-configure-memcached-on-ubuntu\/","url":"https:\/\/green.cloud\/docs\/how-to-install-and-configure-memcached-on-ubuntu\/","name":"How to Install and Configure Memcached on Ubuntu - GreenCloud Documentation","isPartOf":{"@id":"https:\/\/green.cloud\/docs\/#website"},"primaryImageOfPage":{"@id":"https:\/\/green.cloud\/docs\/how-to-install-and-configure-memcached-on-ubuntu\/#primaryimage"},"image":{"@id":"https:\/\/green.cloud\/docs\/how-to-install-and-configure-memcached-on-ubuntu\/#primaryimage"},"thumbnailUrl":"https:\/\/green.cloud\/docs\/wp-content\/uploads\/2024\/09\/Screenshot_1-9.png","datePublished":"2024-09-26T02:14:56+00:00","dateModified":"2026-01-19T00:45:46+00:00","breadcrumb":{"@id":"https:\/\/green.cloud\/docs\/how-to-install-and-configure-memcached-on-ubuntu\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/green.cloud\/docs\/how-to-install-and-configure-memcached-on-ubuntu\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/green.cloud\/docs\/how-to-install-and-configure-memcached-on-ubuntu\/#primaryimage","url":"https:\/\/green.cloud\/docs\/wp-content\/uploads\/2024\/09\/Screenshot_1-9.png","contentUrl":"https:\/\/green.cloud\/docs\/wp-content\/uploads\/2024\/09\/Screenshot_1-9.png","width":903,"height":270},{"@type":"BreadcrumbList","@id":"https:\/\/green.cloud\/docs\/how-to-install-and-configure-memcached-on-ubuntu\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/green.cloud\/docs\/"},{"@type":"ListItem","position":2,"name":"GreenCloud Documents","item":"https:\/\/green.cloud\/docs\/docs\/greencloud-documents\/"},{"@type":"ListItem","position":3,"name":"Linux Operating Systems","item":"https:\/\/green.cloud\/docs\/linux-operating-systems\/"},{"@type":"ListItem","position":4,"name":"How to Install and Configure Memcached on Ubuntu"}]},{"@type":"WebSite","@id":"https:\/\/green.cloud\/docs\/#website","url":"https:\/\/green.cloud\/docs\/","name":"GreenCloud Documentation","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/green.cloud\/docs\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"}]}},"permalink_manager":null,"_links":{"self":[{"href":"https:\/\/green.cloud\/docs\/wp-json\/wp\/v2\/docs\/32057","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/green.cloud\/docs\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/green.cloud\/docs\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/green.cloud\/docs\/wp-json\/wp\/v2\/users\/15"}],"replies":[{"embeddable":true,"href":"https:\/\/green.cloud\/docs\/wp-json\/wp\/v2\/comments?post=32057"}],"version-history":[{"count":8,"href":"https:\/\/green.cloud\/docs\/wp-json\/wp\/v2\/docs\/32057\/revisions"}],"predecessor-version":[{"id":37783,"href":"https:\/\/green.cloud\/docs\/wp-json\/wp\/v2\/docs\/32057\/revisions\/37783"}],"up":[{"embeddable":true,"href":"https:\/\/green.cloud\/docs\/wp-json\/wp\/v2\/docs\/17817"}],"wp:attachment":[{"href":"https:\/\/green.cloud\/docs\/wp-json\/wp\/v2\/media?parent=32057"}],"wp:term":[{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/green.cloud\/docs\/wp-json\/wp\/v2\/doc_tag?post=32057"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}