Last updated by dormando@rydia.netI have collected Frequently Asked Questions about memcached.
General problems
What is memcached?
Where can I get memcached?
How to install memcached?
Which platforms can run memcached?
Under
First, install the configuration tomcatPre-configuration instructions:
System for CENTOS7
M1.xsllqs.com address is 192.168.1.107
C1.xsllqs.com address is 192.168.1.114
C2.xsllqs.com address is 192.168.1.113
Install tomcat
To prepare the installation package:libevent-2.0.21-stable.tar.gz//memcached Server-side dependency packagesmemcached-1.4.29.tar.gz//memcached Service SideLibmemcached-1.0.18.tar.gz//memcached Extended Dependency PackageMemcached-2.2.0.tgz//php's
Memcach What is Memcache
What is Memcache?
Memcache is a high-performance distributed memory object caching system that can be used to store data in a variety of formats, including images, videos, files, and database retrieval results,
1. Yum Install memcache find memcachedYum Search memcachedThis command can query the Yum Library for memcached installation package information, the following is the search results:Installing memcachedYum-y Install memcachedThis command is used to
Memcached is a high-performance distributed memory object caching system for dynamic Web applications to mitigate database load. It improves the speed of dynamic, database-driven Web sites by caching data and objects in memory to reduce the number
Control node Installation1. Network ConfigurationNeed two cards, two network cards the first card configuration static address, the second is provider interface, configured as follows: # The Provider network interface Auto Interface_name Iface
1,ubuntu under Configuration Memcached2,memcache How to use
1) Install Memcache serversudo apt-get install memcachedAfter installing the Memcache server, we need to start the service:Memcached-d-M 128-p 11111-u RootHere you need to explain the
There are many ways to share the session, for the technical implementation of the Web application cluster, the biggest difficulty is how to maintain the consistency of data between multiple nodes in the cluster, session sessions are the most
Because it's just a development environment, it's all about choosing a simpler apt-get installation, but there's a problem in the middle.
First install Nginx
Nginx installation and configuration is actually very simple, nginx itself is very
I. Installation of memcached
1.windows installation of memcached
You need to download the memcached for Win 32 version of a Web site. I can't find it on the official website of memcached. I looked at, provide win version of the download is a
1. Preparatory work:
A the first to confirm whether the host from the Apache application server and the PHP environment, the General Linux has its own, through the apachectl–v and php–v to view the installation configuration information. If it does
Install Memcache to CentOS (Attach Yum method)
A method of installing Memcache on CentOS is reproduced.
All operations are logged in under SSH with the root account.
My version is CentOS Release 5.3 (Final)Use this command to know your Linux
The server is CENTOS6 64,php5.4.23, and you need to install the PHP memcached extension
Attempt to install using PECL:# yum Install libmemcached libmemcached-devel zlib-devel# yum-y Install Php-pear# pecl Install memcached
But an error occurred:In
Note, after the actual production of the BO main environment test, found that stand-alone memcached is not easy to use.
Memcached is a high-performance distributed memory object caching system. It reduces the number of read databases by caching
Memcached is a high-performance distributed memory cache server. The purpose of the general use is to reduce the number of database visits by caching database query results to improve the speed and scalability of dynamic Web applications.
The
Reference Document: Install TOMCAT7 on CENTOS7Reference Document: NGINX+TOMCAT7 's cluster 1. Environment Preparation and configuration
Server
IP
Operating System
Notes
tomcat-001
192.168.1.215
Linux Advanced Transport Koriyuki memcache Service案例1:构建memcached服务案例2:LNMP+memcached案例3:PHP的本地Session信息案例4:PHP实现session共享Memcache Introduction and Theoretical basis: relational database: MySQL mariadb RDBMS (relational database Management system)
############################################################################################Memcache Server:Issues with traditional Web architectures:--Many Web applications save data to an RDBMS, where the application server reads the data and
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.